comparison src/ui/bmi/mmiPins.h @ 118:d773e7d92952

mmiPins.h: bogotab fixes
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 09 Nov 2020 01:53:53 +0000
parents c0052fe355d3
children
comparison
equal deleted inserted replaced
117:412ae9004de1 118:d773e7d92952
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
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_
117 117
118 #define ALLOC_MEMORY mfwAlloc 118 #define ALLOC_MEMORY mfwAlloc
119 #define FREE_MEMORY mfwFree 119 #define FREE_MEMORY mfwFree
120 120
121 //API - 30/10/02 Move these defines to the header file 1162 121 //API - 30/10/02 Move these defines to the header file 1162
122 #define MAX_DIG 30 /* maximum number of digits */ 122 #define MAX_DIG 30 /* maximum number of digits */
123 #define MAX_PIN 16 /* maximum number of PIN/PUK, SPR1351, simlock passwords can be up to 16 chars */ 123 #define MAX_PIN 16 /* maximum number of PIN/PUK, SPR1351, simlock passwords can be up to 16 chars */
124 #define MAX_PIN_EN_DIS 8 /*SPR 2145 maximum string length for PIN1 when enabling/disabling PIN1 */ 124 #define MAX_PIN_EN_DIS 8 /*SPR 2145 maximum string length for PIN1 when enabling/disabling PIN1 */
125 #define MIN_PIN 4 125 #define MIN_PIN 4
126 #define TIMERESULT 500 /* time for results(later to change!!*/ 126 #define TIMERESULT 500 /* time for results(later to change!!*/
127 #define TIMEOUT 30000 /* time for entering */ 127 #define TIMEOUT 30000 /* time for entering */
128 128
129 //x0pleela 09 Mar, 2007 ER: OMAPS00122561 129 //x0pleela 09 Mar, 2007 ER: OMAPS00122561
130 #ifdef FF_PHONE_LOCK 130 #ifdef FF_PHONE_LOCK
131 #define PH_MAX_DIG 4 /*MAX digits for Phone unlock code*/ 131 #define PH_MAX_DIG 4 /*MAX digits for Phone unlock code*/
132 #endif 132 #endif
133 133
134 /* typedefs */ 134 /* typedefs */
135 135
136 typedef enum 136 typedef enum
137 { 137 {
138 INPUT_PIN1 = PinsDummy, 138 INPUT_PIN1 = PinsDummy,
139 INPUT_PIN2, 139 INPUT_PIN2,
140 INPUT_PUK1, 140 INPUT_PUK1,
141 #ifdef SIM_PERS 141 #ifdef SIM_PERS
142 PERM_BLK1, 142 PERM_BLK1,
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,
161 INPUT_NEW_SIM_PLOCK, 161 INPUT_NEW_SIM_PLOCK,
162 INPUT_NEW_SIM_PLOCK_AGAIN, 162 INPUT_NEW_SIM_PLOCK_AGAIN,
163 NEW_SIM_PLOCK_END, 163 NEW_SIM_PLOCK_END,
164 NEW_SIM_PLOCK_FAIL, 164 NEW_SIM_PLOCK_FAIL,
165 SIM_LOCK_NEW_ENDISFAIL, 165 SIM_LOCK_NEW_ENDISFAIL,
166 SIM_LOCK_NEW_ENDSUCC, 166 SIM_LOCK_NEW_ENDSUCC,
167 SIM_LOCK_REQ_FCPWD, 167 SIM_LOCK_REQ_FCPWD,
168 SIM_LOCK_FCPWD_FAIL, 168 SIM_LOCK_FCPWD_FAIL,
169 SIM_LOCK_FCPWDSUCC, 169 SIM_LOCK_FCPWDSUCC,
170 TXT_ENTER_FCPWD, 170 TXT_ENTER_FCPWD,
171 INPUT_SIM_FCPWD, 171 INPUT_SIM_FCPWD,
172 SIM_FCPWD_END, 172 SIM_FCPWD_END,
173 FAILURE_PASS_CHG, 173 FAILURE_PASS_CHG,
174 SIM_LOCK_NEW_ENDSUCC_CKEY, 174 SIM_LOCK_NEW_ENDSUCC_CKEY,
175 INPUT_SIM_PIN_REQ, 175 INPUT_SIM_PIN_REQ,
176 INPUT_NLOCK_PIN_REQ, 176 INPUT_NLOCK_PIN_REQ,
177 INPUT_NSLOCK_PIN_REQ, 177 INPUT_NSLOCK_PIN_REQ,
178 INPUT_SPLOCK_PIN_REQ, 178 INPUT_SPLOCK_PIN_REQ,
179 INPUT_CLOCK_PIN_REQ, 179 INPUT_CLOCK_PIN_REQ,
180 SIM_LOCK_ALREADY_ENDIS, 180 SIM_LOCK_ALREADY_ENDIS,
181 SIM_LOCK_PERS_CHK_OK, 181 SIM_LOCK_PERS_CHK_OK,
182 SIM_LOCK_SIM_REM, 182 SIM_LOCK_SIM_REM,
183 SMLK_PUK, 183 SMLK_PUK,
184 SMLK_SHOW_FC_FAIL, 184 SMLK_SHOW_FC_FAIL,
185 SMLK_SHOW_FC_SUCC, 185 SMLK_SHOW_FC_SUCC,
186 SMLK_SHOW_FC_FAIL1, 186 SMLK_SHOW_FC_FAIL1,
187 //x0pleela 20 July, 2006 ER: OMAPS00087586, OMAPS00087587 187 //x0pleela 20 July, 2006 ER: OMAPS00087586, OMAPS00087587
188 SMLK_MASTERKEY, 188 SMLK_MASTERKEY,
189 INPUT_MASTER_KEY_REQ, 189 INPUT_MASTER_KEY_REQ,
190 SIM_LOCK_REQ_MKPWD, 190 SIM_LOCK_REQ_MKPWD,
191 TXT_ENTER_MKPWD, 191 TXT_ENTER_MKPWD,
192 INPUT_SIM_MKPWD, 192 INPUT_SIM_MKPWD,
193 SIM_MKPWD_END, 193 SIM_MKPWD_END,
194 SIM_LOCK_MKPWD_FAIL, 194 SIM_LOCK_MKPWD_FAIL,
195 SIM_LOCK_MKPWDSUCC, 195 SIM_LOCK_MKPWDSUCC,
196 SIM_LOCK_BUSY, 196 SIM_LOCK_BUSY,
197 SIM_LOCK_BUSY_BOOTUP, 197 SIM_LOCK_BUSY_BOOTUP,
198 SMLK_SHOW_MK_FAIL, 198 SMLK_SHOW_MK_FAIL,
199 SMLK_SHOW_MK_SUCC, 199 SMLK_SHOW_MK_SUCC,
200 SIM_LOCK_BUSY_UNBLOCK, 200 SIM_LOCK_BUSY_UNBLOCK,
201 INPUT_PBLOCK_PIN_REQ, //x0pleela 25 Sep, 2006 ER: OMAPS00095524 201 INPUT_PBLOCK_PIN_REQ, //x0pleela 25 Sep, 2006 ER: OMAPS00095524
202 SMLK_SHOW_WRONG_PWD, //x0pleela 13 Nov, 2006 DR: OMAPS00103356 if Master unlocking password is wrong 202 SMLK_SHOW_WRONG_PWD, //x0pleela 13 Nov, 2006 DR: OMAPS00103356 if Master unlocking password is wrong
203 SMLK_SHOW_DEP_CATS_UNLOCKED, //x0pleela 13 Nov, 2006 DR: OMAPS00103356 if Master unlocking operation is successful 203 SMLK_SHOW_DEP_CATS_UNLOCKED, //x0pleela 13 Nov, 2006 DR: OMAPS00103356 if Master unlocking operation is successful
204 #endif 204 #endif
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,
247 TXT_ENTER_PIN2, 247 TXT_ENTER_PIN2,
248 TXT_ENTER_PUK1, 248 TXT_ENTER_PUK1,
249 #ifdef SIM_PERS 249 #ifdef SIM_PERS
250 ME_PERM_BLK, 250 ME_PERM_BLK,
251 #endif 251 #endif
252 TXT_ENTER_PUK2, 252 TXT_ENTER_PUK2,
253 TXT_ENTER_NEW_PIN, 253 TXT_ENTER_NEW_PIN,
254 TXT_ENTER_NEW_PIN2, 254 TXT_ENTER_NEW_PIN2,
255 TXT_ENTER_NEW_PIN_AGAIN, 255 TXT_ENTER_NEW_PIN_AGAIN,
256 TXT_ENTER_NEW_PIN_AGAIN2, 256 TXT_ENTER_NEW_PIN_AGAIN2,
257 TXT_INVALID_CARD, 257 TXT_INVALID_CARD,
258 TXT_NO_CARD, 258 TXT_NO_CARD,
259 TXT_INSERT_CARD, 259 TXT_INSERT_CARD,
260 PIN1_END, 260 PIN1_END,
261 PIN2_END, 261 PIN2_END,
262 PUK1_END, 262 PUK1_END,
263 PIN_OK_INFO, 263 PIN_OK_INFO,
264 PIN_OK_END, 264 PIN_OK_END,
265 TXT_SIM_LOCK_ALL, 265 TXT_SIM_LOCK_ALL,
266 TXT_SIM_PLOCK, 266 TXT_SIM_PLOCK,
267 TXT_SIM_NLOCK, 267 TXT_SIM_NLOCK,
268 TXT_SIM_NSLOCK, 268 TXT_SIM_NSLOCK,
269 TXT_SIM_SPLOCK, 269 TXT_SIM_SPLOCK,
270 TXT_SIM_CLOCK, 270 TXT_SIM_CLOCK,
271 PUK1_UNBL_SUCC, 271 PUK1_UNBL_SUCC,
272 SIM_REMOVED, 272 SIM_REMOVED,
273 SIM_LOCK_ALL, 273 SIM_LOCK_ALL,
274 PIN1_CH_END, 274 PIN1_CH_END,
275 PIN2_CH_END, 275 PIN2_CH_END,
276 UNBL_OK, 276 UNBL_OK,
277 FDN_UNBL_OK, 277 FDN_UNBL_OK,
278 PIN2_REQ_ATT, 278 PIN2_REQ_ATT,
279 PIN1_CH_SUCC, 279 PIN1_CH_SUCC,
280 PIN2_CH_SUCC, 280 PIN2_CH_SUCC,
281 PUK2_REQ, 281 PUK2_REQ,
282 NEW_PIN_END, 282 NEW_PIN_END,
283 NEW_PIN2_END, 283 NEW_PIN2_END,
284 PIN1_ENAB_END, 284 PIN1_ENAB_END,
285 PIN1_DISAB_END, 285 PIN1_DISAB_END,
286 PIN1_ENDIS_FAIL, 286 PIN1_ENDIS_FAIL,
287 SETT_ABORT, 287 SETT_ABORT,
288 FDN_ACT_END, 288 FDN_ACT_END,
289 FDN_ACTIVATED, 289 FDN_ACTIVATED,
290 ADN_ACTIVATED, 290 ADN_ACTIVATED,
291 FDN_FAIL, 291 FDN_FAIL,
292 FDN_WAIT, 292 FDN_WAIT,
293 FDN_DEACT_END, 293 FDN_DEACT_END,
294 IDLE_GSM_FAIL, 294 IDLE_GSM_FAIL,
295 PIN2_SIM_FAILURE, // Marcus: Issue 1419: 16/12/2002 295 PIN2_SIM_FAILURE, // Marcus: Issue 1419: 16/12/2002
296 SIM_LOCKED, // June 16, 2005 REF: CRR 31267 x0021334 296 SIM_LOCKED, // June 16, 2005 REF: CRR 31267 x0021334
297 SIM_LOCKED_EMR_EDITOR, // June 16, 2005 REF: CRR 31267 x0021334 297 SIM_LOCKED_EMR_EDITOR, // June 16, 2005 REF: CRR 31267 x0021334
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,
313 PH_LOCK_REQ_OLD, 313 PH_LOCK_REQ_OLD,
314 TXT_ENTER_PHLOCK, 314 TXT_ENTER_PHLOCK,
315 INPUT_PH_LOCK, 315 INPUT_PH_LOCK,
316 PH_LOCK_END, 316 PH_LOCK_END,
317 PH_LOCK_REQ_NEW, 317 PH_LOCK_REQ_NEW,
318 TXT_ENTER_NEW_PHLOCK, 318 TXT_ENTER_NEW_PHLOCK,
319 INPUT_NEW_PH_LOCK, 319 INPUT_NEW_PH_LOCK,
320 INPUT_NEW_PH_LOCK_AGAIN, 320 INPUT_NEW_PH_LOCK_AGAIN,
321 TXT_ENTER_NEW_PHLOCK_AGAIN, 321 TXT_ENTER_NEW_PHLOCK_AGAIN,
322 NEW_PH_LOCK_END, 322 NEW_PH_LOCK_END,
323 NEW_PH_LOCK_FAIL, 323 NEW_PH_LOCK_FAIL,
324 PH_LOCK_NEW_ENDISFAIL, 324 PH_LOCK_NEW_ENDISFAIL,
325 PH_LOCK_NEW_ENDSUCC, 325 PH_LOCK_NEW_ENDSUCC,
326 TXT_PH_LOCK_ALL, 326 TXT_PH_LOCK_ALL,
327 PH_LOCK_ENDIS_FAIL, 327 PH_LOCK_ENDIS_FAIL,
328 PH_LOCK_ENDSUCC, 328 PH_LOCK_ENDSUCC,
329 AUTO_PH_LOCK_ENDSUCC, 329 AUTO_PH_LOCK_ENDSUCC,
330 PH_LOCK_SUCCESS, 330 PH_LOCK_SUCCESS,
331 PH_LOCK_FAILURE, 331 PH_LOCK_FAILURE,
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
340 //xashmic 21 Sep 2006, OMAPS00095831 341 //xashmic 21 Sep 2006, OMAPS00095831
341 typedef enum 342 typedef enum
342 { 343 {
343 BOOTUP_STATE_NONE = -1, 344 BOOTUP_STATE_NONE = -1,
344 BOOTUP_STATE_INPROGRESS, 345 BOOTUP_STATE_INPROGRESS,
345 BOOTUP_STATE_COMPLETED 346 BOOTUP_STATE_COMPLETED
346 }T_BOOTUP_STATE; 347 }T_BOOTUP_STATE;
348
347 typedef enum 349 typedef enum
348 { 350 {
349 DEFAULT = 0, 351 DEFAULT = 0,
350 ENABLE, 352 ENABLE,
351 DISABLE, 353 DISABLE,
352 FDN_ACTIV, 354 FDN_ACTIV,
353 FDN_DEACTIV, 355 FDN_DEACTIV,
354 CHANGE_PIN, 356 CHANGE_PIN,
355 CHANGE_PIN2, 357 CHANGE_PIN2,
356 IDLE_GSM, 358 IDLE_GSM,
357 PIN2_CHECK, 359 PIN2_CHECK,
358 PIN1_CHECK 360 PIN1_CHECK
359 }SET_CASE; 361 }SET_CASE;
360 362
361 #define FOCUSSED_PINS 1 363 #define FOCUSSED_PINS 1
362 #define NOT_FOCUSSED_PINS 0 364 #define NOT_FOCUSSED_PINS 0
363 365
426 int SIMLock_MasterKeyUnlock (struct MfwMnuTag * m, struct MfwMnuItemTag * i); 428 int SIMLock_MasterKeyUnlock (struct MfwMnuTag * m, struct MfwMnuItemTag * i);
427 int SIMLock_MasterKeyUnlock_bootup (struct MfwMnuTag * m, struct MfwMnuItemTag * i); 429 int SIMLock_MasterKeyUnlock_bootup (struct MfwMnuTag * m, struct MfwMnuItemTag * i);
428 //x0pleela 25 Sep, 2006 ER: OMAPS00095524 430 //x0pleela 25 Sep, 2006 ER: OMAPS00095524
429 int setLockTypePb (struct MfwMnuTag * m, struct MfwMnuItemTag * i); 431 int setLockTypePb (struct MfwMnuTag * m, struct MfwMnuItemTag * i);
430 432
431 USHORT simlock_check_masterkey(struct MfwMnuTag *m, 433 USHORT simlock_check_masterkey(struct MfwMnuTag *m,
432 struct MfwMnuAttrTag *ma, 434 struct MfwMnuAttrTag *ma,
433 struct MfwMnuItemTag *mi); 435 struct MfwMnuItemTag *mi);
434 USHORT simlock_check_NWCatLock(struct MfwMnuTag *m, 436 USHORT simlock_check_NWCatLock(struct MfwMnuTag *m,
435 struct MfwMnuAttrTag *ma, 437 struct MfwMnuAttrTag *ma,
436 struct MfwMnuItemTag *mi); 438 struct MfwMnuItemTag *mi);
437 USHORT simlock_check_NSCatLock(struct MfwMnuTag *m, 439 USHORT simlock_check_NSCatLock(struct MfwMnuTag *m,
438 struct MfwMnuAttrTag *ma, 440 struct MfwMnuAttrTag *ma,
439 struct MfwMnuItemTag *mi); 441 struct MfwMnuItemTag *mi);
440 USHORT simlock_check_SPCatLock(struct MfwMnuTag *m, 442 USHORT simlock_check_SPCatLock(struct MfwMnuTag *m,
441 struct MfwMnuAttrTag *ma, 443 struct MfwMnuAttrTag *ma,
442 struct MfwMnuItemTag *mi); 444 struct MfwMnuItemTag *mi);
443 USHORT simlock_check_CPCatLock(struct MfwMnuTag *m, 445 USHORT simlock_check_CPCatLock(struct MfwMnuTag *m,
444 struct MfwMnuAttrTag *ma, 446 struct MfwMnuAttrTag *ma,
445 struct MfwMnuItemTag *mi); 447 struct MfwMnuItemTag *mi);
446 USHORT simlock_check_SIMCatLock(struct MfwMnuTag *m, 448 USHORT simlock_check_SIMCatLock(struct MfwMnuTag *m,
447 struct MfwMnuAttrTag *ma, 449 struct MfwMnuAttrTag *ma,
448 struct MfwMnuItemTag *mi); 450 struct MfwMnuItemTag *mi);
449 USHORT simlock_check_CatBlock(struct MfwMnuTag *m, 451 USHORT simlock_check_CatBlock(struct MfwMnuTag *m,
450 struct MfwMnuAttrTag *ma, 452 struct MfwMnuAttrTag *ma,
451 struct MfwMnuItemTag *mi); 453 struct MfwMnuItemTag *mi);
452 454
453 //x0pleela 25 Sep, 2006 ER: OMAPS00095524 455 //x0pleela 25 Sep, 2006 ER: OMAPS00095524
454 USHORT simlock_check_PBCatLock(struct MfwMnuTag *m, 456 USHORT simlock_check_PBCatLock(struct MfwMnuTag *m,
455 struct MfwMnuAttrTag *ma, 457 struct MfwMnuAttrTag *ma,
456 struct MfwMnuItemTag *mi); 458 struct MfwMnuItemTag *mi);
457 int SIMLock_unblock_ME(struct MfwMnuTag * m, struct MfwMnuItemTag * i); 459 int SIMLock_unblock_ME(struct MfwMnuTag * m, struct MfwMnuItemTag * i);
458 T_MFW_HND mmi_simlock_category_menus(T_MFW_HND parent); 460 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); 461 static void mmi_simlock_master_unlock(T_MFW_HND win, UBYTE MK_Unblock_flag);
460 UBYTE simlock_get_masterkey_status(void); 462 UBYTE simlock_get_masterkey_status(void);
461 int simp_unlock_Category(struct MfwMnuTag * m, struct MfwMnuItemTag * i); 463 int simp_unlock_Category(struct MfwMnuTag * m, struct MfwMnuItemTag * i);
483 int phLock_Change_UnlockCode (struct MfwMnuTag * m, struct MfwMnuItemTag * i); 485 int phLock_Change_UnlockCode (struct MfwMnuTag * m, struct MfwMnuItemTag * i);
484 int phLock_UnLock (void); 486 int phLock_UnLock (void);
485 int phLock_Lock (void); 487 int phLock_Lock (void);
486 #endif /* FF_PHONE_LOCK */ 488 #endif /* FF_PHONE_LOCK */
487 #endif 489 #endif
488