Home
last modified time | relevance | path

Searched refs:hexStringToByteArray (Results 1 – 16 of 16) 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()
54 SmsMessage sms = SmsMessage.createFromPdu(HexDump.hexStringToByteArray(pdu)); in testUdh()
70 sms = SmsMessage.createFromPdu(HexDump.hexStringToByteArray(pdu)); in testUdh()
88 SmsMessage sms = SmsMessage.createFromPdu(HexDump.hexStringToByteArray(pdu)); in testUcs2()
103 SmsMessage sms = SmsMessage.createFromPdu(HexDump.hexStringToByteArray(pdu)); in testMultipart()
112 sms = SmsMessage.createFromPdu(HexDump.hexStringToByteArray(pdu)); in testMultipart()
122 SmsMessage sms = SmsMessage.createFromPdu(HexDump.hexStringToByteArray(pdu)); in testCPHSVoiceMail()
133 sms = SmsMessage.createFromPdu(HexDump.hexStringToByteArray(pdu)); in testCPHSVoiceMail()
141 sms = SmsMessage.createFromPdu(HexDump.hexStringToByteArray(pdu)); in testCPHSVoiceMail()
[all …]
/frameworks/base/tests/net/java/android/net/dhcp/
DDhcpPacketTest.java286 final ByteBuffer packet = ByteBuffer.wrap(HexDump.hexStringToByteArray( in testOffer1()
316 final ByteBuffer packet = ByteBuffer.wrap(HexDump.hexStringToByteArray( in testOffer2()
348 final byte[] packet = HexDump.hexStringToByteArray( in testBadIpPacket()
363 final byte[] packet = HexDump.hexStringToByteArray( in testBadDhcpPacket()
382 final byte[] packet = HexDump.hexStringToByteArray( in testBadTruncatedOffer()
411 final byte[] packet = HexDump.hexStringToByteArray( in testBadOfferWithoutACookie()
442 final byte[] packet = HexDump.hexStringToByteArray( in testOfferWithBadCookie()
478 final byte[] packet = HexDump.hexStringToByteArray( in testTruncatedOfferPackets()
534 return HexDump.hexStringToByteArray(hexString); in mtuBytes()
552 final ByteBuffer packet = ByteBuffer.wrap(HexDump.hexStringToByteArray( in testMtu()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/sms/
DCdmaSmsTest.java120 BearerData bearerData = BearerData.decode(HexDump.hexStringToByteArray(pdu)); in testUserData7bitGsm()
127 BearerData bearerData = BearerData.decode(HexDump.hexStringToByteArray(pdu)); in testUserData7bitAscii()
134 BearerData bearerData = BearerData.decode(HexDump.hexStringToByteArray(pdu)); in testUserData7bitAsciiTwo()
141 BearerData bearerData = BearerData.decode(HexDump.hexStringToByteArray(pdu)); in testUserDataIa5()
269 BearerData bearerData = BearerData.decode(HexDump.hexStringToByteArray(pdu)); in testMonolithicOne()
316 BearerData bearerData = BearerData.decode(HexDump.hexStringToByteArray(pdu)); in testMonolithicTwo()
474 BearerData bd1 = BearerData.decode(HexDump.hexStringToByteArray(pdu1)); in testReplyOption()
481 BearerData bd2 = BearerData.decode(HexDump.hexStringToByteArray(pdu2)); in testReplyOption()
488 BearerData bd3 = BearerData.decode(HexDump.hexStringToByteArray(pdu3)); in testReplyOption()
495 BearerData bd4 = BearerData.decode(HexDump.hexStringToByteArray(pdu4)); 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/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.java227 return byteArrayToArrayList(hexStringToByteArray(str)); in hexOrQuotedAsciiStringToBytes()
314 public static byte[] hexStringToByteArray(String hexStr) { in hexStringToByteArray() method in NativeUtil
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/
DNativeUtilTest.java75 NativeUtil.hexStringToByteArray("45122334")); in testHexStringToByteArray()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DSupplicantP2pIfaceHal.java1265 NativeUtil.hexStringToByteArray(data[1])); in serviceAdd()
1267 NativeUtil.hexStringToByteArray(data[2])); in serviceAdd()
1339 NativeUtil.hexStringToByteArray(data[1])); in serviceRemove()
1397 binQuery = NativeUtil.byteArrayToArrayList(NativeUtil.hexStringToByteArray(query)); in requestServiceDiscovery()
1679 wfdInfo = NativeUtil.hexStringToByteArray(info); in setWfdDeviceInfo()
1906 byte[] oui = NativeUtil.hexStringToByteArray(match.group(2)); in setWpsDeviceType()
2027 NativeUtil.byteArrayToArrayList(NativeUtil.hexStringToByteArray( in initiatorReportNfcHandover()
2053 NativeUtil.byteArrayToArrayList(NativeUtil.hexStringToByteArray( in responderReportNfcHandover()
/frameworks/base/core/java/com/android/internal/util/
DHexDump.java164 public static byte[] hexStringToByteArray(String hexString) in hexStringToByteArray() method in HexDump
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DInboundSmsTracker.java175 mPdu = HexDump.hexStringToByteArray(cursor.getString(InboundSmsHandler.PDU_COLUMN)); in InboundSmsTracker()
DInboundSmsHandler.java775 pdus[index] = HexDump.hexStringToByteArray(cursor.getString( in processMessagePart()
1178 byte[] oldPdu = HexDump.hexStringToByteArray(oldPduString); in duplicateExists()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DSupplicantStaNetworkHal.java272 if (!setPsk(NativeUtil.hexStringToByteArray(config.preSharedKey))) { in saveWifiConfiguration()
2117 byte[] kc = NativeUtil.hexStringToByteArray(match.group(1)); in sendNetworkEapSimGsmAuthResponse()
2122 byte[] sres = NativeUtil.hexStringToByteArray(match.group(2)); in sendNetworkEapSimGsmAuthResponse()
2188 byte[] ik = NativeUtil.hexStringToByteArray(match.group(1)); in sendNetworkEapSimUmtsAuthResponse()
2193 byte[] ck = NativeUtil.hexStringToByteArray(match.group(2)); in sendNetworkEapSimUmtsAuthResponse()
2198 byte[] res = NativeUtil.hexStringToByteArray(match.group(3)); in sendNetworkEapSimUmtsAuthResponse()
2244 byte[] auts = NativeUtil.hexStringToByteArray(match.group(1)); in sendNetworkEapSimUmtsAutsResponse()
DSupplicantStaIfaceHal.java813 byte[] oui = NativeUtil.hexStringToByteArray(match.group(2)); in setWpsDeviceType()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiVendorHalTest.java1446 byte [] sample = NativeUtil.hexStringToByteArray("268c7a3fbfa4661c0bdd6a36"); in testGetFwMemoryDump()
1468 byte [] sample = NativeUtil.hexStringToByteArray("e83ff543cf80083e6459d20f"); in testGetDriverStateDump()
/frameworks/base/services/core/java/com/android/server/
DNetworkManagementService.java907 final byte[] firstPacket = HexDump.hexStringToByteArray(cooked[2]); in onEvent()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerShellCommand.java1397 return HexDump.hexStringToByteArray(arg);