Searched refs:apdu (Results 1 – 8 of 8) sorted by relevance
/cts/tests/tests/secure_element/sample_applet/src/com/android/cts/omapi/test/ |
D | CtsAndroidOmapiTestApplet.java | 101 public void process(APDU apdu) { in process() argument 102 byte[] buf = apdu.getBuffer(); in process() 116 le = apdu.setOutgoing(); in process() 117 apdu.setOutgoingLength((short)sendLen); in process() 119 apdu.sendBytesLong(buf, respBuffOffset, sendLen); in process() 129 apdu.setIncomingAndReceive(); in process() 132 le = apdu.setOutgoing(); in process() 133 apdu.setOutgoingLength((short)sendLen); in process() 135 apdu.sendBytesLong(buf, respBuffOffset, sendLen); in process() 138 apdu.setIncomingAndReceive(); in process() [all …]
|
/cts/tests/tests/secure_element/omapi/src/android/omapi/cts/ |
D | OmapiTest.java | 434 private byte[] internalTransmitApdu(Reader reader, byte[] apdu) throws IOException { in internalTransmitApdu() argument 447 transmitResponse = channel.transmit(apdu); in internalTransmitApdu() 455 private byte[] internalTransmitApduWithoutP2(Reader reader, byte[] apdu) throws IOException { in internalTransmitApduWithoutP2() argument 468 transmitResponse = channel.transmit(apdu); in internalTransmitApduWithoutP2() 489 for (byte[] apdu : NO_DATA_APDU) { in testTransmitApdu() 490 byte[] response = internalTransmitApdu(reader, apdu); in testTransmitApdu() 496 for (byte[] apdu : DATA_APDU) { in testTransmitApdu() 497 byte[] response = internalTransmitApdu(reader, apdu); in testTransmitApdu() 524 for (byte[] apdu : SW_62xx_NO_DATA_APDU) { in testStatusWordTransmit() 526 apdu[2] = (byte)(i+1); in testStatusWordTransmit() [all …]
|
/cts/tests/tests/secure_element/access_control/AccessControlApp2/src/android/omapi/accesscontrol2/cts/ |
D | AccessControlTest.java | 217 for (byte[] apdu : AUTHORIZED_APDU_AID_40) { in testAuthorizedAPDUAID40() 218 testTransmitAPDU(AID_40, apdu); in testAuthorizedAPDUAID40() 224 for (byte[] apdu : UNAUTHORIZED_APDU_AID_40) { in testUnauthorisedAPDUAID40() 225 testUnauthorisedAPDU(AID_40, apdu); in testUnauthorisedAPDUAID40() 231 for (byte[] apdu : AUTHORIZED_APDU_AID_41) { in testAuthorizedAPDUAID41() 232 testTransmitAPDU(AID_41, apdu); in testAuthorizedAPDUAID41() 238 for (byte[] apdu : UNAUTHORIZED_APDU_AID_41) { in testUnauthorisedAPDUAID41() 239 testUnauthorisedAPDU(AID_41, apdu); in testUnauthorisedAPDUAID41() 298 private void testTransmitAPDU(byte[] aid, byte[] apdu) { in testTransmitAPDU() argument 316 byte[] apduResponse = channel.transmit(apdu); in testTransmitAPDU() [all …]
|
/cts/tests/tests/secure_element/access_control/AccessControlApp1/src/android/omapi/accesscontrol1/cts/ |
D | AccessControlTest.java | 218 for (byte[] apdu : AUTHORIZED_APDU_AID_40) { in testAuthorizedAPDUAID40() 219 testTransmitAPDU(AID_40, apdu); in testAuthorizedAPDUAID40() 225 for (byte[] apdu : UNAUTHORIZED_APDU_AID_40) { in testUnauthorisedAPDUAID40() 226 testUnauthorisedAPDU(AID_40, apdu); in testUnauthorisedAPDUAID40() 232 for (byte[] apdu : AUTHORIZED_APDU_AID_41) { in testAuthorizedAPDUAID41() 233 testTransmitAPDU(AID_41, apdu); in testAuthorizedAPDUAID41() 239 for (byte[] apdu : UNAUTHORIZED_APDU_AID_41) { in testUnauthorisedAPDUAID41() 240 testUnauthorisedAPDU(AID_41, apdu); in testUnauthorisedAPDUAID41() 299 private void testTransmitAPDU(byte[] aid, byte[] apdu) { in testTransmitAPDU() argument 317 byte[] apduResponse = channel.transmit(apdu); in testTransmitAPDU() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/hce/ |
D | CommandApdu.java | 10 public CommandApdu(String apdu, boolean reachable) { in CommandApdu() argument 11 mApdu = apdu; in CommandApdu() 32 String apdu = source.readString(); 34 return new CommandApdu(apdu, reachable);
|
D | HceUtils.java | 68 public static final CommandApdu buildCommandApdu(String apdu, boolean reachable) { in buildCommandApdu() argument 69 return new CommandApdu(apdu, reachable); in buildCommandApdu()
|
D | SimpleReaderActivity.java | 108 for (CommandApdu apdu: mApdus) { in onTagDiscovered() 110 sb.append(apdu.getApdu() + "\n\n"); in onTagDiscovered() 112 byte[] response = isoDep.transceive(HceUtils.hexStringToBytes(apdu.getApdu())); in onTagDiscovered()
|
/cts/tests/tests/secure_element/access_control/AccessControlApp3/src/android/omapi/accesscontrol3/cts/ |
D | AccessControlTest.java | 227 for (byte[] apdu : AUTHORIZED_APDU_AID_40) { in testAuthorizedAPDUAID40() 228 testTransmitAPDU(AID_40, apdu); in testAuthorizedAPDUAID40() 234 for (byte[] apdu : AUTHORIZED_APDU_AID_41) { in testAuthorizedAPDUAID41() 235 testTransmitAPDU(AID_41, apdu); in testAuthorizedAPDUAID41() 241 for (byte[] apdu : UNAUTHORIZED_APDU_AID_41) { in testUnauthorisedAPDUAID41() 242 testUnauthorisedAPDU(AID_41, apdu); in testUnauthorisedAPDUAID41() 301 private void testTransmitAPDU(byte[] aid, byte[] apdu) { in testTransmitAPDU() argument 319 byte[] apduResponse = channel.transmit(apdu); in testTransmitAPDU() 331 private void testUnauthorisedAPDU(byte[] aid, byte[] apdu) { in testUnauthorisedAPDU() argument 350 channel.transmit(apdu); in testUnauthorisedAPDU()
|