Home
last modified time | relevance | path

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

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DGsmSmsTest.java33 SmsMessage sms = SmsMessage.createFromPdu(HexDump.hexStringToByteArray(pdu)); in testAddressing()
40 sms = SmsMessage.createFromPdu(HexDump.hexStringToByteArray(pdu)); in testAddressing()
46 sms = SmsMessage.createFromPdu(HexDump.hexStringToByteArray(pdu)); in testAddressing()
53 SmsMessage sms = SmsMessage.createFromPdu(HexDump.hexStringToByteArray(pdu)); in testRecipientAddress()
75 SmsMessage sms = SmsMessage.createFromPdu(HexDump.hexStringToByteArray(pdu)); in testUdh()
91 sms = SmsMessage.createFromPdu(HexDump.hexStringToByteArray(pdu)); in testUdh()
109 SmsMessage sms = SmsMessage.createFromPdu(HexDump.hexStringToByteArray(pdu)); in testUcs2()
124 SmsMessage sms = SmsMessage.createFromPdu(HexDump.hexStringToByteArray(pdu)); in testMultipart()
133 sms = SmsMessage.createFromPdu(HexDump.hexStringToByteArray(pdu)); in testMultipart()
143 SmsMessage sms = SmsMessage.createFromPdu(HexDump.hexStringToByteArray(pdu)); in testCPHSVoiceMail()
[all …]
DImsSmsDispatcherTest.java154 byte[] pdu = HexDump.hexStringToByteArray("0006000681214365919061800000639190618000006300"); in testReceiveGsmSmsStatusReport()
/frameworks/base/services/tests/servicestests/src/com/android/server/net/watchlist/
DHarmfulDigestsTests.java41 private static final byte[] TEST_DIGEST_1 = HexDump.hexStringToByteArray("AAAAAA");
42 private static final byte[] TEST_DIGEST_2 = HexDump.hexStringToByteArray("BBBBBB");
43 private static final byte[] TEST_DIGEST_3 = HexDump.hexStringToByteArray("AAAABB");
44 private static final byte[] TEST_DIGEST_4 = HexDump.hexStringToByteArray("BBBBAA");
DWatchlistConfigTests.java65 private static final byte[] TEST_NEW_CC_DOMAIN_SHA256 = HexDump.hexStringToByteArray(
67 private static final byte[] TEST_NEW_CC_DOMAIN_CRC32 = HexDump.hexStringToByteArray("76795BD3");
70 private static final byte[] TEST_NEW_CC_IP_SHA256 = HexDump.hexStringToByteArray(
72 private static final byte[] TEST_NEW_CC_IP_CRC32 = HexDump.hexStringToByteArray("940B8BEE");
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/sms/
DCdmaSmsTest.java123 HexDump.hexStringToByteArray(pdu)); in testRecipientAddress()
130 BearerData bearerData = BearerData.decode(HexDump.hexStringToByteArray(pdu)); in testUserData7bitGsm()
137 BearerData bearerData = BearerData.decode(HexDump.hexStringToByteArray(pdu)); in testUserData7bitAscii()
144 BearerData bearerData = BearerData.decode(HexDump.hexStringToByteArray(pdu)); in testUserData7bitAsciiTwo()
151 BearerData bearerData = BearerData.decode(HexDump.hexStringToByteArray(pdu)); in testUserDataIa5()
317 BearerData bearerData = BearerData.decode(HexDump.hexStringToByteArray(pdu)); in testMonolithicOne()
364 BearerData bearerData = BearerData.decode(HexDump.hexStringToByteArray(pdu)); in testMonolithicTwo()
522 BearerData bd1 = BearerData.decode(HexDump.hexStringToByteArray(pdu1)); in testReplyOption()
529 BearerData bd2 = BearerData.decode(HexDump.hexStringToByteArray(pdu2)); in testReplyOption()
536 BearerData bd3 = BearerData.decode(HexDump.hexStringToByteArray(pdu3)); in testReplyOption()
[all …]
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
DBitwiseStreamsTest.java36 byte[] inBuf = HexDump.hexStringToByteArray("FFDD"); in testOne()
51 byte[] inBuf = HexDump.hexStringToByteArray("11d4f29c0e9ad3c36e72584e064d9b53"); in testTwo()
65 byte[] inBuf = HexDump.hexStringToByteArray("00031040900112488ea794e0"); in testThree()
79 byte[] inBuf = HexDump.hexStringToByteArray("00031040900112488ea794e0"); in testFour()
120 byte[] inBuf = HexDump.hexStringToByteArray("00031040900112488ea794e0"); in testSix()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DSP800DeriveTests.java38 byte[] keyBytes = HexDump.hexStringToByteArray( in testFixedInput()
42 byte[] fixedInput = HexDump.hexStringToByteArray( in testFixedInput()
/frameworks/base/packages/WAPPushManager/tests/src/com/android/smspush/unitTests/
DClientTest.java129 HexDump.hexStringToByteArray(pdu.getText().toString())); in onCreate()
131 HexDump.hexStringToByteArray(pdu.getText().toString())); in onCreate()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DNativeUtil.java235 return byteArrayToArrayList(hexStringToByteArray(str)); in hexOrQuotedStringToBytes()
329 public static byte[] hexStringToByteArray(String hexStr) { in hexStringToByteArray() method in NativeUtil
/frameworks/base/services/core/java/com/android/server/net/watchlist/
DReportEncoder.java92 byte[] digest = HexDump.hexStringToByteArray(key); in serializeReport()
DWatchlistSettings.java114 byte[] key = HexDump.hexStringToByteArray(parser.nextText()); in parseSecretKey()
DWatchlistConfig.java160 byte[] hash = HexDump.hexStringToByteArray(parser.nextText()); in parseHashes()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/
DNativeUtilTest.java78 NativeUtil.hexStringToByteArray("45122334")); in testHexStringToByteArray()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DSupplicantP2pIfaceHal.java1470 NativeUtil.hexStringToByteArray(data[1])); in serviceAdd()
1472 NativeUtil.hexStringToByteArray(data[2])); in serviceAdd()
1544 NativeUtil.hexStringToByteArray(data[1])); in serviceRemove()
1602 binQuery = NativeUtil.byteArrayToArrayList(NativeUtil.hexStringToByteArray(query)); in requestServiceDiscovery()
1884 wfdInfo = NativeUtil.hexStringToByteArray(info); in setWfdDeviceInfo()
2111 byte[] oui = NativeUtil.hexStringToByteArray(match.group(2)); in setWpsDeviceType()
2232 NativeUtil.byteArrayToArrayList(NativeUtil.hexStringToByteArray( in initiatorReportNfcHandover()
2258 NativeUtil.byteArrayToArrayList(NativeUtil.hexStringToByteArray( in responderReportNfcHandover()
/frameworks/base/core/java/com/android/internal/util/
DHexDump.java173 public static byte[] hexStringToByteArray(String hexString) in hexStringToByteArray() method in HexDump
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiUtils.java561 byte[] sadBytes = HexDump.hexStringToByteArray(sad); in readSad()
657 this.sad = HexDump.hexStringToByteArray(sad); in CodecSad()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DSupplicantStaNetworkHal.java309 if (!setPsk(NativeUtil.hexStringToByteArray(config.preSharedKey))) { in saveWifiConfiguration()
2629 byte[] kc = NativeUtil.hexStringToByteArray(match.group(1)); in sendNetworkEapSimGsmAuthResponse()
2634 byte[] sres = NativeUtil.hexStringToByteArray(match.group(2)); in sendNetworkEapSimGsmAuthResponse()
2704 byte[] ik = NativeUtil.hexStringToByteArray(match.group(1)); in sendNetworkEapSimUmtsAuthResponse()
2709 byte[] ck = NativeUtil.hexStringToByteArray(match.group(2)); in sendNetworkEapSimUmtsAuthResponse()
2714 byte[] res = NativeUtil.hexStringToByteArray(match.group(3)); in sendNetworkEapSimUmtsAuthResponse()
2763 byte[] auts = NativeUtil.hexStringToByteArray(match.group(1)); in sendNetworkEapSimUmtsAutsResponse()
DSupplicantStaIfaceHal.java1396 byte[] oui = NativeUtil.hexStringToByteArray(match.group(2)); in setWpsDeviceType()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DInboundSmsTracker.java172 mPdu = HexDump.hexStringToByteArray(cursor.getString(InboundSmsHandler.PDU_COLUMN)); in InboundSmsTracker()
DInboundSmsHandler.java874 pdus[index] = HexDump.hexStringToByteArray(cursor.getString( in processMessagePart()
1373 byte[] oldPdu = HexDump.hexStringToByteArray(oldPduString); in logDupPduMismatch()
/frameworks/base/services/core/java/com/android/server/connectivity/
DVpnIkev2Utils.java368 return new IkeKeyIdIdentification(HexDump.hexStringToByteArray(hexStr)); in parseIkeIdentification()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiVendorHalTest.java2038 byte [] sample = NativeUtil.hexStringToByteArray("268c7a3fbfa4661c0bdd6a36"); in testGetFwMemoryDump()
2060 byte [] sample = NativeUtil.hexStringToByteArray("e83ff543cf80083e6459d20f"); in testGetDriverStateDump()
/frameworks/base/services/core/java/com/android/server/
DNetworkManagementService.java731 HexDump.hexStringToByteArray(hex)); in onStrictCleartextDetected()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerShellCommand.java1819 return HexDump.hexStringToByteArray(arg);
/frameworks/base/config/
Dboot-image-profile.txt24212 HSPLcom/android/internal/util/HexDump;->hexStringToByteArray(Ljava/lang/String;)[B