1 /* |
|
2 * Copyright (c) 2002-2008 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of the License "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: Specifick class for NWE tests |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 #ifndef NWE_H |
|
22 #define NWE_H |
|
23 |
|
24 // INCLUDES |
|
25 #include "core.h" |
|
26 |
|
27 #include <stiflogger.h> |
|
28 #include <testscripterinternal.h> |
|
29 #include <stiftestmodule.h> |
|
30 #include <ctsy/rmmcustomapi.h> |
|
31 |
|
32 #if ( NCP_COMMON_S60_VERSION_SUPPORT == S60_VERSION_32 ) |
|
33 #include <mmmmesshandlerbase.h> |
|
34 #endif |
|
35 |
|
36 |
|
37 // CONSTANTS |
|
38 |
|
39 |
|
40 // MACROS |
|
41 // Logging path |
|
42 _LIT( KNWELogPath, "\\logs\\testframework\\NWE\\" ); |
|
43 // Log file |
|
44 _LIT( KNWELogFile, "NWE.txt" ); |
|
45 |
|
46 _LIT(KIscControlTestCaseFileNWE, "nokiatsy_nwe.xml"); |
|
47 |
|
48 // FORWARD DECLARATIONS |
|
49 class TDataPackage; |
|
50 class CMmDataPackage; |
|
51 class CMessageRouterBase; |
|
52 class CCore; |
|
53 class CNWE; |
|
54 |
|
55 |
|
56 // CLASS DECLARATIONS |
|
57 |
|
58 // Used for saving the enhanced cell information. |
|
59 class TECIDInfo |
|
60 { |
|
61 public: // data |
|
62 RMmCustomAPI::TMmCellInfo iCellInfo; // Cell Information |
|
63 TUint iMCC; // Mobile Country Code |
|
64 TUint iMNC; // Mobile Network Code |
|
65 TUint iCID; // Cell identity |
|
66 TUint iLAC; // Location area code |
|
67 }; |
|
68 |
|
69 class CNWE : public CCore |
|
70 { |
|
71 public: // Constructors and destructor |
|
72 |
|
73 /** |
|
74 * Two-phased constructor. |
|
75 */ |
|
76 static CNWE* NewL( CTestModuleIf& aTestModuleIf ); |
|
77 |
|
78 /** |
|
79 * Destructor. |
|
80 */ |
|
81 virtual ~CNWE(); |
|
82 |
|
83 public: // New functions |
|
84 |
|
85 public: // Functions from base classes |
|
86 |
|
87 /** |
|
88 * From CScriptBase Runs a script line. |
|
89 * @since Series60_ver 2.8 |
|
90 * @param aItem Script line containing method name and parameters |
|
91 * @return Symbian OS error code |
|
92 */ |
|
93 virtual TInt RunMethodL( CStifItemParser& aItem ); |
|
94 |
|
95 /** |
|
96 * Completes a request or notification via the specific Tsy object, |
|
97 * based on IPC number and data package |
|
98 * @since Series60_ver 2.8 |
|
99 * @param aIpc: IPC number |
|
100 * aDataPackage: Data package |
|
101 * aResult: result |
|
102 * @return None |
|
103 */ |
|
104 IMPORT_C virtual void RouteCompletion( TInt aIpc, |
|
105 CMmDataPackage* aDataPackage, TInt aResult ); |
|
106 |
|
107 /** |
|
108 * Completes a request or a notification with no data |
|
109 * @since Series60_ver 2.8 |
|
110 * @param aNotifyList reference to enum indicating specified notify |
|
111 * @return None |
|
112 */ |
|
113 virtual void NotifyNWE( TNotifyList& aNotifyList ); |
|
114 |
|
115 |
|
116 protected: // New functions |
|
117 |
|
118 /** |
|
119 * Sets NetworkSelectionSetting |
|
120 * @since Series60_ver 2.8 |
|
121 * @param aItem Script line containing method name and parameters |
|
122 * @return Symbian OS error code. |
|
123 */ |
|
124 TInt SetNetworkSelectionSettingL( CStifItemParser& aItem ); |
|
125 |
|
126 /** |
|
127 * Complete SetNetworkSelectionSetting |
|
128 * @since Series60_ver 2.8 |
|
129 * @param aResult |
|
130 * @return None |
|
131 */ |
|
132 void CompleteSetNetworkSelectionSetting( TInt aResult ); |
|
133 |
|
134 /** |
|
135 * Get HomeNetwork |
|
136 * @since Series60_ver 2.8 |
|
137 * @return Symbian OS error code. |
|
138 */ |
|
139 TInt GetHomeNetworkL( CStifItemParser& aItem ); |
|
140 |
|
141 /** |
|
142 * Complete Get HomeNetwork |
|
143 * @since Series60_ver 2.8 |
|
144 * @param aResult |
|
145 * aDataPackage |
|
146 * @return none. |
|
147 */ |
|
148 void CompleteGetHomeNetwork( TInt aResult, |
|
149 CMmDataPackage* aDataPackage ); |
|
150 |
|
151 /** |
|
152 * Get NetworkRegistrationStatus |
|
153 * @since Series60_ver 2.8 |
|
154 * @return Symbian OS error code. |
|
155 */ |
|
156 TInt GetNetworkRegistrationStatusL( CStifItemParser& aItem ); |
|
157 |
|
158 /** |
|
159 * Complete GetNetworkRegistrationStatus |
|
160 * @since Series60_ver 2.8 |
|
161 * @param aResult |
|
162 * @return none. |
|
163 */ |
|
164 void CompleteGetNetworkRegistrationStatus( TInt aResult ); |
|
165 |
|
166 /** |
|
167 * NotifyNWRegStatusChangeCompareParameterSetting |
|
168 * @since Series60_ver 2.8 |
|
169 * @return Symbian OS error code. |
|
170 */ |
|
171 TInt NotifyNWRegStatusChangeCompareParameterSettingL( CStifItemParser& aItem ); |
|
172 |
|
173 /** |
|
174 * Notify NetworkRegistrationStatusChange |
|
175 * @since Series60_ver 2.8 |
|
176 * @param aResult |
|
177 * aDataPackage |
|
178 * @return none. |
|
179 */ |
|
180 void NotifyNetworkRegistrationStatusChange( TInt aResult, |
|
181 CMmDataPackage* aDataPackage); |
|
182 |
|
183 /** |
|
184 * NotifyNetworkSelectionSettingChangeCompareParameterSetting |
|
185 * @since Series60_ver 2.8 |
|
186 * @return Symbian OS error code. |
|
187 */ |
|
188 TInt NotifyNetworkSelectionSettingChangeCompareParameterSettingL( CStifItemParser& aItem ); |
|
189 |
|
190 /** |
|
191 * Notify NetworkSelectionSettingChange |
|
192 * @since Series60_ver 2.8 |
|
193 * @param aResult |
|
194 * aDataPackage |
|
195 * @return none. |
|
196 */ |
|
197 void NotifyNetworkSelectionSettingChange( TInt aResult, |
|
198 CMmDataPackage* aDataPackage); |
|
199 |
|
200 /** |
|
201 * NotifyCurrentNetworkChangeCompareParameterSetting |
|
202 * @since Series60_ver 2.8 |
|
203 * @return Symbian OS error code. |
|
204 */ |
|
205 TInt NotifyCurrentNetworkChangeCompareParameterSettingL( CStifItemParser& aItem ); |
|
206 |
|
207 /** |
|
208 * Notify CurrentNetworkChange |
|
209 * @since Series60_ver 2.8 |
|
210 * @param aResult |
|
211 * aDataPackage |
|
212 * @return none. |
|
213 */ |
|
214 void NotifyCurrentNetworkChange( TInt aResult, |
|
215 CMmDataPackage* aDataPackage); |
|
216 |
|
217 /** |
|
218 * Notify ModeChange |
|
219 * @since Series60_ver 2.8 |
|
220 * @param aResult |
|
221 * aDataPackage |
|
222 * @return none. |
|
223 */ |
|
224 void NotifyModeChange( TInt aResult, |
|
225 CMmDataPackage* aDataPackage); |
|
226 |
|
227 /** |
|
228 * Get CipheringIndicatorStatus |
|
229 * EMobilePhoneGetCipheringIndicatorStatus |
|
230 */ |
|
231 TInt GetCipheringIndicatorStatusL( CStifItemParser& aItem ); |
|
232 |
|
233 /** |
|
234 * Complete Get CipheringIndicatorStatus |
|
235 * EMobilePhoneGetCipheringIndicatorStatus |
|
236 */ |
|
237 void CompleteGetCipheringIndicatorStatus( TInt aResult, |
|
238 CMmDataPackage* aDataPackage ); |
|
239 |
|
240 /** |
|
241 * Custom Get CipheringInfo |
|
242 * ECustomGetCipheringInfoIPC |
|
243 */ |
|
244 TInt CustomGetCipheringInfoL( CStifItemParser& aItem ); |
|
245 |
|
246 /** |
|
247 * Complete Custom Get CipheringInfo |
|
248 * ECustomGetCipheringInfoIPC |
|
249 */ |
|
250 void CompleteCustomGetCipheringInfo( TInt aResult, |
|
251 CMmDataPackage* aDataPackage ); |
|
252 |
|
253 /** |
|
254 * Custom NetWakeup |
|
255 * ECustomNetWakeupIPC |
|
256 */ |
|
257 TInt CustomNetWakeupL( CStifItemParser& aItem ); |
|
258 |
|
259 /** |
|
260 * Complete Custom NetWakeup |
|
261 * ECustomNetWakeupIPC |
|
262 */ |
|
263 void CompleteCustomNetWakeup( TInt aResult ); |
|
264 |
|
265 /** |
|
266 * Custom Get OperatorName |
|
267 * ECustomGetOperatorNameIPC |
|
268 */ |
|
269 TInt CustomGetOperatorNameL( CStifItemParser& aItem ); |
|
270 |
|
271 /** |
|
272 * Complete Custom Get OperatorName |
|
273 * ECustomGetOperatorNameIPC |
|
274 */ |
|
275 void CompleteCustomGetOperatorName( TInt aResult, |
|
276 CMmDataPackage* aDataPackage ); |
|
277 |
|
278 /** |
|
279 * Custom ResetNetworkRegistrationStatus |
|
280 * ECustomResetNetServerIPC |
|
281 */ |
|
282 TInt CustomResetNetworkRegistrationStatusL( CStifItemParser& aItem ); |
|
283 |
|
284 /** |
|
285 * Complete Custom ResetNetworkRegistrationStatus |
|
286 * ECustomResetNetServerIPC |
|
287 */ |
|
288 void CompleteCustomResetNetworkRegistrationStatus( TInt aResult ); |
|
289 |
|
290 /** |
|
291 * Custom Get SystemNetworkModes |
|
292 * ECustomGetSystemNetworkModesIPC |
|
293 */ |
|
294 TInt CustomGetSystemNetworkModesL( CStifItemParser& aItem ); |
|
295 |
|
296 /** |
|
297 * Complete Custom Get SystemNetworkModes |
|
298 * ECustomGetSystemNetworkModesIPC |
|
299 */ |
|
300 void CompleteCustomGetSystemNetworkModes( TInt aResult, |
|
301 CMmDataPackage* aDataPackage ); |
|
302 |
|
303 /** |
|
304 * Custom Set SystemNetworkMode |
|
305 * ECustomSetSystemNetworkModeIPC |
|
306 */ |
|
307 TInt CustomSetSystemNetworkModeL( CStifItemParser& aItem ); |
|
308 |
|
309 /** |
|
310 * Complete Custom Set SystemNetworkMode |
|
311 * ECustomSetSystemNetworkModeIPC |
|
312 */ |
|
313 void CompleteCustomSetSystemNetworkMode( TInt aResult ); |
|
314 |
|
315 /** |
|
316 * Custom Get Current SystemNetworkModes |
|
317 * ECustomGetCurrentSystemNetworkModesIPC |
|
318 */ |
|
319 TInt CustomGetCurrentSystemNetworkModesL( CStifItemParser& aItem ); |
|
320 |
|
321 /** |
|
322 * Complete Custom Get Current SystemNetworkModes |
|
323 * ECustomGetCurrentSystemNetworkModesIPC |
|
324 */ |
|
325 void CompleteCustomGetCurrentSystemNetworkModes( TInt aResult, |
|
326 CMmDataPackage* aDataPackage ); |
|
327 |
|
328 /** |
|
329 * NotifySignalStrengthChange |
|
330 * EMobilePhoneNotifySignalStrengthChange |
|
331 */ |
|
332 void NotifySignalStrengthChange( TInt aResult, |
|
333 CMmDataPackage* aDataPackage); |
|
334 |
|
335 /** |
|
336 * NotifyNITZInfoChange |
|
337 * EMobilePhoneNotifyNITZInfoChange |
|
338 */ |
|
339 void NotifyNITZInfoChange( TInt aResult, |
|
340 CMmDataPackage* aDataPackage); |
|
341 |
|
342 /** |
|
343 * NotifyNetworkSecurityLevelChange |
|
344 * EMobilePhoneNotifyNetworkSecurityLevelChange |
|
345 */ |
|
346 void NotifyNetworkSecurityLevelChange( TInt aResult, |
|
347 CMmDataPackage* aDataPackage); |
|
348 |
|
349 /** |
|
350 * Manual Network Search |
|
351 * EMobilePhoneGetDetectedNetworksV2Phase1 |
|
352 */ |
|
353 TInt ManualNetworkSearchL( CStifItemParser& aItem ); |
|
354 |
|
355 /** |
|
356 * Complete Manual Network Search |
|
357 * EMobilePhoneGetDetectedNetworksV2Phase1 |
|
358 */ |
|
359 void CompleteManualNetworkSearch( TInt aResult, |
|
360 CMmDataPackage* aDataPackage ); |
|
361 |
|
362 /** |
|
363 * Manual Network Search Cancel |
|
364 * EMobilePhoneGetDetectedNetworksCancel |
|
365 */ |
|
366 TInt ManualNetworkSearchCancelL( CStifItemParser& aItem ); |
|
367 |
|
368 /** |
|
369 * Complete Manual Network Search Cancel |
|
370 * EMobilePhoneGetDetectedNetworksCancel |
|
371 */ |
|
372 void CompleteManualNetworkSearchCancel( TInt aResult ); |
|
373 |
|
374 /** |
|
375 * Manual Network Selection |
|
376 * EMobilePhoneSelectNetwork |
|
377 */ |
|
378 TInt ManualNetworkSelectionL( CStifItemParser& aItem ); |
|
379 |
|
380 /** |
|
381 * Complete Manual Network Selection |
|
382 * EMobilePhoneSelectNetwork |
|
383 */ |
|
384 void CompleteManualNetworkSelection( TInt aResult ); |
|
385 |
|
386 /** |
|
387 * Manual Network Selection Cancel |
|
388 * EMobilePhoneSelectNetworkCancel |
|
389 */ |
|
390 TInt ManualNetworkSelectionCancelL( CStifItemParser& aItem ); |
|
391 |
|
392 /** |
|
393 * Complete Manual Network Selection Cancel |
|
394 * EMobilePhoneSelectNetworkCancel |
|
395 */ |
|
396 void CompleteManualNetworkSelectionCancel( TInt aResult ); |
|
397 |
|
398 /** |
|
399 * Notify Network Connection Failure |
|
400 * @since Series60_ver 3.0 |
|
401 * @param aItem Script line containing method name and parameters |
|
402 * @return Symbian OS error code. |
|
403 */ |
|
404 TInt NotifyNetworkConnectionFailure( CStifItemParser& aItem ); |
|
405 |
|
406 /** |
|
407 * Complete NotifyNetworkConnectionFailure |
|
408 * @since Series60_ver 3.0 |
|
409 * @param aResult |
|
410 * @return None |
|
411 */ |
|
412 void CompleteNotifyNetworkConnectionFailure( TInt aResult ); |
|
413 |
|
414 /** |
|
415 * Get Network Info |
|
416 * @since Series60_ver 3.0 |
|
417 * @param aItem Script line containing method name and parameters |
|
418 * @return Symbian OS error code. |
|
419 */ |
|
420 TInt GetNetworkInfo( CStifItemParser& aItem ); |
|
421 |
|
422 /** |
|
423 * Set Network Info |
|
424 * @since Series60_ver 3.0 |
|
425 * @param aResult |
|
426 * @return None |
|
427 */ |
|
428 void SetNetworkInfo( TInt aResult, CMmDataPackage* aDataPackage, |
|
429 TInt completedIpc ); |
|
430 |
|
431 /** |
|
432 * Wait For Call Status Change |
|
433 * @since Series60_ver 3.0 |
|
434 * @param aItem Script line containing method name and parameters |
|
435 * @return Symbian OS error code. |
|
436 */ |
|
437 TInt WaitForCallStatusChange( CStifItemParser& aItem ); |
|
438 |
|
439 /** |
|
440 * Complete CallStatusChange |
|
441 * @since Series60_ver 3.0 |
|
442 * @param aResult |
|
443 * @return None |
|
444 */ |
|
445 void CompleteCallStatusChange( TInt aResult, CMmDataPackage* aDataPackage ); |
|
446 |
|
447 /** |
|
448 * Gets the cell info |
|
449 * @since Series60_ver 5.0 |
|
450 * @param aItem Script line containing method name and parameters |
|
451 * @return Symbian OS error code. |
|
452 */ |
|
453 TInt GetCellInfo( CStifItemParser& aItem ); |
|
454 |
|
455 /** |
|
456 * Complete GetCellInfo |
|
457 * @since Series60_ver 5.0 |
|
458 * @param aResult |
|
459 * @param aDataPackage Data package containing cell info |
|
460 * @return None |
|
461 */ |
|
462 void CompleteGetCellInfo( TInt aResult, CMmDataPackage* aDataPackage ); |
|
463 |
|
464 // not suppoted for S60 ver 3.2 |
|
465 #if ( NCP_COMMON_S60_VERSION_SUPPORT != S60_VERSION_32 ) |
|
466 |
|
467 /** |
|
468 * Set Band Selection |
|
469 * ECustomSetBandSelectionIPC |
|
470 * @since Series60_ver 5.0 |
|
471 */ |
|
472 TInt CustomSetBandSelectionL( CStifItemParser& aItem ); |
|
473 |
|
474 /** |
|
475 * Complete Set Band Selection |
|
476 * ECustomSetBandSelectionIPC |
|
477 * @since Series60_ver 5.0 |
|
478 */ |
|
479 void CompleteCustomSetBandSelection( TInt aResult ); |
|
480 |
|
481 /** |
|
482 * Get Band Selection |
|
483 * ECustomGetBandSelectionIPC |
|
484 * @since Series60_ver 5.0 |
|
485 */ |
|
486 TInt CustomGetBandSelectionL( CStifItemParser& aItem ); |
|
487 |
|
488 /** |
|
489 * Complete Get Band Selection |
|
490 * ECustomGetBandSelectionIPC |
|
491 * @since Series60_ver 5.0 |
|
492 */ |
|
493 void CompleteCustomGetBandSelection( |
|
494 TInt aResult, |
|
495 CMmDataPackage* aDataPackage ); |
|
496 |
|
497 #endif //NCP_COMMON_S60_VERSION_SUPPORT |
|
498 |
|
499 /** |
|
500 * NotifyPrivacyConfirmation |
|
501 * EMobileCallNotifyPrivacyConfirmation |
|
502 */ |
|
503 void NotifyPrivacyConfirmation( TInt aResult, |
|
504 CMmDataPackage* aDataPackage); |
|
505 |
|
506 /** |
|
507 * NotifyCipheringInfoChangeIPC |
|
508 * ECustomNotifyCipheringInfoChangeIPC |
|
509 */ |
|
510 void NotifyCipheringInfoChangeIPC( TInt aResult, |
|
511 CMmDataPackage* aDataPackage); |
|
512 |
|
513 /** |
|
514 * NotifyNSPSStatusIPC |
|
515 * ECustomNotifyNSPSStatusIPC |
|
516 */ |
|
517 void NotifyNSPSStatusIPC( TInt aResult, |
|
518 CMmDataPackage* aDataPackage); |
|
519 |
|
520 /** |
|
521 * SetShortAndLongOperName |
|
522 * Short and Long operator comparison names can be set using this |
|
523 * method, because if operator name is set e.g. in CustomGetOperatorName |
|
524 * that method sets all comparison strings the same (tag, short name and |
|
525 * long name). With this method those can be overridden. |
|
526 */ |
|
527 TInt SetShortAndLongOperNameL( CStifItemParser& aItem ); |
|
528 |
|
529 protected: // Functions from base classes |
|
530 |
|
531 |
|
532 private: |
|
533 |
|
534 /** |
|
535 * C++ default constructor. |
|
536 */ |
|
537 CNWE( CTestModuleIf& aTestModuleIf ); |
|
538 |
|
539 /** |
|
540 * By default Symbian 2nd phase constructor is private. |
|
541 */ |
|
542 void ConstructL(); |
|
543 |
|
544 /** |
|
545 * Frees all resources allocated from test methods. |
|
546 * @since Series60_ver 2.8 |
|
547 */ |
|
548 void Delete(); |
|
549 |
|
550 /** |
|
551 * Test methods are listed below. |
|
552 */ |
|
553 |
|
554 /** |
|
555 * Prints current network info |
|
556 * @since Series60_ver 2.8 |
|
557 * @param aNetworkInfo |
|
558 * @return Symbian OS error code. |
|
559 */ |
|
560 void PrintCurrentNetworkInfo( |
|
561 RMobilePhone::TMobilePhoneNetworkInfoV5 aNetworkInfo ); |
|
562 |
|
563 |
|
564 public: // Data |
|
565 |
|
566 protected: // Data |
|
567 |
|
568 private: // Data |
|
569 |
|
570 /** |
|
571 * Pointer to logger |
|
572 */ |
|
573 TBuf<100> iSavedDisplayTagForComparison[4]; |
|
574 TBuf<100> iSavedShortNameForComparison[4]; |
|
575 TBuf<100> iSavedLongNameForComparison[4]; |
|
576 TBuf<100> iSavedOperNameTypeForComparison; |
|
577 TBuf<100> iSavedOperNameForComparison; |
|
578 |
|
579 CStifLogger* iNWELog; |
|
580 |
|
581 RMobilePhone::TMobilePhoneNetworkSelectionV1 iNWSelSetting; |
|
582 RMobilePhone::TMobilePhoneNetworkInfoV5 iNWInfo; |
|
583 |
|
584 RMobilePhone::TMobilePhoneRegistrationStatus iRegistrationStatus; |
|
585 RMobilePhone::TMobilePhoneNetworkStatus iNetworkStatus; |
|
586 |
|
587 RMobilePhone::TMobilePhoneNetworkSelectionV1 iNetworkSelection; |
|
588 |
|
589 RMobilePhone::TMobilePhoneNetworkInfoV5 iNetworkInfo; |
|
590 RMobilePhone::TMobilePhoneLocationAreaV1 iLocationArea; |
|
591 |
|
592 RMobilePhone::TMobilePhoneNetworkMode iNetworkMode; |
|
593 |
|
594 TBuf8<CCore::ENumberOfNotifys> iNotifyList; |
|
595 |
|
596 RMobilePhone::TMobileCallCipheringIndicator* iCipherIndicatorStatus; |
|
597 |
|
598 RMmCustomAPI::TOperatorNameInfo iOperatorName; |
|
599 |
|
600 RMmCustomAPI::TNetworkModeCaps iNetworkModeCaps; |
|
601 |
|
602 RMobilePhone::TMobilePhoneNITZ iNITZInfo; |
|
603 |
|
604 RMobilePhone::TMobilePhoneNetworkSecurity* iNetworkSecurityLevel; |
|
605 RMobilePhone::TMobilePhoneNetworkInfoV5 iSavedNetworkInfo; |
|
606 |
|
607 // true if the case is ongoing (HandleRequest made and / or expecting Complete) |
|
608 |
|
609 TBool iSetNetworkSelectionSettingOngoing; |
|
610 TBool iGetHomeNetworkOngoing; |
|
611 TBool iGetNetworkRegistrationStatusOngoing; |
|
612 TBool iGetCipheringIndicatorStatusOngoing; |
|
613 TBool iCustomGetCipheringInfoOngoing; |
|
614 TBool iCustomNetWakeupOngoing; |
|
615 TBool iCustomGetOperatorNameOngoing; |
|
616 TBool iCustomResetNetworkRegistrationStatusOngoing; |
|
617 TBool iCustomGetSystemNetworkModesOngoing; |
|
618 TBool iCustomSetSystemNetworkModeOngoing; |
|
619 TBool iCustomGetCurrentSystemNetworkModesOngoing; |
|
620 TBool iManualNetworkSearchOngoing; |
|
621 TBool iManualNetworkSearchCancelOngoing; |
|
622 TBool iManualNetworkSelectionOngoing; |
|
623 TBool iManualNetworkSelectionCancelOngoing; |
|
624 TBool iNetworkFailureTestOnGoing; |
|
625 TBool iNetworkModeTestOnGoing; |
|
626 TBool iCompareNetworkInfoTestOngoing; |
|
627 TBool iHSXPATestOngoing; |
|
628 |
|
629 // Completion is handed normally even if result is not OK |
|
630 // See e.g. NotifyNetworkRegistrationStatusChange when NTSY has set |
|
631 // NOK result and that result should be passed to be checked in |
|
632 // nwe_simulte.cfg. |
|
633 TBool iAllowAlsoNokStatusFromTSY; |
|
634 |
|
635 //arrays and variables for saving given and received values |
|
636 TBool iLocationAreaKnown[2]; |
|
637 RMobilePhone::TMobilePhoneNetworkMode iNetworkModeStatus[2]; |
|
638 RMobilePhone::TMobilePhoneRegistrationStatus iNWRegStatusForComparison; |
|
639 RMobilePhone::TMobilePhoneNetworkStatus iNetworkStatusForComparison; |
|
640 RMobilePhone::TMobileCallCipheringIndicator iCipherIndicatorStatusForComparison; |
|
641 TBool iCipherIndicatorOnOff; |
|
642 TInt iNetworkModeForComparison; |
|
643 RMobilePhone::TMobilePhoneNetworkAccess iNetworkAccessForComparison; |
|
644 TBool nspsIsOffOnForComparison; |
|
645 RMobilePhone::TMobilePhoneNetworkSelectionV1 iNetworkSelectionForComparison; |
|
646 RMobilePhone::TMobilePhoneLocationAreaV1 iLocationAreaForComparison; |
|
647 RMobilePhone::TMobilePhoneNetworkIdentity iNetworkIdForComparison[4]; |
|
648 RMobilePhone::TMobilePhoneNetworkCountryCode iCountryCodeForComparison[4]; |
|
649 |
|
650 // for parameter checking |
|
651 TECIDInfo iRefECIDInfo; |
|
652 TInt iNmrListIndex; |
|
653 TInt iDetailedCellInfoIndex; |
|
654 |
|
655 // not suppoted for S60 ver 3.2 |
|
656 #if ( NCP_COMMON_S60_VERSION_SUPPORT != S60_VERSION_32 ) |
|
657 |
|
658 RMmCustomAPI::TBandSelection iNetworkBand; |
|
659 |
|
660 TBool iCustomSetBandSelectionOngoing; |
|
661 TBool iCustomGetBandSelectionOngoing; |
|
662 |
|
663 #endif //NCP_COMMON_S60_VERSION_SUPPORT |
|
664 |
|
665 }; |
|
666 |
|
667 #endif // NWE_H |
|
668 |
|
669 // End of File |
|