FreeCalypso > hg > fc-tourmaline
comparison src/ui/bmi/mmiPins.h @ 3:67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 16 Oct 2020 06:33:10 +0000 |
parents | |
children | c0052fe355d3 |
comparison
equal
deleted
inserted
replaced
2:3a14ee9a9843 | 3:67bfe9f274f6 |
---|---|
1 | |
2 /******************************************************************************* | |
3 | |
4 CONDAT (UK) | |
5 | |
6 ******************************************************************************** | |
7 | |
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. | |
10 | |
11 ******************************************************************************** | |
12 | |
13 $Project name: Basic MMI | |
14 $Project code: BMI (6349) | |
15 $Module: MMI | |
16 $File: MmiPins.h | |
17 $Revision: 1.0 | |
18 | |
19 $Author: Condat(UK) | |
20 $Date: 25/10/00 | |
21 | |
22 ******************************************************************************** | |
23 | |
24 Description: | |
25 | |
26 MMI PIN / PUK entry handling | |
27 | |
28 | |
29 ******************************************************************************** | |
30 | |
31 $History: MmiPins.h | |
32 | |
33 Apr 03, 2007 ER: OMAPS00122561 x0pleela | |
34 Description: [ACI] Phone lock feature has to be supported by ACI | |
35 Solution: Phone Lock ER implementation | |
36 | |
37 Nov 13, 2006 DR: OMAPS00103356 x0pleela | |
38 Description: SIMP:Master unlock failed through MMI | |
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 | |
41 | |
42 Sep 26, 2006 DR: OMAPS00095524 x0pleela | |
43 Description:Implement 2 missing SIM Lock types | |
44 Solution: Made the following changes | |
45 - Added new enum INPUT_PBLOCK_PIN_REQ to send request for entering | |
46 Blocked Network Password | |
47 - Added prototype of functions setLockTypePb(), simlock_check_PBCatLock() | |
48 xashmic 21 Sep 2006, OMAPS00095831 | |
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, | |
51 enumerate all the USB ports automatically | |
52 | |
53 Sep 08, 2006 DR: OMAPS00091250 x0pleela | |
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 | |
56 MEPD not present | |
57 | |
58 July 31, 2006 ER: OMAPS00087586, OMAPS00087587 x0pleela | |
59 Description: OMAPS00087586: MasterKey funtion in TCS3.2 SW | |
60 OMAPS00087587: Time Penaly feature extend handset security | |
61 Solution:Made the following changes | |
62 1) Added new event SIM_LOCK_BUSY_UNBLOCK | |
63 | |
64 July 21, 2006 ER: OMAPS00087586, OMAPS00087587 x0pleela | |
65 Description: OMAPS00087586: MasterKey funtion in TCS3.2 SW | |
66 OMAPS00087587: Time Penaly feature extend handset security | |
67 Solution:Made the following changes | |
68 1) Defined new enumerations SMLK_MASTERKEY,INPUT_MASTER_KEY_REQ, | |
69 SIM_LOCK_REQ_MKPWD,TXT_ENTER_MKPWD,INPUT_SIM_MKPWD, | |
70 SIM_MKPWD_END,SIM_LOCK_MKPWD_FAIL,SIM_LOCK_MKPWDSUCC, | |
71 SIM_LOCK_BUSY,SIM_LOCK_BUSY_BOOTUP,SMLK_SHOW_MK_FAIL, | |
72 SMLK_SHOW_MK_SUCC | |
73 2) Added prototypes of the following functions: | |
74 SIMLock_MasterKeyUnlock(), SIMLock_MasterKeyUnlock_bootup(), simlock_check_masterkey(), | |
75 simlock_check_NWCatLock(), simlock_check_NSCatLock(), simlock_check_SPCatLock(), | |
76 simlock_check_CPCatLock(), simlock_check_SIMCatLock(), simlock_check_CatBlock(), | |
77 SIMLock_unblock_ME(), mmi_simlock_category_menus(), mmi_simlock_master_unlock(), | |
78 simlock_get_masterkey_status(), simp_unlock_Category() | |
79 | |
80 | |
81 May 13, 2006 DR: OMAPS00067919 x0pleela | |
82 Description: SIMP:On repeat Depersonalisation with invalid password MEPD unblock key should | |
83 be asked not Puk1. | |
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 | |
86 | |
87 Apr 19, 2006 DR:OMAPs00067912 x0pleela | |
88 Description: SIMP:On repeat Depersonalisation with invalid password MEPD unblock key should | |
89 be asked not Puk1. | |
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 | |
92 | |
93 Nov 24, 2005 DR: OMAPS00045909 - Shashi Shekar B.S. | |
94 Description: Improve IMEI control mechanism | |
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, | |
97 since the PS will not be booted at all!!! | |
98 | |
99 July 19, 2005 REF: CRR LOCOSTO-ENH-28173 xpradipg | |
100 Description: To provide MMI Support to enable/disable/change password and | |
101 query all the Personalization locks | |
102 Solution: Integration of the changes for the same provided by the soldel | |
103 team | |
104 | |
105 June 16, 2005 REF: CRR 31267 x0021334 | |
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 | |
108 message is displayed to the user. | |
109 | |
110 25/10/00 Original Condat(UK) BMI version. | |
111 | |
112 $End | |
113 | |
114 *******************************************************************************/ | |
115 #ifndef _DEF_MMI_PINS_H_ | |
116 #define _DEF_MMI_PINS_H_ | |
117 | |
118 #define ALLOC_MEMORY mfwAlloc | |
119 #define FREE_MEMORY mfwFree | |
120 | |
121 //API - 30/10/02 Move these defines to the header file 1162 | |
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 */ | |
124 #define MAX_PIN_EN_DIS 8 /*SPR 2145 maximum string length for PIN1 when enabling/disabling PIN1 */ | |
125 #define MIN_PIN 4 | |
126 #define TIMERESULT 500 /* time for results(later to change!!*/ | |
127 #define TIMEOUT 30000 /* time for entering */ | |
128 | |
129 //x0pleela 09 Mar, 2007 ER: OMAPS00122561 | |
130 #ifdef FF_PHONE_LOCK | |
131 #define PH_MAX_DIG 4 /*MAX digits for Phone unlock code*/ | |
132 #endif | |
133 | |
134 /* typedefs */ | |
135 | |
136 typedef enum | |
137 { | |
138 INPUT_PIN1 = PinsDummy, | |
139 INPUT_PIN2, | |
140 INPUT_PUK1, | |
141 #ifdef SIM_PERS | |
142 PERM_BLK1, | |
143 #endif | |
144 INPUT_PUK2, | |
145 INPUT_NEW_PIN, | |
146 INPUT_NEW_PIN_AGAIN, | |
147 INPUT_NEW_PIN2, | |
148 INPUT_NEW_PIN2_AGAIN, | |
149 #ifdef SIM_PERS | |
150 INPUT_SIM_PLOCK, | |
151 TXT_ENTER_PLOCK, | |
152 SIM_LOCK_STATUS_END, | |
153 SIM_PLOCK_END, | |
154 SIM_LOCK_ENDSUCC, | |
155 SIM_LOCK_ENDIS_FAIL, | |
156 SIM_LOCK_REQ_OLD, | |
157 SIM_LOCK_STATUS, | |
158 SIM_LOCK_REQ_NEW, | |
159 TXT_ENTER_NEW_SIMLOCK, | |
160 TXT_ENTER_NEW_SIMLOCK_AGAIN, | |
161 INPUT_NEW_SIM_PLOCK, | |
162 INPUT_NEW_SIM_PLOCK_AGAIN, | |
163 NEW_SIM_PLOCK_END, | |
164 NEW_SIM_PLOCK_FAIL, | |
165 SIM_LOCK_NEW_ENDISFAIL, | |
166 SIM_LOCK_NEW_ENDSUCC, | |
167 SIM_LOCK_REQ_FCPWD, | |
168 SIM_LOCK_FCPWD_FAIL, | |
169 SIM_LOCK_FCPWDSUCC, | |
170 TXT_ENTER_FCPWD, | |
171 INPUT_SIM_FCPWD, | |
172 SIM_FCPWD_END, | |
173 FAILURE_PASS_CHG, | |
174 SIM_LOCK_NEW_ENDSUCC_CKEY, | |
175 INPUT_SIM_PIN_REQ, | |
176 INPUT_NLOCK_PIN_REQ, | |
177 INPUT_NSLOCK_PIN_REQ, | |
178 INPUT_SPLOCK_PIN_REQ, | |
179 INPUT_CLOCK_PIN_REQ, | |
180 SIM_LOCK_ALREADY_ENDIS, | |
181 SIM_LOCK_PERS_CHK_OK, | |
182 SIM_LOCK_SIM_REM, | |
183 SMLK_PUK, | |
184 SMLK_SHOW_FC_FAIL, | |
185 SMLK_SHOW_FC_SUCC, | |
186 SMLK_SHOW_FC_FAIL1, | |
187 //x0pleela 20 July, 2006 ER: OMAPS00087586, OMAPS00087587 | |
188 SMLK_MASTERKEY, | |
189 INPUT_MASTER_KEY_REQ, | |
190 SIM_LOCK_REQ_MKPWD, | |
191 TXT_ENTER_MKPWD, | |
192 INPUT_SIM_MKPWD, | |
193 SIM_MKPWD_END, | |
194 SIM_LOCK_MKPWD_FAIL, | |
195 SIM_LOCK_MKPWDSUCC, | |
196 SIM_LOCK_BUSY, | |
197 SIM_LOCK_BUSY_BOOTUP, | |
198 SMLK_SHOW_MK_FAIL, | |
199 SMLK_SHOW_MK_SUCC, | |
200 SIM_LOCK_BUSY_UNBLOCK, | |
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 | |
203 SMLK_SHOW_DEP_CATS_UNLOCKED, //x0pleela 13 Nov, 2006 DR: OMAPS00103356 if Master unlocking operation is successful | |
204 #endif | |
205 INSERT_CARD, | |
206 CARD_REJECTED, | |
207 PIN_OK, | |
208 PIN2_OK, | |
209 PIN1_OK, | |
210 PIN1_STATUS, | |
211 PIN1_STATUS_END, | |
212 PIN2_ABORT, | |
213 PIN1_ABORT, | |
214 PIN1_REQ, | |
215 PIN2_REQ, | |
216 PIN1_REQ_ATT, | |
217 PUK1_REQ_ACT_INFO, | |
218 PUK1_REQ, | |
219 #ifdef SIM_PERS | |
220 PERM_BLK, | |
221 PUK_FCM_REQ, | |
222 #endif | |
223 PUK1_OK_END, | |
224 PIN1_REQ_OLD, | |
225 PIN2_REQ_OLD, | |
226 GSM_FAIL, | |
227 NEW_PIN_FAIL, | |
228 NEW_PIN2_FAIL, | |
229 PUK1_REQ_VER_INFO, | |
230 PUK1_UNBL_FAIL_INFO, | |
231 PUK1_UNBL_FATAL_ERROR, | |
232 INVALID_CARD, | |
233 NO_SIM_CARD, | |
234 SIM_UNLOCK_OK, | |
235 SIM_LOCK_ERR, | |
236 SIM_PLOCK_REQ, | |
237 SIM_NLOCK_REQ, | |
238 SIM_NSLOCK_REQ, | |
239 SIM_SPLOCK_REQ, | |
240 SIM_CLOCK_REQ, | |
241 SIM_PLOCK, | |
242 SIM_NLOCK, | |
243 SIM_NSLOCK, | |
244 SIM_SPLOCK, | |
245 SIM_CLOCK, | |
246 TXT_ENTER_PIN1, | |
247 TXT_ENTER_PIN2, | |
248 TXT_ENTER_PUK1, | |
249 #ifdef SIM_PERS | |
250 ME_PERM_BLK, | |
251 #endif | |
252 TXT_ENTER_PUK2, | |
253 TXT_ENTER_NEW_PIN, | |
254 TXT_ENTER_NEW_PIN2, | |
255 TXT_ENTER_NEW_PIN_AGAIN, | |
256 TXT_ENTER_NEW_PIN_AGAIN2, | |
257 TXT_INVALID_CARD, | |
258 TXT_NO_CARD, | |
259 TXT_INSERT_CARD, | |
260 PIN1_END, | |
261 PIN2_END, | |
262 PUK1_END, | |
263 PIN_OK_INFO, | |
264 PIN_OK_END, | |
265 TXT_SIM_LOCK_ALL, | |
266 TXT_SIM_PLOCK, | |
267 TXT_SIM_NLOCK, | |
268 TXT_SIM_NSLOCK, | |
269 TXT_SIM_SPLOCK, | |
270 TXT_SIM_CLOCK, | |
271 PUK1_UNBL_SUCC, | |
272 SIM_REMOVED, | |
273 SIM_LOCK_ALL, | |
274 PIN1_CH_END, | |
275 PIN2_CH_END, | |
276 UNBL_OK, | |
277 FDN_UNBL_OK, | |
278 PIN2_REQ_ATT, | |
279 PIN1_CH_SUCC, | |
280 PIN2_CH_SUCC, | |
281 PUK2_REQ, | |
282 NEW_PIN_END, | |
283 NEW_PIN2_END, | |
284 PIN1_ENAB_END, | |
285 PIN1_DISAB_END, | |
286 PIN1_ENDIS_FAIL, | |
287 SETT_ABORT, | |
288 FDN_ACT_END, | |
289 FDN_ACTIVATED, | |
290 ADN_ACTIVATED, | |
291 FDN_FAIL, | |
292 FDN_WAIT, | |
293 FDN_DEACT_END, | |
294 IDLE_GSM_FAIL, | |
295 PIN2_SIM_FAILURE, // Marcus: Issue 1419: 16/12/2002 | |
296 SIM_LOCKED, // 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 | |
299 SHOW_IMEI_INVALID,// Nov 24, 2005, a0876501, DR: OMAPS00045909 | |
300 TXT_INVALID_IMEI // Nov 24, 2005, a0876501, DR: OMAPS00045909 | |
301 //x0pleela 18 Oct, 2006 DR: OMAPS00099660 | |
302 //Flagging the following enums | |
303 #ifdef SIM_PERS | |
304 //x0pleela 30 Aug, 2006 DR: OMAPS00091250 | |
305 , NO_MEPD, | |
306 NO_MEPD_DATA, | |
307 TXT_NO_MEPD | |
308 #endif | |
309 //x0pleela 05 Mar, 2007 ER: OMAPS00122561 | |
310 #ifdef FF_PHONE_LOCK | |
311 ,PH_LOCK_ALREADY_ENDIS, | |
312 PH_LOCK_STATUS, | |
313 PH_LOCK_REQ_OLD, | |
314 TXT_ENTER_PHLOCK, | |
315 INPUT_PH_LOCK, | |
316 PH_LOCK_END, | |
317 PH_LOCK_REQ_NEW, | |
318 TXT_ENTER_NEW_PHLOCK, | |
319 INPUT_NEW_PH_LOCK, | |
320 INPUT_NEW_PH_LOCK_AGAIN, | |
321 TXT_ENTER_NEW_PHLOCK_AGAIN, | |
322 NEW_PH_LOCK_END, | |
323 NEW_PH_LOCK_FAIL, | |
324 PH_LOCK_NEW_ENDISFAIL, | |
325 PH_LOCK_NEW_ENDSUCC, | |
326 TXT_PH_LOCK_ALL, | |
327 PH_LOCK_ENDIS_FAIL, | |
328 PH_LOCK_ENDSUCC, | |
329 AUTO_PH_LOCK_ENDSUCC, | |
330 PH_LOCK_SUCCESS, | |
331 PH_LOCK_FAILURE, | |
332 PH_UNLOCK_REQ, | |
333 PH_LOCK_EN_FAIL, | |
334 PH_LOCK_SUCC, | |
335 PH_LOCK_AUTO_SUCC, | |
336 PH_LOCK_SETT_ABORT | |
337 #endif /*FF_PHONE_LOCK*/ | |
338 | |
339 } PIN_CASE; | |
340 //xashmic 21 Sep 2006, OMAPS00095831 | |
341 typedef enum | |
342 { | |
343 BOOTUP_STATE_NONE = -1, | |
344 BOOTUP_STATE_INPROGRESS, | |
345 BOOTUP_STATE_COMPLETED | |
346 }T_BOOTUP_STATE; | |
347 typedef enum | |
348 { | |
349 DEFAULT = 0, | |
350 ENABLE, | |
351 DISABLE, | |
352 FDN_ACTIV, | |
353 FDN_DEACTIV, | |
354 CHANGE_PIN, | |
355 CHANGE_PIN2, | |
356 IDLE_GSM, | |
357 PIN2_CHECK, | |
358 PIN1_CHECK | |
359 }SET_CASE; | |
360 | |
361 #define FOCUSSED_PINS 1 | |
362 #define NOT_FOCUSSED_PINS 0 | |
363 | |
364 //API define for a flag for PIN Emergency Entry | |
365 extern char pin_emerg_call[MIN_PIN]; | |
366 | |
367 void pin_init (T_MFW_HND parent_window); | |
368 T_MFW_HND pin_create (T_MFW_HND parent_window); | |
369 void pin_destroy (T_MFW_HND own_window); | |
370 int sim_event_cb_main (T_MFW_EVENT event, T_MFW_HND para); | |
371 T_MFW_HND pin_edt_create (T_MFW_HND parent_window); | |
372 void pin_edt_destroy (T_MFW_HND own_window); | |
373 T_MFW_HND pin_mess_create (T_MFW_HND parent_window); | |
374 void pin_mess_destroy(T_MFW_HND own_window); | |
375 void pin_messages(T_MFW_HND win, USHORT event, SHORT value, void * parameter); | |
376 int pin_info_cb(T_MFW_HND win, USHORT identifier, UBYTE reasons); | |
377 void sim_rem_init (T_MFW_HND parent_window); | |
378 void sim_rem_exit(T_MFW_HND parentWindow); | |
379 T_MFW_HND sim_rem_create (T_MFW_HND parent_window); | |
380 void sim_rem_destroy (T_MFW_HND own_window); | |
381 int sim_rem_cb_main (T_MFW_EVENT event, T_MFW_HND para); | |
382 int pinsIsFocussed(void); | |
383 void setting_pin_init (T_MFW_HND parent_window); | |
384 T_MFW_HND setting_pin_create (T_MFW_HND parent_window); | |
385 void setting_pin_destroy (T_MFW_HND own_window); | |
386 int sim_event_cb_setting (T_MFW_EVENT event, T_MFW_HND para); | |
387 U16 set_pin_ch_item_flag (struct MfwMnuTag * m,struct MfwMnuAttrTag * ma,struct MfwMnuItemTag * mi); | |
388 U16 set_pin_en_item_flag (struct MfwMnuTag * m,struct MfwMnuAttrTag * ma,struct MfwMnuItemTag * mi); | |
389 U16 set_pin_dis_item_flag (struct MfwMnuTag * m,struct MfwMnuAttrTag * ma,struct MfwMnuItemTag * mi); | |
390 U16 set_pin2_ch_item_flag (struct MfwMnuTag * m,struct MfwMnuAttrTag * ma,struct MfwMnuItemTag * mi); | |
391 void set_pin_info_cb(T_MFW_HND win, USHORT identifier, UBYTE reasons); | |
392 void set_pin_messages(T_MFW_HND win, USHORT event, SHORT value, void * parameter); | |
393 void set_pin_mess_destroy (T_MFW_HND own_window); | |
394 T_MFW_HND set_pin_mess_create(T_MFW_HND parent_window); | |
395 void set_pin_edt_destroy (T_MFW_HND own_window); | |
396 T_MFW_HND set_pin_edt_create (T_MFW_HND parent_window); | |
397 int pin_change (struct MfwMnuTag * m, struct MfwMnuItemTag * i); | |
398 int pin2_change (struct MfwMnuTag * m, struct MfwMnuItemTag * i); | |
399 void setting_pin_main(T_MFW_HND win, USHORT event, SHORT value, void * parameter); | |
400 int pin_disable (struct MfwMnuTag * m, struct MfwMnuItemTag * i); | |
401 int pin_enable (struct MfwMnuTag * m, struct MfwMnuItemTag * i); | |
402 int pin_status (struct MfwMnuTag * m, struct MfwMnuItemTag * i); | |
403 int pin2_fdn_activate (void); | |
404 int pin2_fdn_deactivate (void); | |
405 #ifdef SIM_PERS | |
406 void setLockActionLock(void); | |
407 void setLockActionUnlock(void); | |
408 void setLockActionChPwd(void); | |
409 void setLockActionChkStat(void); | |
410 int SIMLock_resetFC (struct MfwMnuTag * m, struct MfwMnuItemTag * i); | |
411 int setLockTypeNs (struct MfwMnuTag * m, struct MfwMnuItemTag * i); | |
412 int setLockTypeSp (struct MfwMnuTag * m, struct MfwMnuItemTag * i); | |
413 int setLockTypeCp (struct MfwMnuTag * m, struct MfwMnuItemTag * i); | |
414 int setLockTypePs (struct MfwMnuTag * m, struct MfwMnuItemTag * i); | |
415 int setLockTypeNw (struct MfwMnuTag * m, struct MfwMnuItemTag * i); | |
416 int get_fc_attempts_left (struct MfwMnuTag * m, struct MfwMnuItemTag * i); | |
417 int get_fc_max_value (struct MfwMnuTag * m, struct MfwMnuItemTag * i); | |
418 int get_fail_reset_fc_max_value (struct MfwMnuTag * m, struct MfwMnuItemTag * i); | |
419 int get_succ_reset_fc_max_value (struct MfwMnuTag * m, struct MfwMnuItemTag * i); | |
420 int get_fail_reset_fc_attempts_left (struct MfwMnuTag * m, struct MfwMnuItemTag * i); | |
421 int get_succ_reset_fc_attempts_left (struct MfwMnuTag * m, struct MfwMnuItemTag * i); | |
422 int get_timer_flag_value (struct MfwMnuTag * m, struct MfwMnuItemTag * i); | |
423 int get_etsi_flag_value (struct MfwMnuTag * m, struct MfwMnuItemTag * i); | |
424 int get_airtel_ind_flag_value (struct MfwMnuTag * m, struct MfwMnuItemTag * i); | |
425 //x0pleela 20 July, 2006 ER: OMAPS00087586, OMAPS00087587 | |
426 int SIMLock_MasterKeyUnlock (struct MfwMnuTag * m, struct MfwMnuItemTag * i); | |
427 int SIMLock_MasterKeyUnlock_bootup (struct MfwMnuTag * m, struct MfwMnuItemTag * i); | |
428 //x0pleela 25 Sep, 2006 ER: OMAPS00095524 | |
429 int setLockTypePb (struct MfwMnuTag * m, struct MfwMnuItemTag * i); | |
430 | |
431 USHORT simlock_check_masterkey(struct MfwMnuTag *m, | |
432 struct MfwMnuAttrTag *ma, | |
433 struct MfwMnuItemTag *mi); | |
434 USHORT simlock_check_NWCatLock(struct MfwMnuTag *m, | |
435 struct MfwMnuAttrTag *ma, | |
436 struct MfwMnuItemTag *mi); | |
437 USHORT simlock_check_NSCatLock(struct MfwMnuTag *m, | |
438 struct MfwMnuAttrTag *ma, | |
439 struct MfwMnuItemTag *mi); | |
440 USHORT simlock_check_SPCatLock(struct MfwMnuTag *m, | |
441 struct MfwMnuAttrTag *ma, | |
442 struct MfwMnuItemTag *mi); | |
443 USHORT simlock_check_CPCatLock(struct MfwMnuTag *m, | |
444 struct MfwMnuAttrTag *ma, | |
445 struct MfwMnuItemTag *mi); | |
446 USHORT simlock_check_SIMCatLock(struct MfwMnuTag *m, | |
447 struct MfwMnuAttrTag *ma, | |
448 struct MfwMnuItemTag *mi); | |
449 USHORT simlock_check_CatBlock(struct MfwMnuTag *m, | |
450 struct MfwMnuAttrTag *ma, | |
451 struct MfwMnuItemTag *mi); | |
452 | |
453 //x0pleela 25 Sep, 2006 ER: OMAPS00095524 | |
454 USHORT simlock_check_PBCatLock(struct MfwMnuTag *m, | |
455 struct MfwMnuAttrTag *ma, | |
456 struct MfwMnuItemTag *mi); | |
457 int SIMLock_unblock_ME(struct MfwMnuTag * m, struct MfwMnuItemTag * i); | |
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); | |
460 UBYTE simlock_get_masterkey_status(void); | |
461 int simp_unlock_Category(struct MfwMnuTag * m, struct MfwMnuItemTag * i); | |
462 #endif | |
463 void backpinFDNactdeact(void); | |
464 int pin2_check (T_MFW_HND parent_window); | |
465 int pin1_check (T_MFW_HND parent_window); | |
466 int pinsSetIsFocussed(void); | |
467 int fdnActivate(struct MfwMnuTag * m, struct MfwMnuItemTag * i); | |
468 int fdnDeactivate(struct MfwMnuTag * m, struct MfwMnuItemTag * i); | |
469 U16 set_fdn_on_item_flag (struct MfwMnuTag * m, struct MfwMnuAttrTag * ma, struct MfwMnuItemTag * mi); | |
470 U16 set_fdn_off_item_flag (struct MfwMnuTag * m, struct MfwMnuAttrTag * ma, struct MfwMnuItemTag * mi); | |
471 int gsm_idle (T_MFW_HND parent_window,char * string); | |
472 void pin_exit (void); | |
473 int mmiPinsEmergencyCall(void); | |
474 void mmiPinsResetEmergencyCall(void); | |
475 | |
476 T_BOOTUP_STATE getBootUpState(void);//xashmic 21 Sep 2006, OMAPS00095831 | |
477 | |
478 //x0pleela 06 Mar, 2007 ER: OMAPS00122561 | |
479 #ifdef FF_PHONE_LOCK | |
480 int phLock_Enable_Lock (struct MfwMnuTag * m, struct MfwMnuItemTag * i); | |
481 int phLock_Automatic_On (struct MfwMnuTag * m, struct MfwMnuItemTag * i); | |
482 int phLock_Automatic_Off (struct MfwMnuTag * m, struct MfwMnuItemTag * i); | |
483 int phLock_Change_UnlockCode (struct MfwMnuTag * m, struct MfwMnuItemTag * i); | |
484 int phLock_UnLock (void); | |
485 int phLock_Lock (void); | |
486 #endif /* FF_PHONE_LOCK */ | |
487 #endif | |
488 |