comparison src/ui/bmi/mmiPins.h @ 92:c0052fe355d3

src/ui/bmi/*.[ch]: rm trailing white space
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 08 Nov 2020 06:39:16 +0000
parents 67bfe9f274f6
children d773e7d92952
comparison
equal deleted inserted replaced
91:c3d28a37caad 92:c0052fe355d3
1 1
2 /******************************************************************************* 2 /*******************************************************************************
3 3
4 CONDAT (UK) 4 CONDAT (UK)
5 5
6 ******************************************************************************** 6 ********************************************************************************
7 7
8 This software product is the property of Condat (UK) Ltd and may not be 8 This software product is the property of Condat (UK) Ltd and may not be
9 disclosed to any third party without the express permission of the owner. 9 disclosed to any third party without the express permission of the owner.
10 10
11 ******************************************************************************** 11 ********************************************************************************
12 12
13 $Project name: Basic MMI 13 $Project name: Basic MMI
14 $Project code: BMI (6349) 14 $Project code: BMI (6349)
15 $Module: MMI 15 $Module: MMI
16 $File: MmiPins.h 16 $File: MmiPins.h
17 $Revision: 1.0 17 $Revision: 1.0
18 18
19 $Author: Condat(UK) 19 $Author: Condat(UK)
20 $Date: 25/10/00 20 $Date: 25/10/00
21 21
22 ******************************************************************************** 22 ********************************************************************************
23 23
24 Description: 24 Description:
25 25
26 MMI PIN / PUK entry handling 26 MMI PIN / PUK entry handling
27 27
28 28
29 ******************************************************************************** 29 ********************************************************************************
30 30
31 $History: MmiPins.h 31 $History: MmiPins.h
32 32
33 Apr 03, 2007 ER: OMAPS00122561 x0pleela 33 Apr 03, 2007 ER: OMAPS00122561 x0pleela
34 Description: [ACI] Phone lock feature has to be supported by ACI 34 Description: [ACI] Phone lock feature has to be supported by ACI
35 Solution: Phone Lock ER implementation 35 Solution: Phone Lock ER implementation
36 36
37 Nov 13, 2006 DR: OMAPS00103356 x0pleela 37 Nov 13, 2006 DR: OMAPS00103356 x0pleela
38 Description: SIMP:Master unlock failed through MMI 38 Description: SIMP:Master unlock failed through MMI
39 Solution: Defined new enums SMLK_SHOW_WRONG_PWD: if Master unlocking password is wrong 39 Solution: Defined new enums SMLK_SHOW_WRONG_PWD: if Master unlocking password is wrong
40 and SMLK_SHOW_DEP_CATS_UNLOCKE: if Master unlocking operation is successful 40 and SMLK_SHOW_DEP_CATS_UNLOCKE: if Master unlocking operation is successful
41 41
42 Sep 26, 2006 DR: OMAPS00095524 x0pleela 42 Sep 26, 2006 DR: OMAPS00095524 x0pleela
43 Description:Implement 2 missing SIM Lock types 43 Description:Implement 2 missing SIM Lock types
44 Solution: Made the following changes 44 Solution: Made the following changes
45 - Added new enum INPUT_PBLOCK_PIN_REQ to send request for entering 45 - Added new enum INPUT_PBLOCK_PIN_REQ to send request for entering
46 Blocked Network Password 46 Blocked Network Password
47 - Added prototype of functions setLockTypePb(), simlock_check_PBCatLock() 47 - Added prototype of functions setLockTypePb(), simlock_check_PBCatLock()
48 xashmic 21 Sep 2006, OMAPS00095831 48 xashmic 21 Sep 2006, OMAPS00095831
49 Description: USB enumeration does not happen in PIN/PUK/Insert SIM scenarios 49 Description: USB enumeration does not happen in PIN/PUK/Insert SIM scenarios
50 Solution: When booting up without SIM card, or prompting for PIN/PUK/SIMP entry, 50 Solution: When booting up without SIM card, or prompting for PIN/PUK/SIMP entry,
51 enumerate all the USB ports automatically 51 enumerate all the USB ports automatically
52 52
53 Sep 08, 2006 DR: OMAPS00091250 x0pleela 53 Sep 08, 2006 DR: OMAPS00091250 x0pleela
54 Description:The phone resets if no MEPD data is presented 54 Description:The phone resets if no MEPD data is presented
55 Solution: Added new enums NO_MEPD, NO_MEPD_DATA, TXT_NO_MEPD to display the string 55 Solution: Added new enums NO_MEPD, NO_MEPD_DATA, TXT_NO_MEPD to display the string
56 MEPD not present 56 MEPD not present
57 57
58 July 31, 2006 ER: OMAPS00087586, OMAPS00087587 x0pleela 58 July 31, 2006 ER: OMAPS00087586, OMAPS00087587 x0pleela
59 Description: OMAPS00087586: MasterKey funtion in TCS3.2 SW 59 Description: OMAPS00087586: MasterKey funtion in TCS3.2 SW
60 OMAPS00087587: Time Penaly feature extend handset security 60 OMAPS00087587: Time Penaly feature extend handset security
61 Solution:Made the following changes 61 Solution:Made the following changes
62 1) Added new event SIM_LOCK_BUSY_UNBLOCK 62 1) Added new event SIM_LOCK_BUSY_UNBLOCK
63 63
64 July 21, 2006 ER: OMAPS00087586, OMAPS00087587 x0pleela 64 July 21, 2006 ER: OMAPS00087586, OMAPS00087587 x0pleela
65 Description: OMAPS00087586: MasterKey funtion in TCS3.2 SW 65 Description: OMAPS00087586: MasterKey funtion in TCS3.2 SW
66 OMAPS00087587: Time Penaly feature extend handset security 66 OMAPS00087587: Time Penaly feature extend handset security
67 Solution:Made the following changes 67 Solution:Made the following changes
68 1) Defined new enumerations SMLK_MASTERKEY,INPUT_MASTER_KEY_REQ, 68 1) Defined new enumerations SMLK_MASTERKEY,INPUT_MASTER_KEY_REQ,
69 SIM_LOCK_REQ_MKPWD,TXT_ENTER_MKPWD,INPUT_SIM_MKPWD, 69 SIM_LOCK_REQ_MKPWD,TXT_ENTER_MKPWD,INPUT_SIM_MKPWD,
70 SIM_MKPWD_END,SIM_LOCK_MKPWD_FAIL,SIM_LOCK_MKPWDSUCC, 70 SIM_MKPWD_END,SIM_LOCK_MKPWD_FAIL,SIM_LOCK_MKPWDSUCC,
71 SIM_LOCK_BUSY,SIM_LOCK_BUSY_BOOTUP,SMLK_SHOW_MK_FAIL, 71 SIM_LOCK_BUSY,SIM_LOCK_BUSY_BOOTUP,SMLK_SHOW_MK_FAIL,
72 SMLK_SHOW_MK_SUCC 72 SMLK_SHOW_MK_SUCC
73 2) Added prototypes of the following functions: 73 2) Added prototypes of the following functions:
74 SIMLock_MasterKeyUnlock(), SIMLock_MasterKeyUnlock_bootup(), simlock_check_masterkey(), 74 SIMLock_MasterKeyUnlock(), SIMLock_MasterKeyUnlock_bootup(), simlock_check_masterkey(),
75 simlock_check_NWCatLock(), simlock_check_NSCatLock(), simlock_check_SPCatLock(), 75 simlock_check_NWCatLock(), simlock_check_NSCatLock(), simlock_check_SPCatLock(),
76 simlock_check_CPCatLock(), simlock_check_SIMCatLock(), simlock_check_CatBlock(), 76 simlock_check_CPCatLock(), simlock_check_SIMCatLock(), simlock_check_CatBlock(),
77 SIMLock_unblock_ME(), mmi_simlock_category_menus(), mmi_simlock_master_unlock(), 77 SIMLock_unblock_ME(), mmi_simlock_category_menus(), mmi_simlock_master_unlock(),
78 simlock_get_masterkey_status(), simp_unlock_Category() 78 simlock_get_masterkey_status(), simp_unlock_Category()
79 79
80 80
81 May 13, 2006 DR: OMAPS00067919 x0pleela 81 May 13, 2006 DR: OMAPS00067919 x0pleela
82 Description: SIMP:On repeat Depersonalisation with invalid password MEPD unblock key should 82 Description: SIMP:On repeat Depersonalisation with invalid password MEPD unblock key should
83 be asked not Puk1. 83 be asked not Puk1.
84 Solution: Removed new enumerations UNBLOCK_CODE_REQ, UNBLOCK_REQ_ACT_INFO, 84 Solution: Removed new enumerations UNBLOCK_CODE_REQ, UNBLOCK_REQ_ACT_INFO,
85 TXT_UNBLOCK_CODE, UNBLOCK_CODE to handle unblock code for SIMP feature 85 TXT_UNBLOCK_CODE, UNBLOCK_CODE to handle unblock code for SIMP feature
86 86
87 Apr 19, 2006 DR:OMAPs00067912 x0pleela 87 Apr 19, 2006 DR:OMAPs00067912 x0pleela
88 Description: SIMP:On repeat Depersonalisation with invalid password MEPD unblock key should 88 Description: SIMP:On repeat Depersonalisation with invalid password MEPD unblock key should
89 be asked not Puk1. 89 be asked not Puk1.
90 Solution: Defined new enumerations UNBLOCK_CODE_REQ, UNBLOCK_REQ_ACT_INFO, 90 Solution: Defined new enumerations UNBLOCK_CODE_REQ, UNBLOCK_REQ_ACT_INFO,
91 TXT_UNBLOCK_CODE, UNBLOCK_CODE to handle unblock code for SIMP feature 91 TXT_UNBLOCK_CODE, UNBLOCK_CODE to handle unblock code for SIMP feature
92 92
93 Nov 24, 2005 DR: OMAPS00045909 - Shashi Shekar B.S. 93 Nov 24, 2005 DR: OMAPS00045909 - Shashi Shekar B.S.
94 Description: Improve IMEI control mechanism 94 Description: Improve IMEI control mechanism
95 Solution : When MMI calls sAT_PLUSCFUN, if an IMEI invalid error is returned, 95 Solution : When MMI calls sAT_PLUSCFUN, if an IMEI invalid error is returned,
96 we will block on that screen & will not allow the user to browse menus further, 96 we will block on that screen & will not allow the user to browse menus further,
97 since the PS will not be booted at all!!! 97 since the PS will not be booted at all!!!
98 98
99 July 19, 2005 REF: CRR LOCOSTO-ENH-28173 xpradipg 99 July 19, 2005 REF: CRR LOCOSTO-ENH-28173 xpradipg
100 Description: To provide MMI Support to enable/disable/change password and 100 Description: To provide MMI Support to enable/disable/change password and
101 query all the Personalization locks 101 query all the Personalization locks
102 Solution: Integration of the changes for the same provided by the soldel 102 Solution: Integration of the changes for the same provided by the soldel
103 team 103 team
104 104
105 June 16, 2005 REF: CRR 31267 x0021334 105 June 16, 2005 REF: CRR 31267 x0021334
106 Description: Handset ignore the initializtion of the PIN1/PIN2 106 Description: Handset ignore the initializtion of the PIN1/PIN2
107 Fix: Cheking is done to ascertain if PIN1/PIN2 are initialised. If not, appropriate 107 Fix: Cheking is done to ascertain if PIN1/PIN2 are initialised. If not, appropriate
108 message is displayed to the user. 108 message is displayed to the user.
109 109
110 25/10/00 Original Condat(UK) BMI version. 110 25/10/00 Original Condat(UK) BMI version.
111 111
112 $End 112 $End
113 113
114 *******************************************************************************/ 114 *******************************************************************************/
115 #ifndef _DEF_MMI_PINS_H_ 115 #ifndef _DEF_MMI_PINS_H_
116 #define _DEF_MMI_PINS_H_ 116 #define _DEF_MMI_PINS_H_
143 #endif 143 #endif
144 INPUT_PUK2, 144 INPUT_PUK2,
145 INPUT_NEW_PIN, 145 INPUT_NEW_PIN,
146 INPUT_NEW_PIN_AGAIN, 146 INPUT_NEW_PIN_AGAIN,
147 INPUT_NEW_PIN2, 147 INPUT_NEW_PIN2,
148 INPUT_NEW_PIN2_AGAIN, 148 INPUT_NEW_PIN2_AGAIN,
149 #ifdef SIM_PERS 149 #ifdef SIM_PERS
150 INPUT_SIM_PLOCK, 150 INPUT_SIM_PLOCK,
151 TXT_ENTER_PLOCK, 151 TXT_ENTER_PLOCK,
152 SIM_LOCK_STATUS_END, 152 SIM_LOCK_STATUS_END,
153 SIM_PLOCK_END, 153 SIM_PLOCK_END,
154 SIM_LOCK_ENDSUCC, 154 SIM_LOCK_ENDSUCC,
155 SIM_LOCK_ENDIS_FAIL, 155 SIM_LOCK_ENDIS_FAIL,
156 SIM_LOCK_REQ_OLD, 156 SIM_LOCK_REQ_OLD,
157 SIM_LOCK_STATUS, 157 SIM_LOCK_STATUS,
158 SIM_LOCK_REQ_NEW, 158 SIM_LOCK_REQ_NEW,
159 TXT_ENTER_NEW_SIMLOCK, 159 TXT_ENTER_NEW_SIMLOCK,
160 TXT_ENTER_NEW_SIMLOCK_AGAIN, 160 TXT_ENTER_NEW_SIMLOCK_AGAIN,
205 INSERT_CARD, 205 INSERT_CARD,
206 CARD_REJECTED, 206 CARD_REJECTED,
207 PIN_OK, 207 PIN_OK,
208 PIN2_OK, 208 PIN2_OK,
209 PIN1_OK, 209 PIN1_OK,
210 PIN1_STATUS, 210 PIN1_STATUS,
211 PIN1_STATUS_END, 211 PIN1_STATUS_END,
212 PIN2_ABORT, 212 PIN2_ABORT,
213 PIN1_ABORT, 213 PIN1_ABORT,
214 PIN1_REQ, 214 PIN1_REQ,
215 PIN2_REQ, 215 PIN2_REQ,
216 PIN1_REQ_ATT, 216 PIN1_REQ_ATT,
217 PUK1_REQ_ACT_INFO, 217 PUK1_REQ_ACT_INFO,
218 PUK1_REQ, 218 PUK1_REQ,
219 #ifdef SIM_PERS 219 #ifdef SIM_PERS
220 PERM_BLK, 220 PERM_BLK,
221 PUK_FCM_REQ, 221 PUK_FCM_REQ,
222 #endif 222 #endif
223 PUK1_OK_END, 223 PUK1_OK_END,
224 PIN1_REQ_OLD, 224 PIN1_REQ_OLD,
225 PIN2_REQ_OLD, 225 PIN2_REQ_OLD,
226 GSM_FAIL, 226 GSM_FAIL,
227 NEW_PIN_FAIL, 227 NEW_PIN_FAIL,
228 NEW_PIN2_FAIL, 228 NEW_PIN2_FAIL,
229 PUK1_REQ_VER_INFO, 229 PUK1_REQ_VER_INFO,
230 PUK1_UNBL_FAIL_INFO, 230 PUK1_UNBL_FAIL_INFO,
231 PUK1_UNBL_FATAL_ERROR, 231 PUK1_UNBL_FATAL_ERROR,
232 INVALID_CARD, 232 INVALID_CARD,
233 NO_SIM_CARD, 233 NO_SIM_CARD,
234 SIM_UNLOCK_OK, 234 SIM_UNLOCK_OK,
235 SIM_LOCK_ERR, 235 SIM_LOCK_ERR,
236 SIM_PLOCK_REQ, 236 SIM_PLOCK_REQ,
237 SIM_NLOCK_REQ, 237 SIM_NLOCK_REQ,
238 SIM_NSLOCK_REQ, 238 SIM_NSLOCK_REQ,
239 SIM_SPLOCK_REQ, 239 SIM_SPLOCK_REQ,
240 SIM_CLOCK_REQ, 240 SIM_CLOCK_REQ,
241 SIM_PLOCK, 241 SIM_PLOCK,
242 SIM_NLOCK, 242 SIM_NLOCK,
243 SIM_NSLOCK, 243 SIM_NSLOCK,
244 SIM_SPLOCK, 244 SIM_SPLOCK,
245 SIM_CLOCK, 245 SIM_CLOCK,
246 TXT_ENTER_PIN1, 246 TXT_ENTER_PIN1,
298 INVALID_IMEI, // Nov 24, 2005, a0876501, DR: OMAPS00045909 298 INVALID_IMEI, // Nov 24, 2005, a0876501, DR: OMAPS00045909
299 SHOW_IMEI_INVALID,// Nov 24, 2005, a0876501, DR: OMAPS00045909 299 SHOW_IMEI_INVALID,// Nov 24, 2005, a0876501, DR: OMAPS00045909
300 TXT_INVALID_IMEI // Nov 24, 2005, a0876501, DR: OMAPS00045909 300 TXT_INVALID_IMEI // Nov 24, 2005, a0876501, DR: OMAPS00045909
301 //x0pleela 18 Oct, 2006 DR: OMAPS00099660 301 //x0pleela 18 Oct, 2006 DR: OMAPS00099660
302 //Flagging the following enums 302 //Flagging the following enums
303 #ifdef SIM_PERS 303 #ifdef SIM_PERS
304 //x0pleela 30 Aug, 2006 DR: OMAPS00091250 304 //x0pleela 30 Aug, 2006 DR: OMAPS00091250
305 , NO_MEPD, 305 , NO_MEPD,
306 NO_MEPD_DATA, 306 NO_MEPD_DATA,
307 TXT_NO_MEPD 307 TXT_NO_MEPD
308 #endif 308 #endif
309 //x0pleela 05 Mar, 2007 ER: OMAPS00122561 309 //x0pleela 05 Mar, 2007 ER: OMAPS00122561
310 #ifdef FF_PHONE_LOCK 310 #ifdef FF_PHONE_LOCK
311 ,PH_LOCK_ALREADY_ENDIS, 311 ,PH_LOCK_ALREADY_ENDIS,
312 PH_LOCK_STATUS, 312 PH_LOCK_STATUS,
332 PH_UNLOCK_REQ, 332 PH_UNLOCK_REQ,
333 PH_LOCK_EN_FAIL, 333 PH_LOCK_EN_FAIL,
334 PH_LOCK_SUCC, 334 PH_LOCK_SUCC,
335 PH_LOCK_AUTO_SUCC, 335 PH_LOCK_AUTO_SUCC,
336 PH_LOCK_SETT_ABORT 336 PH_LOCK_SETT_ABORT
337 #endif /*FF_PHONE_LOCK*/ 337 #endif /*FF_PHONE_LOCK*/
338 338
339 } PIN_CASE; 339 } PIN_CASE;
340 //xashmic 21 Sep 2006, OMAPS00095831 340 //xashmic 21 Sep 2006, OMAPS00095831
341 typedef enum 341 typedef enum
342 { 342 {
343 BOOTUP_STATE_NONE = -1, 343 BOOTUP_STATE_NONE = -1,
344 BOOTUP_STATE_INPROGRESS, 344 BOOTUP_STATE_INPROGRESS,
345 BOOTUP_STATE_COMPLETED 345 BOOTUP_STATE_COMPLETED
346 }T_BOOTUP_STATE; 346 }T_BOOTUP_STATE;
347 typedef enum 347 typedef enum
348 { 348 {
349 DEFAULT = 0, 349 DEFAULT = 0,
350 ENABLE, 350 ENABLE,
426 int SIMLock_MasterKeyUnlock (struct MfwMnuTag * m, struct MfwMnuItemTag * i); 426 int SIMLock_MasterKeyUnlock (struct MfwMnuTag * m, struct MfwMnuItemTag * i);
427 int SIMLock_MasterKeyUnlock_bootup (struct MfwMnuTag * m, struct MfwMnuItemTag * i); 427 int SIMLock_MasterKeyUnlock_bootup (struct MfwMnuTag * m, struct MfwMnuItemTag * i);
428 //x0pleela 25 Sep, 2006 ER: OMAPS00095524 428 //x0pleela 25 Sep, 2006 ER: OMAPS00095524
429 int setLockTypePb (struct MfwMnuTag * m, struct MfwMnuItemTag * i); 429 int setLockTypePb (struct MfwMnuTag * m, struct MfwMnuItemTag * i);
430 430
431 USHORT simlock_check_masterkey(struct MfwMnuTag *m, 431 USHORT simlock_check_masterkey(struct MfwMnuTag *m,
432 struct MfwMnuAttrTag *ma, 432 struct MfwMnuAttrTag *ma,
433 struct MfwMnuItemTag *mi); 433 struct MfwMnuItemTag *mi);
434 USHORT simlock_check_NWCatLock(struct MfwMnuTag *m, 434 USHORT simlock_check_NWCatLock(struct MfwMnuTag *m,
435 struct MfwMnuAttrTag *ma, 435 struct MfwMnuAttrTag *ma,
436 struct MfwMnuItemTag *mi); 436 struct MfwMnuItemTag *mi);
437 USHORT simlock_check_NSCatLock(struct MfwMnuTag *m, 437 USHORT simlock_check_NSCatLock(struct MfwMnuTag *m,
438 struct MfwMnuAttrTag *ma, 438 struct MfwMnuAttrTag *ma,
439 struct MfwMnuItemTag *mi); 439 struct MfwMnuItemTag *mi);
440 USHORT simlock_check_SPCatLock(struct MfwMnuTag *m, 440 USHORT simlock_check_SPCatLock(struct MfwMnuTag *m,
441 struct MfwMnuAttrTag *ma, 441 struct MfwMnuAttrTag *ma,
442 struct MfwMnuItemTag *mi); 442 struct MfwMnuItemTag *mi);
443 USHORT simlock_check_CPCatLock(struct MfwMnuTag *m, 443 USHORT simlock_check_CPCatLock(struct MfwMnuTag *m,
444 struct MfwMnuAttrTag *ma, 444 struct MfwMnuAttrTag *ma,
445 struct MfwMnuItemTag *mi); 445 struct MfwMnuItemTag *mi);
446 USHORT simlock_check_SIMCatLock(struct MfwMnuTag *m, 446 USHORT simlock_check_SIMCatLock(struct MfwMnuTag *m,
447 struct MfwMnuAttrTag *ma, 447 struct MfwMnuAttrTag *ma,
448 struct MfwMnuItemTag *mi); 448 struct MfwMnuItemTag *mi);
449 USHORT simlock_check_CatBlock(struct MfwMnuTag *m, 449 USHORT simlock_check_CatBlock(struct MfwMnuTag *m,
450 struct MfwMnuAttrTag *ma, 450 struct MfwMnuAttrTag *ma,
451 struct MfwMnuItemTag *mi); 451 struct MfwMnuItemTag *mi);
452 452
453 //x0pleela 25 Sep, 2006 ER: OMAPS00095524 453 //x0pleela 25 Sep, 2006 ER: OMAPS00095524
454 USHORT simlock_check_PBCatLock(struct MfwMnuTag *m, 454 USHORT simlock_check_PBCatLock(struct MfwMnuTag *m,
455 struct MfwMnuAttrTag *ma, 455 struct MfwMnuAttrTag *ma,
456 struct MfwMnuItemTag *mi); 456 struct MfwMnuItemTag *mi);
457 int SIMLock_unblock_ME(struct MfwMnuTag * m, struct MfwMnuItemTag * i); 457 int SIMLock_unblock_ME(struct MfwMnuTag * m, struct MfwMnuItemTag * i);
458 T_MFW_HND mmi_simlock_category_menus(T_MFW_HND parent); 458 T_MFW_HND mmi_simlock_category_menus(T_MFW_HND parent);
459 static void mmi_simlock_master_unlock(T_MFW_HND win, UBYTE MK_Unblock_flag); 459 static void mmi_simlock_master_unlock(T_MFW_HND win, UBYTE MK_Unblock_flag);
460 UBYTE simlock_get_masterkey_status(void); 460 UBYTE simlock_get_masterkey_status(void);