Home
last modified time | relevance | path

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

12

/aosp12/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DAdnRecordTest.java44 IccUtils.hexStringToBytes("566F696365204D61696C07918150367742F3FFFFFFFFFFFF")); in testBasic()
54 IccUtils.hexStringToBytes("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF")); in testBasic()
63 adn = new AdnRecord(IccUtils.hexStringToBytes( "FF")); in testBasic()
73 IccUtils.hexStringToBytes("566F696365204D61696C07FF8150367742F3FFFFFFFFFFFF")); in testBasic()
83 IccUtils.hexStringToBytes("566F696365204D61696C07818150367742F3FFFFFFFFFFFF")); in testBasic()
133 IccUtils.hexStringToBytes( in testBasic()
141 adn.appendExtRecord(IccUtils.hexStringToBytes("0206092143658709ffffffffff")); in testBasic()
151 IccUtils.hexStringToBytes( in testBasic()
159 adn.appendExtRecord(IccUtils.hexStringToBytes("0106092143658709ffffffffff")); in testBasic()
169 IccUtils.hexStringToBytes( in testBasic()
[all …]
H A DSimUtilsTest.java37 data = IccUtils.hexStringToBytes("981062400510444868f2"); in testBasic()
44 data = IccUtils.hexStringToBytes("98E062400510444868f2"); in testBasic()
48 data = IccUtils.hexStringToBytes("98F062400510444868f2"); in testBasic()
74 data = IccUtils.hexStringToBytes("00566f696365204d61696c07918150367742f3ffffffffffff"); in testBasic()
79 data = IccUtils.hexStringToBytes("809673539A5764002F004DFFFFFFFFFF"); in testBasic()
83 data = IccUtils.hexStringToBytes("810A01566fec6365204de0696cFFFFFF"); in testBasic()
87 data = IccUtils.hexStringToBytes("820505302D82d32d31"); in testBasic()
H A DGsmAlphabetTest.java240 unpacked = IccUtils.hexStringToBytes("566F696365204D61696C"); in testBasic()
348 unpacked = IccUtils.hexStringToBytes("61626320646566FF"); in testGsm8BitUpackedWithEuckr()
353 unpacked = IccUtils.hexStringToBytes("C5D7BDBAC6AEFF"); in testGsm8BitUpackedWithEuckr()
H A DAppSmsManagerTest.java66 intent.putExtra("pdus", new byte[][]{IccUtils.hexStringToBytes(PDU), null, null}); in testHandleSmsReceivedIntent()
H A DMissedIncomingCallSmsFilterTest.java80 byte[][] pdus = {IccUtils.hexStringToBytes(smsPduString)}; in testMissedIncomingCallwithCallerId()
H A DSMSDispatcherTest.java.broken102 byte[] data = IccUtils.hexStringToBytes(s);
H A DCarrierPrivilegesTrackerTest.java154 IccUtils.hexStringToBytes(certificateHash), packageName, /* accessType= */ 0L); in ruleWithHashAndPackage()
611 byte[] result = sha1.digest(IccUtils.hexStringToBytes(hexString)); in getHash()
/aosp12/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/
H A DEuiccSpecVersionTest.java92 IccUtils.hexStringToBytes("E00582030201039000"))); in testFromOpenChannelResponse()
99 IccUtils.hexStringToBytes("E00F05820202039000"))); in testFromOpenChannelResponseError()
102 IccUtils.hexStringToBytes("E005820202039000"))); in testFromOpenChannelResponseError()
105 IccUtils.hexStringToBytes("E10482030201039000"))); in testFromOpenChannelResponseError()
H A DEuiccCardTest.java266 IccUtils.hexStringToBytes( in testGetProfile()
619 IccUtils.hexStringToBytes("4131423243332D583459355A36"), // hashCc in testPrepareDownload()
638 IccUtils.hexStringToBytes("4131423243332D583459355A36"), // hashCc in testPrepareDownload_Error()
897 mEuiccCard.cancelSession(IccUtils.hexStringToBytes("A1B2C3"), in testCancelSession()
910 mEuiccCard.cancelSession(IccUtils.hexStringToBytes("A1B2C3"), in testCancelSession_Error()
972 IccUtils.hexStringToBytes( in testRetrieveNotificationList()
975 IccUtils.hexStringToBytes( in testRetrieveNotificationList()
1022 IccUtils.hexStringToBytes("3014BF2F118001010C08736D64702E636F6D81020410")), in testRetrieveNotification()
/aosp12/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/
H A DUiccCarrierPrivilegeRulesTest.java89 IccIoResult iir = new IccIoResult(0x90, 0x00, IccUtils.hexStringToBytes(hexString)); in testHelper()
331 IccIoResult iir = new IccIoResult(0x90, 0x00, IccUtils.hexStringToBytes(hexString)); in testAID_OnlyARAM()
392 IccIoResult iir = new IccIoResult(0x90, 0x00, IccUtils.hexStringToBytes(hexString)); in testAID_OnlyARAD()
449 IccIoResult iir = new IccIoResult(0x90, 0x00, IccUtils.hexStringToBytes(hexString)); in testAID_BothARAMandARAD()
611 IccUtils.hexStringToBytes(binaryContent.get(currentFileId.get()))); in testAID_ARFSucceed()
636 IccUtils.hexStringToBytes( in testAID_ARFSucceed()
642 IccUtils.hexStringToBytes( in testAID_ARFSucceed()
735 IccUtils.hexStringToBytes( in testAID_ARFFallbackToACRF()
741 IccUtils.hexStringToBytes( in testAID_ARFFallbackToACRF()
785 IccUtils.hexStringToBytes(hexString1)); in testAID_RetransmitLogicalChannel()
[all …]
H A DUiccCardTest.java66 mIccIoResult = new IccIoResult(0x90, 0x00, IccUtils.hexStringToBytes("FF40")); in setUp()
/aosp12/packages/modules/CellBroadcastService/tests/src/com/android/cellbroadcastservice/tests/
H A DGsmSmsCbMessageTest.java106 final byte[] pdu = hexStringToBytes("0111130F6A0101C8329BFD06559BD429E8FE96B3C92C101D9D9" in testCreateMessageFromBinary()
170 final byte[] pdu = hexStringToBytes("0001113001010010C0111204D2"); in testCreateTriggerMessage()
987 private static final byte[] etwsMessageNormal = hexStringToBytes("000011001101"
992 private static final byte[] etwsMessageCancel = hexStringToBytes("000011001101"
997 private static final byte[] etwsMessageTest = hexStringToBytes("000011031101"
H A DGsmCellBroadcastHandlerTest.java219 final byte[] pdu = hexStringToBytes("0001113001010010C0111204D2"); in testTriggerMessage()
256 final byte[] pdu = hexStringToBytes("0001113001010010C0111204D2"); in testAirplaneModeReset()
267 final byte[] pdu = hexStringToBytes("01111D7090010254747A0E4ACF416110B538A582DE6650906AA28" in testGeofencingAlertOutOfPolygon()
286 final byte[] pdu = hexStringToBytes("01111B40110101C366701A09368545692408000000000000000" in testSmsCbLocation()
426 final byte[] pdu = hexStringToBytes("01111B40110101C366701A09368545692408000000000000000" in testGeofencingDontSendWithMockCalculator()
473 final byte[] pdu = hexStringToBytes("01111D7090010254747A0E4ACF416110B538A582DE6650906AA28" in createMockCalculatorAndSendCellBroadcast()
H A DCellBroadcastServiceTestBase.java223 public static byte[] hexStringToBytes(String s) { in hexStringToBytes() method in CellBroadcastServiceTestBase
/aosp12/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/asn1/
H A DIccUtilsTest.java209 assertArrayEquals(new byte[] {}, IccUtils.hexStringToBytes("")); in testHexStringToBytes()
210 assertArrayEquals(new byte[] {0}, IccUtils.hexStringToBytes("00")); in testHexStringToBytes()
213 IccUtils.hexStringToBytes("FF12FE34FD56FC78")); in testHexStringToBytes()
H A DAsn1NodeTest.java134 .addChildren(IccUtils.hexStringToBytes("13040422C4F01403FF00FF")) in testBuilderAndGetters()
204 System.arraycopy(IccUtils.hexStringToBytes("BF378201055A820101"), 0, expected, 0, 9); in testLongFormLength()
/aosp12/packages/apps/CellBroadcastReceiver/tests/testapp/src/com/android/cellbroadcastreceiver/tests/
H A DSendTestMessages.java46 private static final byte[] etwsMessageNormal = IccUtils.hexStringToBytes("000011001101" +
51 private static final byte[] etwsMessageCancel = IccUtils.hexStringToBytes("000011001101" +
56 private static final byte[] etwsMessageTest = IccUtils.hexStringToBytes("000011031101" +
/aosp12/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
H A DIccIoResult.java195 this(sw1, sw2, IccUtils.hexStringToBytes(hexString)); in IccIoResult()
H A DUiccCarrierPrivilegeRules.java592 IccUtils.hexStringToBytes(cert), "", 0x00); in handleMessage()
693 packageName = new String(IccUtils.hexStringToBytes(pkgDo.value)); in parseRefArdo()
719 IccUtils.hexStringToBytes(certificateHash), packageName, accessType); in parseRefArdo()
/aosp12/frameworks/base/telephony/java/android/telephony/
H A DUiccAccessRule.java123 byte[] certificateHash = IccUtils.hexStringToBytes(splitStr[0]); in decodeRulesFromCarrierConfig()
271 return matches(IccUtils.hexStringToBytes(certHash), packageName); in matches()
/aosp12/frameworks/base/telephony/java/com/android/internal/telephony/uicc/asn1/
H A DAsn1Decoder.java36 this(IccUtils.hexStringToBytes(hex)); in Asn1Decoder()
/aosp12/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/apdu/
H A DLogicalChannelMocker.java106 byte[] responseBytes = IccUtils.hexStringToBytes("00" + responseHex); in getSelectResponse()
/aosp12/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
H A DRilMessageDecoder.java183 rawData = IccUtils.hexStringToBytes((String) rilMsg.mData); in decodeMessageParams()
/aosp12/frameworks/base/core/java/com/android/internal/util/
H A DBinaryXmlPullParser.java754 return hexStringToBytes(valueString); in getValueBytesHex()
928 static byte[] hexStringToBytes(String value) { in hexStringToBytes() method in BinaryXmlPullParser
/aosp12/packages/apps/Nfc/src/com/android/nfc/
H A DNfcService.java2131 static byte[] hexStringToBytes(String s) { in hexStringToBytes() method in NfcService
2391 buffer.put(hexStringToBytes(systemCode)); in getT3tIdentifierBytes()
2392 buffer.put(hexStringToBytes(nfcId2)); in getT3tIdentifierBytes()
2393 buffer.put(hexStringToBytes(t3tPmm)); in getT3tIdentifierBytes()
2474 mDeviceHost.routeAid(hexStringToBytes(aid), route, aidInfo, power); in handleMessage()
2480 mDeviceHost.unrouteAid(hexStringToBytes(aid)); in handleMessage()

12