Home
last modified time | relevance | path

Searched refs:sw1 (Results 1 – 25 of 26) sorted by relevance

12

/hardware/nxp/secure_element/pn8x/1.0/
DSecureElement.cpp221 uint8_t sw1 = rspApdu.p_data[rspApdu.len - 2]; in openLogicalChannel() local
225 if ((sw1 == 0x90 && sw2 == 0x00) || (sw1 == 0x62) || (sw1 == 0x63)) { in openLogicalChannel()
232 else if ((sw1 == 0x6A && sw2 == 0x82) || in openLogicalChannel()
233 (sw1 == 0x69 && (sw2 == 0x99 || sw2 == 0x85))) { in openLogicalChannel()
237 else if (sw1 == 0x6A && sw2 == 0x86) { in openLogicalChannel()
303 uint8_t sw1 = rspApdu.p_data[rspApdu.len - 2]; in openBasicChannel() local
307 if ((sw1 == 0x90 && sw2 == 0x00) || (sw1 == 0x62) || (sw1 == 0x63)) { in openBasicChannel()
319 else if ((sw1 == 0x6A && sw2 == 0x82) || in openBasicChannel()
320 (sw1 == 0x69 && (sw2 == 0x99 || sw2 == 0x85))) { in openBasicChannel()
324 else if (sw1 == 0x6A && sw2 == 0x86) { in openBasicChannel()
/hardware/nxp/secure_element/snxxx/1.0/
DSecureElement.cpp351 if (rpdu.len > 0 && (rpdu.sw1 == 0x64 && rpdu.sw2 == 0xFF)) { in openLogicalChannel()
363 resApduBuff.selectResponse[responseLen - 2] = rpdu.sw1; in openLogicalChannel()
366 if ((rpdu.sw1 == 0x90 && rpdu.sw2 == 0x00) || (rpdu.sw1 == 0x62) || in openLogicalChannel()
367 (rpdu.sw1 == 0x63)) { in openLogicalChannel()
371 else if ((rpdu.sw1 == 0x6A && rpdu.sw2 == 0x82) || in openLogicalChannel()
372 (rpdu.sw1 == 0x69 && (rpdu.sw2 == 0x99 || rpdu.sw2 == 0x85))) { in openLogicalChannel()
376 else if (rpdu.sw1 == 0x6A && rpdu.sw2 == 0x86) { in openLogicalChannel()
454 if (rpdu.len > 0 && (rpdu.sw1 == 0x64 && rpdu.sw2 == 0xFF)) { in openBasicChannel()
466 result[responseLen - 2] = rpdu.sw1; in openBasicChannel()
469 if (((rpdu.sw1 == 0x90) && (rpdu.sw2 == 0x00)) || (rpdu.sw1 == 0x62) || in openBasicChannel()
[all …]
DVirtualISO.cpp289 if (rpdu.len > 0 && (rpdu.sw1 == 0x64 && rpdu.sw2 == 0xFF)) { in openLogicalChannel()
301 resApduBuff.selectResponse[responseLen - 2] = rpdu.sw1; in openLogicalChannel()
304 if (rpdu.sw1 == 0x90 && rpdu.sw2 == 0x00) { in openLogicalChannel()
308 else if (rpdu.sw1 == 0x6A && rpdu.sw2 == 0x82) { in openLogicalChannel()
312 else if (rpdu.sw1 == 0x6A && rpdu.sw2 == 0x86) { in openLogicalChannel()
381 if (rpdu.len > 0 && (rpdu.sw1 == 0x64 && rpdu.sw2 == 0xFF)) { in openBasicChannel()
393 result[responseLen - 2] = rpdu.sw1; in openBasicChannel()
396 if ((rpdu.sw1 == 0x90) && (rpdu.sw2 == 0x00)) { in openBasicChannel()
406 else if (rpdu.sw1 == 0x6A && rpdu.sw2 == 0x82) { in openBasicChannel()
410 else if (rpdu.sw1 == 0x6A && rpdu.sw2 == 0x86) { in openBasicChannel()
[all …]
/hardware/nxp/secure_element/pn8x/1.1/
DSecureElement.cpp263 uint8_t sw1 = rspApdu.p_data[rspApdu.len - 2]; in openLogicalChannel() local
267 if ((sw1 == 0x90 && sw2 == 0x00) || (sw1 == 0x62) || (sw1 == 0x63)) { in openLogicalChannel()
274 else if ((sw1 == 0x6A && sw2 == 0x82) || in openLogicalChannel()
275 (sw1 == 0x69 && (sw2 == 0x99 || sw2 == 0x85))) { in openLogicalChannel()
279 else if (sw1 == 0x6A && sw2 == 0x86) { in openLogicalChannel()
345 uint8_t sw1 = rspApdu.p_data[rspApdu.len - 2]; in openBasicChannel() local
349 if ((sw1 == 0x90 && sw2 == 0x00) || (sw1 == 0x62) || (sw1 == 0x63)) { in openBasicChannel()
361 else if ((sw1 == 0x6A && sw2 == 0x82) || in openBasicChannel()
362 (sw1 == 0x69 && (sw2 == 0x99 || sw2 == 0x85))) { in openBasicChannel()
366 else if (sw1 == 0x6A && sw2 == 0x86) { in openBasicChannel()
/hardware/nxp/secure_element/snxxx/1.1/
DSecureElement.cpp437 if (rpdu.len > 0 && (rpdu.sw1 == 0x64 && rpdu.sw2 == 0xFF)) { in openLogicalChannel()
449 resApduBuff.selectResponse[responseLen - 2] = rpdu.sw1; in openLogicalChannel()
452 if ((rpdu.sw1 == 0x90 && rpdu.sw2 == 0x00) || (rpdu.sw1 == 0x62) || in openLogicalChannel()
453 (rpdu.sw1 == 0x63)) { in openLogicalChannel()
457 else if ((rpdu.sw1 == 0x6A && rpdu.sw2 == 0x82) || in openLogicalChannel()
458 (rpdu.sw1 == 0x69 && (rpdu.sw2 == 0x99 || rpdu.sw2 == 0x85))) { in openLogicalChannel()
462 else if (rpdu.sw1 == 0x6A && rpdu.sw2 == 0x86) { in openLogicalChannel()
540 if (rpdu.len > 0 && (rpdu.sw1 == 0x64 && rpdu.sw2 == 0xFF)) { in openBasicChannel()
552 result[responseLen - 2] = rpdu.sw1; in openBasicChannel()
555 if (((rpdu.sw1 == 0x90) && (rpdu.sw2 == 0x00)) || (rpdu.sw1 == 0x62) || in openBasicChannel()
[all …]
DVirtualISO.cpp356 if (rpdu.len > 0 && (rpdu.sw1 == 0x64 && rpdu.sw2 == 0xFF)) { in openLogicalChannel()
368 resApduBuff.selectResponse[responseLen - 2] = rpdu.sw1; in openLogicalChannel()
371 if (rpdu.sw1 == 0x90 && rpdu.sw2 == 0x00) { in openLogicalChannel()
375 else if (rpdu.sw1 == 0x6A && rpdu.sw2 == 0x82) { in openLogicalChannel()
379 else if (rpdu.sw1 == 0x6A && rpdu.sw2 == 0x86) { in openLogicalChannel()
448 if (rpdu.len > 0 && (rpdu.sw1 == 0x64 && rpdu.sw2 == 0xFF)) { in openBasicChannel()
460 result[responseLen - 2] = rpdu.sw1; in openBasicChannel()
463 if ((rpdu.sw1 == 0x90) && (rpdu.sw2 == 0x00)) { in openBasicChannel()
473 else if (rpdu.sw1 == 0x6A && rpdu.sw2 == 0x82) { in openBasicChannel()
477 else if (rpdu.sw1 == 0x6A && rpdu.sw2 == 0x86) { in openBasicChannel()
[all …]
/hardware/nxp/secure_element/snxxx/aidl/
DSecureElement.cpp471 if (rpdu.len > 0 && (rpdu.sw1 == 0x64 && rpdu.sw2 == 0xFF)) { in openLogicalChannel()
483 resApduBuff.selectResponse[responseLen - 2] = rpdu.sw1; in openLogicalChannel()
485 if (rpdu.sw1 == SW1_BYTES_REMAINING) { in openLogicalChannel()
494 if ((rpdu.sw1 == 0x90 && rpdu.sw2 == 0x00) || (rpdu.sw1 == 0x62) || in openLogicalChannel()
495 (rpdu.sw1 == 0x63)) { in openLogicalChannel()
499 else if ((rpdu.sw1 == 0x6A && rpdu.sw2 == 0x82) || in openLogicalChannel()
500 (rpdu.sw1 == 0x69 && (rpdu.sw2 == 0x99 || rpdu.sw2 == 0x85))) { in openLogicalChannel()
504 else if (rpdu.sw1 == 0x6A && rpdu.sw2 == 0x86) { in openLogicalChannel()
653 if (rpdu.len > 0 && (rpdu.sw1 == 0x64 && rpdu.sw2 == 0xFF)) { in openBasicChannel()
665 result[responseLen - 2] = rpdu.sw1; in openBasicChannel()
[all …]
DVirtualISO.cpp316 if (rpdu.len > 0 && (rpdu.sw1 == 0x64 && rpdu.sw2 == 0xFF)) { in openLogicalChannel()
328 resApduBuff.selectResponse[responseLen - 2] = rpdu.sw1; in openLogicalChannel()
331 if (rpdu.sw1 == 0x90 && rpdu.sw2 == 0x00) { in openLogicalChannel()
335 else if (rpdu.sw1 == 0x6A && rpdu.sw2 == 0x82) { in openLogicalChannel()
339 else if (rpdu.sw1 == 0x6A && rpdu.sw2 == 0x86) { in openLogicalChannel()
414 if (rpdu.len > 0 && (rpdu.sw1 == 0x64 && rpdu.sw2 == 0xFF)) { in openBasicChannel()
426 result[responseLen - 2] = rpdu.sw1; in openBasicChannel()
429 if ((rpdu.sw1 == 0x90) && (rpdu.sw2 == 0x00)) { in openBasicChannel()
439 else if (rpdu.sw1 == 0x6A && rpdu.sw2 == 0x82) { in openBasicChannel()
443 else if (rpdu.sw1 == 0x6A && rpdu.sw2 == 0x86) { in openBasicChannel()
[all …]
/hardware/nxp/secure_element/snxxx/1.2/
DSecureElement.cpp553 if (rpdu.len > 0 && (rpdu.sw1 == 0x64 && rpdu.sw2 == 0xFF)) { in openLogicalChannel()
565 resApduBuff.selectResponse[responseLen - 2] = rpdu.sw1; in openLogicalChannel()
567 if (rpdu.sw1 == SW1_BYTES_REMAINING) { in openLogicalChannel()
576 if ((rpdu.sw1 == 0x90 && rpdu.sw2 == 0x00) || (rpdu.sw1 == 0x62) || in openLogicalChannel()
577 (rpdu.sw1 == 0x63)) { in openLogicalChannel()
581 else if ((rpdu.sw1 == 0x6A && rpdu.sw2 == 0x82) || in openLogicalChannel()
582 (rpdu.sw1 == 0x69 && (rpdu.sw2 == 0x99 || rpdu.sw2 == 0x85))) { in openLogicalChannel()
586 else if (rpdu.sw1 == 0x6A && rpdu.sw2 == 0x86) { in openLogicalChannel()
725 if (rpdu.len > 0 && (rpdu.sw1 == 0x64 && rpdu.sw2 == 0xFF)) { in openBasicChannel()
737 result[responseLen - 2] = rpdu.sw1; in openBasicChannel()
[all …]
DVirtualISO.cpp378 if (rpdu.len > 0 && (rpdu.sw1 == 0x64 && rpdu.sw2 == 0xFF)) { in openLogicalChannel()
390 resApduBuff.selectResponse[responseLen - 2] = rpdu.sw1; in openLogicalChannel()
393 if (rpdu.sw1 == 0x90 && rpdu.sw2 == 0x00) { in openLogicalChannel()
397 else if (rpdu.sw1 == 0x6A && rpdu.sw2 == 0x82) { in openLogicalChannel()
401 else if (rpdu.sw1 == 0x6A && rpdu.sw2 == 0x86) { in openLogicalChannel()
475 if (rpdu.len > 0 && (rpdu.sw1 == 0x64 && rpdu.sw2 == 0xFF)) { in openBasicChannel()
487 result[responseLen - 2] = rpdu.sw1; in openBasicChannel()
490 if ((rpdu.sw1 == 0x90) && (rpdu.sw2 == 0x00)) { in openBasicChannel()
500 else if (rpdu.sw1 == 0x6A && rpdu.sw2 == 0x82) { in openBasicChannel()
504 else if (rpdu.sw1 == 0x6A && rpdu.sw2 == 0x86) { in openBasicChannel()
[all …]
/hardware/st/secure_element/1.0/
DSecureElement.cpp272 uint8_t sw1 = rspApdu.p_data[rspApdu.len - 2]; in openLogicalChannel() local
276 if (sw1 == 0x90 && sw2 == 0x00) { in openLogicalChannel()
283 else if (sw1 == 0x6A && sw2 == 0x82) { in openLogicalChannel()
287 else if (sw1 == 0x6A && sw2 == 0x86) { in openLogicalChannel()
366 uint8_t sw1 = rspApdu.p_data[rspApdu.len - 2]; in openBasicChannel() local
370 if ((sw1 == 0x90) && (sw2 == 0x00)) { in openBasicChannel()
382 else if (sw1 == 0x6A && sw2 == 0x82) { in openBasicChannel()
386 else if (sw1 == 0x6A && sw2 == 0x86) { in openBasicChannel()
/hardware/st/secure_element/1.1/
DSecureElement.cpp257 uint8_t sw1 = rspApdu.p_data[rspApdu.len - 2]; in openLogicalChannel() local
261 if (sw1 == 0x90 && sw2 == 0x00) { in openLogicalChannel()
268 else if (sw1 == 0x6A && sw2 == 0x82) { in openLogicalChannel()
272 else if (sw1 == 0x6A && sw2 == 0x86) { in openLogicalChannel()
351 uint8_t sw1 = rspApdu.p_data[rspApdu.len - 2]; in openBasicChannel() local
355 if ((sw1 == 0x90) && (sw2 == 0x00)) { in openBasicChannel()
367 else if (sw1 == 0x6A && sw2 == 0x82) { in openBasicChannel()
371 else if (sw1 == 0x6A && sw2 == 0x86) { in openBasicChannel()
/hardware/interfaces/radio/aidl/android/hardware/radio/sim/
DIccIoResult.aidl23 int sw1;
/hardware/interfaces/radio/aidl/aidl_api/android.hardware.radio.sim/2/android/hardware/radio/sim/
DIccIoResult.aidl37 int sw1;
/hardware/interfaces/radio/aidl/aidl_api/android.hardware.radio.sim/3/android/hardware/radio/sim/
DIccIoResult.aidl38 int sw1;
/hardware/interfaces/radio/aidl/aidl_api/android.hardware.radio.sim/current/android/hardware/radio/sim/
DIccIoResult.aidl38 int sw1;
/hardware/interfaces/radio/aidl/aidl_api/android.hardware.radio.sim/1/android/hardware/radio/sim/
DIccIoResult.aidl37 int sw1;
/hardware/st/secure_element/1.2/
DSecureElement.cpp266 uint8_t sw1 = rspApdu.p_data[rspApdu.len - 2]; in openLogicalChannel() local
270 if (sw1 == 0x90 && sw2 == 0x00) { in openLogicalChannel()
277 else if (sw1 == 0x6A && sw2 == 0x82) { in openLogicalChannel()
281 else if (sw1 == 0x6A && sw2 == 0x86) { in openLogicalChannel()
360 uint8_t sw1 = rspApdu.p_data[rspApdu.len - 2]; in openBasicChannel() local
364 if ((sw1 == 0x90) && (sw2 == 0x00)) { in openBasicChannel()
376 else if (sw1 == 0x6A && sw2 == 0x82) { in openBasicChannel()
380 else if (sw1 == 0x6A && sw2 == 0x86) { in openBasicChannel()
/hardware/nxp/secure_element/snxxx/libese-spi/p73/inc/
DphNxpEse_Apdu_Api.h67 uint8_t sw1; /*!< Status byte most significant byte */ member
/hardware/nxp/secure_element/snxxx/libese-spi/p73/lib/
DphNxpEse_Apdu_Api.cpp75 pRsp->sw1 = *(pRspTrans.p_data + (pRspTrans.len - 1)); in phNxpEse_7816_Transceive()
83 pRsp->sw1 = *(pRspTrans.p_data + (pRspTrans.len - 1)); in phNxpEse_7816_Transceive()
/hardware/interfaces/radio/aidl/compat/libradiocompat/sim/
Dstructs.cpp214 .sw1 = iir.sw1, in toAidl()
/hardware/ril/reference-ril/
Dril.h659 int sw1; member
Dreference-ril.c351 err = at_tok_nextint(&line, &response->sw1); in parseSimResponseLine()
/hardware/ril/include/telephony/
Dril.h659 int sw1; member
/hardware/interfaces/radio/1.0/
Dtypes.hal1407 int32_t sw1;

12