|
1 // Copyright (c) 2003-2010 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". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 |
|
17 #include "DevSoundServerTestStep.h" |
|
18 #include <e32msgqueue.h> |
|
19 |
|
20 |
|
21 CSDevSoundTestStep1* CSDevSoundTestStep1::NewL() |
|
22 { |
|
23 CSDevSoundTestStep1* self = new (ELeave) CSDevSoundTestStep1; |
|
24 CleanupStack::PushL(self); |
|
25 self->ConstructL(); |
|
26 CleanupStack::Pop(); |
|
27 return self; |
|
28 } |
|
29 |
|
30 void CSDevSoundTestStep1::ConstructL() |
|
31 {} |
|
32 |
|
33 |
|
34 void CSDevSoundTestStep1::InitializeComplete (TInt aError) |
|
35 { |
|
36 iCallbackArray[EInitComplete] ++; |
|
37 iCallbackError = aError; |
|
38 } |
|
39 |
|
40 |
|
41 void CSDevSoundTestStep1::ToneFinished (TInt aError) |
|
42 { |
|
43 User::RequestComplete(iStatus, KErrNone); |
|
44 iCallbackArray[EToneFinished] ++; |
|
45 iCallbackError = aError; |
|
46 CActiveScheduler::Stop(); |
|
47 } |
|
48 |
|
49 void CSDevSoundTestStep1::BufferToBeFilled (CMMFBuffer* /*aBuffer*/) |
|
50 {} |
|
51 |
|
52 void CSDevSoundTestStep1::PlayError (TInt /*aError*/) |
|
53 {} |
|
54 |
|
55 void CSDevSoundTestStep1::BufferToBeEmptied (CMMFBuffer* /*aBuffer*/) |
|
56 {} |
|
57 |
|
58 void CSDevSoundTestStep1::RecordError (TInt /*aError*/) |
|
59 {} |
|
60 |
|
61 void CSDevSoundTestStep1::ConvertError (TInt /*aError*/) |
|
62 {} |
|
63 |
|
64 void CSDevSoundTestStep1::DeviceMessage (TUid, const TDesC8& /*aMsg*/) |
|
65 {} |
|
66 |
|
67 |
|
68 void CSDevSoundTestStep1::StartProcessing(TRequestStatus& /*aStatus*/) |
|
69 { |
|
70 //Method implimentaion has been removed as per the part of DEF139262 |
|
71 } |
|
72 |
|
73 TVerdict CSDevSoundTestStep1::EndProcessingAndReturnResult(TDes8& aMessage) |
|
74 { |
|
75 aMessage.Copy(_L("Done")); |
|
76 return EPass; |
|
77 } |
|
78 |
|
79 CSDevSoundTestStep1::~CSDevSoundTestStep1() |
|
80 {} |
|
81 |
|
82 |