os/mm/mmlibs/mmfw/tsrc/mmfintegrationtest/DSCapTestServer/DevSoundServerTestStep.cpp
Update contrib.
1 // Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
2 // All rights reserved.
3 // This component and the accompanying materials are made available
4 // under the terms of "Eclipse Public License v1.0"
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
17 #include <mmf/plugin/mmfhwdeviceimplementationuids.hrh>
18 #include "DevSoundServerTestStep.h"
19 #include <e32msgqueue.h>
22 CSDevSoundTestStep1* CSDevSoundTestStep1::NewL()
24 CSDevSoundTestStep1* self = new (ELeave) CSDevSoundTestStep1;
25 CleanupStack::PushL(self);
31 void CSDevSoundTestStep1::ConstructL()
35 void CSDevSoundTestStep1::InitializeComplete (TInt aError)
37 iCallbackArray[EInitComplete] ++;
38 iCallbackError = aError;
42 void CSDevSoundTestStep1::ToneFinished (TInt aError)
44 User::RequestComplete(iStatus, KErrNone);
45 iCallbackArray[EToneFinished] ++;
46 iCallbackError = aError;
47 CActiveScheduler::Stop();
50 void CSDevSoundTestStep1::BufferToBeFilled (CMMFBuffer* /*aBuffer*/)
53 void CSDevSoundTestStep1::PlayError (TInt /*aError*/)
56 void CSDevSoundTestStep1::BufferToBeEmptied (CMMFBuffer* /*aBuffer*/)
59 void CSDevSoundTestStep1::RecordError (TInt /*aError*/)
62 void CSDevSoundTestStep1::ConvertError (TInt /*aError*/)
65 void CSDevSoundTestStep1::DeviceMessage (TUid, const TDesC8& /*aMsg*/)
69 void CSDevSoundTestStep1::StartProcessing(TRequestStatus& /*aStatus*/)
71 //Method implimentaion has been removed as per the part of DEF139262
74 TVerdict CSDevSoundTestStep1::EndProcessingAndReturnResult(TDes8& aMessage)
76 aMessage.Copy(_L("Done"));
80 CSDevSoundTestStep1::~CSDevSoundTestStep1()