|
1 // Copyright (c) 2006-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". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // Implmentation of all test objects required to verify capability check on |
|
15 // ETel3rdParty supplementary functionality part. |
|
16 // |
|
17 // |
|
18 |
|
19 /** |
|
20 @file |
|
21 @internalTechnology |
|
22 */ |
|
23 |
|
24 #include "supplementaryfunctsteps.h" |
|
25 |
|
26 // |
|
27 CGetCallForwardingStatusTestStep::CGetCallForwardingStatusTestStep() |
|
28 : iCallForwardingPckg(iCallForwarding) |
|
29 { |
|
30 } |
|
31 |
|
32 TInt CGetCallForwardingStatusTestStep::IssueRequestL(TRequestStatus& aStatus) |
|
33 { |
|
34 iTelephony->GetCallForwardingStatus(aStatus, |
|
35 CTelephony::ECallForwardingUnconditional, |
|
36 iCallForwardingPckg, |
|
37 CTelephony::EVoiceService); |
|
38 return KErrNone; |
|
39 } |
|
40 |
|
41 TInt CGetCallForwardingStatusTestStep::CancelRequestL() |
|
42 { |
|
43 iTelephony->CancelAsync(CTelephony::EGetCallForwardingStatusCancel); |
|
44 return KErrNone; |
|
45 } |
|
46 |
|
47 // |
|
48 CGetCallBarringStatusTestStep::CGetCallBarringStatusTestStep() |
|
49 :iCallBarringPckg(iCallBarring) |
|
50 { |
|
51 } |
|
52 |
|
53 TInt CGetCallBarringStatusTestStep::IssueRequestL(TRequestStatus& aStatus) |
|
54 { |
|
55 iTelephony->GetCallBarringStatus(aStatus, |
|
56 CTelephony::EBarAllIncoming, |
|
57 iCallBarringPckg, |
|
58 CTelephony::EVoiceService); |
|
59 return KErrNone; |
|
60 } |
|
61 |
|
62 TInt CGetCallBarringStatusTestStep::CancelRequestL() |
|
63 { |
|
64 iTelephony->CancelAsync(CTelephony::EGetCallBarringStatusCancel); |
|
65 return KErrNone; |
|
66 } |
|
67 |
|
68 // |
|
69 CGetCallWaitingStatusTestStep::CGetCallWaitingStatusTestStep() |
|
70 :iCallWaitingPckg(iCallWaiting) |
|
71 { |
|
72 } |
|
73 |
|
74 TInt CGetCallWaitingStatusTestStep::IssueRequestL(TRequestStatus& aStatus) |
|
75 { |
|
76 iTelephony->GetCallWaitingStatus(aStatus, |
|
77 iCallWaitingPckg, |
|
78 CTelephony::EVoiceService); |
|
79 return KErrNone; |
|
80 } |
|
81 |
|
82 TInt CGetCallWaitingStatusTestStep::CancelRequestL() |
|
83 { |
|
84 iTelephony->CancelAsync(CTelephony::EGetCallWaitingStatusCancel); |
|
85 return KErrNone; |
|
86 } |
|
87 |
|
88 // |
|
89 CGetIdentityServiceTestStep::CGetIdentityServiceTestStep() |
|
90 :iIdentityServicePckg(iIdentityService) |
|
91 { |
|
92 } |
|
93 |
|
94 TInt CGetIdentityServiceTestStep::IssueRequestL(TRequestStatus& aStatus) |
|
95 { |
|
96 iTelephony->GetIdentityServiceStatus(aStatus, |
|
97 CTelephony::EIdServiceCallerPresentation, |
|
98 iIdentityServicePckg); |
|
99 return KErrNone; |
|
100 } |
|
101 |
|
102 TInt CGetIdentityServiceTestStep::CancelRequestL() |
|
103 { |
|
104 iTelephony->CancelAsync(CTelephony::EGetIdentityServiceStatusCancel); |
|
105 return KErrNone; |
|
106 } |
|
107 |
|
108 // |