Home
last modified time | relevance | path

Searched refs:hexStringToBytes (Results 1 – 6 of 6) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/offhost/
DSimpleOffhostReaderActivity.java162 nfcb.transceive(HceUtils.hexStringToBytes(apdu.getApdu())); in onTagDiscovered()
170 nfcb.transceive(HceUtils.hexStringToBytes("C2")); in onTagDiscovered()
181 nfca.transceive(HceUtils.hexStringToBytes("E080")); in onTagDiscovered()
189 nfca.transceive(HceUtils.hexStringToBytes(apdu.getApdu())); in onTagDiscovered()
198 nfca.transceive(HceUtils.hexStringToBytes("C2")); in onTagDiscovered()
216 byte[] response = isoDep.transceive(HceUtils.hexStringToBytes(apdu.getApdu())); in onTagDiscovered()
270 byte[] expectedResponse = HceUtils.hexStringToBytes(mResponses[count]); in responseCheck()
/cts/tests/tests/carrierapi/src/android/carrierapi/cts/
DFcpTemplate.java19 import static android.carrierapi.cts.IccUtils.hexStringToBytes;
84 byte[] data = hexStringToBytes(fcpResponse); in parseFcpTemplate()
DIccUtils.java49 public static byte[] hexStringToBytes(String s) { in hexStringToBytes() method in IccUtils
DCarrierApiTest.java21 import static android.carrierapi.cts.IccUtils.hexStringToBytes;
1049 byte[] responseBytes = hexStringToBytes(response); in testIccTransmitApduBasicChannel()
1430 String base64Challenge = Base64.encodeToString(hexStringToBytes(challenge), Base64.NO_WRAP); in testEapSimAuthentication()
1439 .isEqualTo(hexStringToBytes(EXPECTED_EAP_SIM_RESULT)); in testEapSimAuthentication()
1455 String base64Challenge = Base64.encodeToString(hexStringToBytes(challenge), Base64.NO_WRAP); in testEapAkaAuthentication()
1469 .isEqualTo(hexStringToBytes(EXPECTED_EAP_AKA_RESULT)); in testEapAkaAuthentication()
/cts/tests/tests/content/src/android/content/pm/cts/
DChecksumsTest.java164 hexStringToBytes(TEST_FIXED_APK_V2_SHA256)),
165 new Checksum(TYPE_WHOLE_SHA256, hexStringToBytes(TEST_FIXED_APK_SHA256)),
166 new Checksum(TYPE_WHOLE_MD5, hexStringToBytes(TEST_FIXED_APK_MD5))};
168 new Checksum(TYPE_PARTIAL_MERKLE_ROOT_1M_SHA256, hexStringToBytes("850597c6a37bbeb3")),
169 new Checksum(TYPE_WHOLE_SHA256, hexStringToBytes(TEST_FIXED_APK_SHA256)),
170 new Checksum(TYPE_WHOLE_MD5, hexStringToBytes(TEST_FIXED_APK_MD5))};
624 Arrays.asList(TEST_FIXED_APK_DIGESTS), hexStringToBytes("1eec9e86"))); in testInstallerSignedChecksumsInvalidSignature()
664 TYPE_PARTIAL_MERKLE_ROOT_1M_SHA256, hexStringToBytes( in testInstallerSignedChecksumsInvalidChecksum()
813 Checksum[] digestsBase = new Checksum[]{new Checksum(TYPE_WHOLE_SHA256, hexStringToBytes( in testInstallerFileChecksumsDuringInstall()
815 new Checksum(TYPE_WHOLE_MD5, hexStringToBytes("dd93e23bb8cdab0382fdca0d21a4f1cb"))}; in testInstallerFileChecksumsDuringInstall()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/hce/
DHceUtils.java18 public static byte[] hexStringToBytes(String s) { in hexStringToBytes() method in HceUtils