Home
last modified time | relevance | path

Searched refs:commandApdu (Results 1 – 4 of 4) sorted by relevance

/packages/modules/Uwb/service/java/com/android/server/uwb/secure/provisioning/
DScriptRunner.java58 CommandApdu commandApdu = CommandApdu.parse(apduBytes); in run() local
59 ApduCategory apduCategory = getApduCategory(commandApdu); in run()
62 + commandApdu.getIns()); in run()
64 ResponseApdu responseApdu = mSecureElementChannel.transmit(commandApdu); in run()
82 && commandApdu.getP1() == LAST_MANAGE_ADF_INDICATOR_P1) { in run()
92 if (commandApdu.getP1() == LAST_MANAGE_ADF_INDICATOR_P1) { in run()
116 private ApduCategory getApduCategory(CommandApdu commandApdu) { in getApduCategory() argument
117 if (((commandApdu.getCla() & 0x84) == 0x84) || ((commandApdu.getCla() & 0xE0) == 0xE0)) { in getApduCategory()
118 if (commandApdu.getIns() == (byte) 0xE0) { in getApduCategory()
120 } else if (commandApdu.getIns() == (byte) 0xEA) { in getApduCategory()
[all …]
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/secure/
DInitiatorSecureChannelTest.java481 CommandApdu commandApdu = in sendLocalCommandApduSuccess() local
484 mInitiatorSecureChannel.sendLocalCommandApdu(commandApdu, externalRequestCallback); in sendLocalCommandApduSuccess()
498 CommandApdu commandApdu = in sendLocalCommandApduFail() local
501 mInitiatorSecureChannel.sendLocalCommandApdu(commandApdu, externalRequestCallback); in sendLocalCommandApduFail()
513 CommandApdu commandApdu = in sendLocalCommandApduFailAsSeWasNotOpen() local
516 mInitiatorSecureChannel.sendLocalCommandApdu(commandApdu, externalRequestCallback); in sendLocalCommandApduFailAsSeWasNotOpen()
530 CommandApdu commandApdu = in sendLocalCommandApduFailAsException() local
533 mInitiatorSecureChannel.sendLocalCommandApdu(commandApdu, externalRequestCallback); in sendLocalCommandApduFailAsException()
/packages/modules/Uwb/service/java/com/android/server/uwb/secure/csml/
DFiRaCommand.java90 CommandApdu commandApdu = CommandApdu.builder(getCla(), getIns(), getP1(), getP2()) in getCommandApdu() local
95 return commandApdu; in getCommandApdu()
/packages/modules/Uwb/service/java/com/android/server/uwb/secure/
DFiRaSecureChannel.java398 @NonNull CommandApdu commandApdu, in sendLocalCommandApdu()
407 ResponseApdu responseApdu = mSecureElementChannel.transmit(commandApdu); in sendLocalCommandApdu()
411 logw("Applet failed to handle the APDU: " + commandApdu); in sendLocalCommandApdu()