author | Tom Pritchard <tomp@symbian.org> |
Tue, 27 Jul 2010 16:01:31 +0100 | |
branch | AT_Test_LTSY |
changeset 55 | 2a8729f72b74 |
parent 1 | 4047d69ee0e4 |
permissions | -rw-r--r-- |
1
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1 |
// Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
2 |
// All rights reserved. |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
3 |
// This component and the accompanying materials are made available |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
4 |
// under the terms of "Eclipse Public License v1.0" |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
5 |
// which accompanies this distribution, and is available |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
6 |
// at the URL "http://www.eclipse.org/legal/epl-v10.html". |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
7 |
// |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
8 |
// Initial Contributors: |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
9 |
// Nokia Corporation - initial contribution. |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
10 |
// |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
11 |
// Contributors: |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
12 |
// |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
13 |
// Description: |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
14 |
// CLtsyPhonebookEnHandler |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
15 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
16 |
#include <ctsy/ltsy/cctsydispatchercallback.h> |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
17 |
#include <mmtsy_ipcdefs.h> |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
18 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
19 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
20 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
21 |
#include "cltsyphonebookenhandler.h" |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
22 |
#include <ctsy/ltsy/ltsylogger.h> |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
23 |
#include "ltsymacros.h" |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
24 |
#include "globalphonemanager.h" |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
25 |
#include "atphbkengetinfo.h" |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
26 |
#include "atphbkenread.h" |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
27 |
#include "atphbkenreadall.h" |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
28 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
29 |
CLtsyPhonebookEnHandler::CLtsyPhonebookEnHandler( |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
30 |
CCtsyDispatcherCallback& aCtsyDispatcherCallback,CGlobalPhonemanager* aGloblePhone) |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
31 |
:iCtsyDispatcherCallback(aCtsyDispatcherCallback),iGloblePhone(aGloblePhone) |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
32 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
33 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
34 |
} |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
35 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
36 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
37 |
CLtsyPhonebookEnHandler::~CLtsyPhonebookEnHandler() |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
38 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
39 |
} |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
40 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
41 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
42 |
CLtsyPhonebookEnHandler* CLtsyPhonebookEnHandler::NewLC( |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
43 |
CCtsyDispatcherCallback& aCtsyDispatcherCallback,CGlobalPhonemanager* aGloblePhone) |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
44 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
45 |
TSYLOGENTRYEXIT; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
46 |
CLtsyPhonebookEnHandler* self = new (ELeave) CLtsyPhonebookEnHandler(aCtsyDispatcherCallback,aGloblePhone); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
47 |
CleanupStack::PushL(self); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
48 |
self->ConstructL(); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
49 |
return self; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
50 |
} |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
51 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
52 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
53 |
CLtsyPhonebookEnHandler* CLtsyPhonebookEnHandler::NewL(CCtsyDispatcherCallback& aCtsyDispatcherCallback,CGlobalPhonemanager* aGloblePhone) |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
54 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
55 |
TSYLOGENTRYEXIT; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
56 |
CLtsyPhonebookEnHandler* self= |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
57 |
CLtsyPhonebookEnHandler::NewLC(aCtsyDispatcherCallback,aGloblePhone); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
58 |
CleanupStack::Pop(self); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
59 |
return self; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
60 |
} |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
61 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
62 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
63 |
void CLtsyPhonebookEnHandler::ConstructL() |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
64 |
/** |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
65 |
* Second phase constructor. |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
66 |
*/ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
67 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
68 |
TSYLOGENTRYEXIT; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
69 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
70 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
71 |
} // CLtsyPhonebookEnHandler::ConstructL |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
72 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
73 |
TBool CLtsyPhonebookEnHandler::IsInterfaceSupported(TLtsyDispatchInterfaceApiId aDispatchApiId) |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
74 |
/** |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
75 |
* Returns whether a Dispatch Interface APi is supported or not. |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
76 |
* |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
77 |
* @param aDispatchApiId Id of Dispatch interface being queried |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
78 |
* @return indication whether interface is supported or not |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
79 |
*/ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
80 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
81 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
82 |
switch(aDispatchApiId) |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
83 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
84 |
// Insert ApiIds when support is provided in LTSY e.g. |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
85 |
// case MLtsyDispatchPhoneBootNotifySimStatusReady::KLtsyDispatchPhoneBootNotifySimStatusReadyApiId: return ETrue; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
86 |
case KLtsyDispatchPhonebookEnStoreGetInfoApiId: |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
87 |
return ETrue; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
88 |
case KLtsyDispatchPhonebookEnStoreReadAllApiId: |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
89 |
return ETrue; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
90 |
case KLtsyDispatchPhonebookEnStoreReadEntryApiId: |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
91 |
return ETrue; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
92 |
default: |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
93 |
return EFalse; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
94 |
} |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
95 |
} |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
96 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
97 |
void CLtsyPhonebookEnHandler::IsCallbackIndicatorSupported(TLtsyDispatchIndIdGroup /*aIdGroup*/, TUint32& /*aIndIdBitMask*/) |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
98 |
/** |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
99 |
* Returns the set of callback indicators that are supported. |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
100 |
* |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
101 |
* @param aIdGroup ID of group that is being queried e.g. aIdGroup=EIndIdGroup1 |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
102 |
* @param aIndIdBitMask [out] argument that should return a bitmask indicating which indicator callbacks are supported. |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
103 |
*/ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
104 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
105 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
106 |
//Create bitmask with bitset for each indicator ID that is supported. E.g. |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
107 |
/* |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
108 |
if(aIdGroup == EIndIdGroup1) |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
109 |
aIndIdBitMask = KLtsyDispatchPhoneNotifyNetworkModeChangeIndId | |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
110 |
KLtsyDispatchPhoneNotifyEgprsInfoChangeIndId | |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
111 |
KLtsyDispatchPhoneNotifySignalStrengthChangeIndId; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
112 |
else |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
113 |
aIndIdBitMask = 0; //no indicators from other groups supported |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
114 |
*/ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
115 |
} |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
116 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
117 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
118 |
TInt CLtsyPhonebookEnHandler::HandleStoreGetInfoReqL() |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
119 |
/** |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
120 |
* This request is completed by invoking |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
121 |
* CCtsyDispatcherCallback::CallbackPhonebookEnStoreGetInfoComp() |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
122 |
* |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
123 |
* @return KErrNone on success, KErrNotSupported if this request is not supported, |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
124 |
* or another error code to indicate the failure otherwise. |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
125 |
*/ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
126 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
127 |
TSYLOGENTRYEXIT; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
128 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
129 |
TInt ret = iGloblePhone->CheckGlobalPhoneStatus(); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
130 |
if( KErrNone == ret ) |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
131 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
132 |
CAtPhbkEnGetInfo* atPhbkEnGetInfo = CAtPhbkEnGetInfo::NewL(*iGloblePhone,iCtsyDispatcherCallback); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
133 |
//Setting Port active |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
134 |
iGloblePhone->iEventSignalActive = ETrue; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
135 |
iGloblePhone->SetActiveRequest(atPhbkEnGetInfo); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
136 |
atPhbkEnGetInfo->StartRequest(); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
137 |
} |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
138 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
139 |
return TSYLOGSETEXITERR(ret); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
140 |
} // CLtsyPhonebookEnHandler::HandleStoreGetInfoReqL |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
141 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
142 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
143 |
TInt CLtsyPhonebookEnHandler::HandleStoreReadAllReqL() |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
144 |
/** |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
145 |
* This request is completed by invoking |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
146 |
* CCtsyDispatcherCallback::CallbackPhonebookEnStoreReadAllComp() |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
147 |
* |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
148 |
* @return KErrNone on success, KErrNotSupported if this request is not supported, |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
149 |
* or another error code to indicate the failure otherwise. |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
150 |
*/ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
151 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
152 |
TSYLOGENTRYEXIT; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
153 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
154 |
TInt ret = iGloblePhone->CheckGlobalPhoneStatus(); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
155 |
if( KErrNone == ret ) |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
156 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
157 |
CAtPhbkEnReadAll* atPhbkEnReadAll = CAtPhbkEnReadAll::NewL(*iGloblePhone,iCtsyDispatcherCallback); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
158 |
//Setting Port active |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
159 |
iGloblePhone->iEventSignalActive = ETrue; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
160 |
iGloblePhone->SetActiveRequest(atPhbkEnReadAll); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
161 |
atPhbkEnReadAll->StartRequest(); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
162 |
} |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
163 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
164 |
return TSYLOGSETEXITERR(ret); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
165 |
} // CLtsyPhonebookEnHandler::HandleStoreReadAllReqL |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
166 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
167 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
168 |
TInt CLtsyPhonebookEnHandler::HandleStoreReadEntryReqL(TInt aIndex) |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
169 |
/** |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
170 |
* This request is completed by invoking |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
171 |
* CCtsyDispatcherCallback::CallbackPhonebookEnStoreReadEntryComp() |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
172 |
* |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
173 |
* @param aIndex index of the EN entry. |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
174 |
* |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
175 |
* @return KErrNone on success, KErrNotSupported if this request is not supported, |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
176 |
* or another error code to indicate the failure otherwise. |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
177 |
*/ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
178 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
179 |
TSYLOGENTRYEXIT; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
180 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
181 |
TInt ret = iGloblePhone->CheckGlobalPhoneStatus(); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
182 |
if( KErrNone == ret ) |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
183 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
184 |
CAtPhbkEnRead* atPhbkEnRead = CAtPhbkEnRead::NewL(*iGloblePhone,iCtsyDispatcherCallback); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
185 |
//Setting Port active |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
186 |
iGloblePhone->iEventSignalActive = ETrue; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
187 |
iGloblePhone->SetActiveRequest(atPhbkEnRead); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
188 |
atPhbkEnRead->SetIndex(aIndex); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
189 |
atPhbkEnRead->StartRequest(); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
190 |
} |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
191 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
192 |
return TSYLOGSETEXITERR(ret); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
193 |
} // CLtsyPhonebookEnHandler::HandleStoreReadEntryReqL |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
194 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
195 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
196 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
197 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
198 |