comparison src/ui/mfw/mfw_sima.c @ 188:92abb46dc1ba

src/ui/mfw/*.[ch]: rm trailing white space
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 19 Jan 2021 06:10:27 +0000
parents 67bfe9f274f6
children
comparison
equal deleted inserted replaced
187:a33dd8a5dcc9 188:92abb46dc1ba
85 #ifdef NEPTUNE_BOARD 85 #ifdef NEPTUNE_BOARD
86 EXTERN void sim_signal (MfwEvt event, void *para); 86 EXTERN void sim_signal (MfwEvt event, void *para);
87 #endif /* NEPTUNE_BOARD */ 87 #endif /* NEPTUNE_BOARD */
88 /* End - remove warning Aug - 11 */ 88 /* End - remove warning Aug - 11 */
89 89
90 90
91 T_MFW_READ_CALLBACK read_callback_data; 91 T_MFW_READ_CALLBACK read_callback_data;
92 92
93 // Shashi Shekar B.S., a0876501, Jan 16, 2006, DR: OMAPS00061460 93 // Shashi Shekar B.S., a0876501, Jan 16, 2006, DR: OMAPS00061460
94 #ifdef FF_MMI_SAT_ICON 94 #ifdef FF_MMI_SAT_ICON
95 EXTERN U8 read_image_instance_file; 95 EXTERN U8 read_image_instance_file;
165 165
166 if(table_id NEQ NO_ENTRY) 166 if(table_id NEQ NO_ENTRY)
167 { 167 {
168 simShrdPrm.atb[table_id].ntryUsdFlg = TRUE; 168 simShrdPrm.atb[table_id].ntryUsdFlg = TRUE;
169 simShrdPrm.atb[table_id].accType = ACT_RD_DAT; 169 simShrdPrm.atb[table_id].accType = ACT_RD_DAT;
170 // R99 SIM Interface changes . Indicates whether path_info variable has valid values 170 // R99 SIM Interface changes . Indicates whether path_info variable has valid values
171 simShrdPrm.atb[table_id].v_path_info = FALSE; 171 simShrdPrm.atb[table_id].v_path_info = FALSE;
172 simShrdPrm.atb[table_id].reqDataFld = data_id; 172 simShrdPrm.atb[table_id].reqDataFld = data_id;
173 simShrdPrm.atb[table_id].dataOff = 0; 173 simShrdPrm.atb[table_id].dataOff = 0;
174 simShrdPrm.atb[table_id].dataLen = len; 174 simShrdPrm.atb[table_id].dataLen = len;
175 simShrdPrm.atb[table_id].recMax = max_length; 175 simShrdPrm.atb[table_id].recMax = max_length;
192 | PROJECT: MMI-Framework (8417) MODULE: MFW_SIMA | 192 | PROJECT: MMI-Framework (8417) MODULE: MFW_SIMA |
193 | STATE : code ROUTINE: sim_read_sim_icon | 193 | STATE : code ROUTINE: sim_read_sim_icon |
194 +----------------------------------------------------------------------+ 194 +----------------------------------------------------------------------+
195 195
196 196
197 PURPOSE : Request to read SIM card EF IMG. This is separated from the 197 PURPOSE : Request to read SIM card EF IMG. This is separated from the
198 above SIM read function as we have to specify the record number 198 above SIM read function as we have to specify the record number
199 also while reading the EF record & we dont want this functionality 199 also while reading the EF record & we dont want this functionality
200 for Lite variants. 200 for Lite variants.
201 201
202 */ 202 */
203 203
204 void sim_read_sim_icon(T_SIM_ACCESS_PARAM *sim_icon_read_param) 204 void sim_read_sim_icon(T_SIM_ACCESS_PARAM *sim_icon_read_param)
211 211
212 if(table_id NEQ NO_ENTRY) 212 if(table_id NEQ NO_ENTRY)
213 { 213 {
214 simShrdPrm.atb[table_id].ntryUsdFlg = TRUE; 214 simShrdPrm.atb[table_id].ntryUsdFlg = TRUE;
215 simShrdPrm.atb[table_id].accType = ACT_RD_REC; 215 simShrdPrm.atb[table_id].accType = ACT_RD_REC;
216 // R99 SIM Interface changes. Indicates whether path_info variable has valid values 216 // R99 SIM Interface changes. Indicates whether path_info variable has valid values
217 simShrdPrm.atb[table_id].v_path_info = FALSE; 217 simShrdPrm.atb[table_id].v_path_info = FALSE;
218 simShrdPrm.atb[table_id].reqDataFld = sim_icon_read_param -> data_id; 218 simShrdPrm.atb[table_id].reqDataFld = sim_icon_read_param -> data_id;
219 simShrdPrm.atb[table_id].dataOff = sim_icon_read_param -> offset; 219 simShrdPrm.atb[table_id].dataOff = sim_icon_read_param -> offset;
220 simShrdPrm.atb[table_id].dataLen = sim_icon_read_param -> len; 220 simShrdPrm.atb[table_id].dataLen = sim_icon_read_param -> len;
221 simShrdPrm.atb[table_id].recMax = sim_icon_read_param -> max_length; 221 simShrdPrm.atb[table_id].recMax = sim_icon_read_param -> max_length;
252 252
253 simShrdPrm.atb[table_id].ntryUsdFlg = FALSE; 253 simShrdPrm.atb[table_id].ntryUsdFlg = FALSE;
254 254
255 // Shashi Shekar B.S., a0876501, Jan 16, 2006, DR: OMAPS00061460 255 // Shashi Shekar B.S., a0876501, Jan 16, 2006, DR: OMAPS00061460
256 #ifdef FF_MMI_SAT_ICON 256 #ifdef FF_MMI_SAT_ICON
257 /* If we are reading the image data contents, 257 /* If we are reading the image data contents,
258 we dont need to enter the switch statement */ 258 we dont need to enter the switch statement */
259 if (read_image_instance_file) 259 if (read_image_instance_file)
260 { 260 {
261 sim_img_instance_data_cnf(simShrdPrm.atb[table_id].errCode, 261 sim_img_instance_data_cnf(simShrdPrm.atb[table_id].errCode,
262 simShrdPrm.atb[table_id].exchData); 262 simShrdPrm.atb[table_id].exchData);
263 return; 263 return;
264 } 264 }
265 #endif 265 #endif
266 266
268 { 268 {
269 // Shashi Shekar B.S., a0876501, Jan 16, 2006, DR: OMAPS00061460 269 // Shashi Shekar B.S., a0876501, Jan 16, 2006, DR: OMAPS00061460
270 #ifdef FF_MMI_SAT_ICON 270 #ifdef FF_MMI_SAT_ICON
271 /* EF-IMG contents */ 271 /* EF-IMG contents */
272 case SIM_IMG: 272 case SIM_IMG:
273 sim_img_cnf(simShrdPrm.atb[table_id].errCode, simShrdPrm.atb[table_id].recNr, 273 sim_img_cnf(simShrdPrm.atb[table_id].errCode, simShrdPrm.atb[table_id].recNr,
274 (UBYTE *)simShrdPrm.atb[table_id].exchData); 274 (UBYTE *)simShrdPrm.atb[table_id].exchData);
275 break; 275 break;
276 #endif 276 #endif
277 277
278 /* Service provide name */ 278 /* Service provide name */
323 323
324 if(table_id NEQ NO_ENTRY) 324 if(table_id NEQ NO_ENTRY)
325 { 325 {
326 simShrdPrm.atb[table_id].ntryUsdFlg = TRUE; 326 simShrdPrm.atb[table_id].ntryUsdFlg = TRUE;
327 simShrdPrm.atb[table_id].accType = ACT_WR_DAT; 327 simShrdPrm.atb[table_id].accType = ACT_WR_DAT;
328 //R99 Sim Interface changes. Indicates whether path_info variable has valid values 328 //R99 Sim Interface changes. Indicates whether path_info variable has valid values
329 simShrdPrm.atb[table_id].v_path_info = FALSE; 329 simShrdPrm.atb[table_id].v_path_info = FALSE;
330 simShrdPrm.atb[table_id].reqDataFld = data_id; 330 simShrdPrm.atb[table_id].reqDataFld = data_id;
331 simShrdPrm.atb[table_id].dataOff = 0; 331 simShrdPrm.atb[table_id].dataOff = 0;
332 simShrdPrm.atb[table_id].dataLen = length; 332 simShrdPrm.atb[table_id].dataLen = length;
333 simShrdPrm.atb[table_id].exchData = data; 333 simShrdPrm.atb[table_id].exchData = data;