Searched refs:hexStringToBytes (Results 1 – 8 of 8) sorted by relevance
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/offhost/ |
D | SimpleOffhostReaderActivity.java | 160 nfcb.transceive(HceUtils.hexStringToBytes(apdu.getApdu())); in onTagDiscovered() 168 nfcb.transceive(HceUtils.hexStringToBytes("C2")); in onTagDiscovered() 179 nfca.transceive(HceUtils.hexStringToBytes("E080")); in onTagDiscovered() 187 nfca.transceive(HceUtils.hexStringToBytes(apdu.getApdu())); in onTagDiscovered() 196 nfca.transceive(HceUtils.hexStringToBytes("C2")); in onTagDiscovered() 214 byte[] response = isoDep.transceive(HceUtils.hexStringToBytes(apdu.getApdu())); in onTagDiscovered() 268 byte[] expectedResponse = HceUtils.hexStringToBytes(mResponses[count]); in responseCheck()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/hce/ |
D | HceService.java | 85 … if (!Arrays.equals(HceUtils.hexStringToBytes(mCommandApdus[mApduIndex].getApdu()), arg0)) { in processCommandApdu() 91 byte[] responseApdu = HceUtils.hexStringToBytes(mResponseApdus[mApduIndex]); in processCommandApdu()
|
D | SimpleReaderActivity.java | 112 byte[] response = isoDep.transceive(HceUtils.hexStringToBytes(apdu.getApdu())); in onTagDiscovered() 120 byte[] expectedResponse = HceUtils.hexStringToBytes(mResponses[count]); in onTagDiscovered()
|
D | HceUtils.java | 56 public static byte[] hexStringToBytes(String s) { in hexStringToBytes() method in HceUtils
|
/cts/tests/tests/carrierapi/src/android/carrierapi/cts/ |
D | FcpTemplate.java | 19 import static android.carrierapi.cts.IccUtils.hexStringToBytes; 84 byte[] data = hexStringToBytes(fcpResponse); in parseFcpTemplate()
|
D | IccUtils.java | 49 public static byte[] hexStringToBytes(String s) { in hexStringToBytes() method in IccUtils
|
D | CarrierApiTest.java | 21 import static android.carrierapi.cts.IccUtils.hexStringToBytes; 972 byte[] responseBytes = hexStringToBytes(response); in testIccTransmitApduBasicChannel() 1331 String base64Challenge = Base64.encodeToString(hexStringToBytes(challenge), Base64.NO_WRAP); in testEapSimAuthentication() 1340 .isEqualTo(hexStringToBytes(EXPECTED_EAP_SIM_RESULT)); in testEapSimAuthentication() 1352 String base64Challenge = Base64.encodeToString(hexStringToBytes(challenge), Base64.NO_WRAP); in testEapAkaAuthentication() 1366 .isEqualTo(hexStringToBytes(EXPECTED_EAP_AKA_RESULT)); in testEapAkaAuthentication()
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | ChecksumsTest.java | 136 hexStringToBytes(TEST_FIXED_APK_V2_SHA256)), 137 new Checksum(TYPE_WHOLE_SHA256, hexStringToBytes(TEST_FIXED_APK_SHA256)), 138 new Checksum(TYPE_WHOLE_MD5, hexStringToBytes(TEST_FIXED_APK_MD5))}; 140 new Checksum(TYPE_PARTIAL_MERKLE_ROOT_1M_SHA256, hexStringToBytes("850597c6a37bbeb3")), 141 new Checksum(TYPE_WHOLE_SHA256, hexStringToBytes(TEST_FIXED_APK_SHA256)), 142 new Checksum(TYPE_WHOLE_MD5, hexStringToBytes(TEST_FIXED_APK_MD5))}; 504 hexStringToBytes("1eec9e86")); in testInstallerSignedChecksumsInvalidSignature() 664 Checksum[] digestsBase = new Checksum[]{new Checksum(TYPE_WHOLE_SHA256, hexStringToBytes( in testInstallerChecksumsUpdate() 666 new Checksum(TYPE_WHOLE_MD5, hexStringToBytes("dd93e23bb8cdab0382fdca0d21a4f1cb"))}; in testInstallerChecksumsUpdate() 667 Checksum[] digestsSplit0 = new Checksum[]{new Checksum(TYPE_WHOLE_SHA256, hexStringToBytes( in testInstallerChecksumsUpdate() [all …]
|