Home
last modified time | relevance | path

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

/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/
DDhcpPacketTest.java333 final ByteBuffer packet = ByteBuffer.wrap(HexDump.hexStringToByteArray( in testOffer1()
365 final ByteBuffer packet = ByteBuffer.wrap(HexDump.hexStringToByteArray( in testOffer2()
399 final byte[] packet = HexDump.hexStringToByteArray( in testBadIpPacket()
414 final byte[] packet = HexDump.hexStringToByteArray( in testBadDhcpPacket()
433 final byte[] packet = HexDump.hexStringToByteArray( in testBadTruncatedOffer()
462 final byte[] packet = HexDump.hexStringToByteArray( in testBadOfferWithoutACookie()
493 final byte[] packet = HexDump.hexStringToByteArray( in testOfferWithBadCookie()
529 final byte[] packet = HexDump.hexStringToByteArray( in testTruncatedOfferPackets()
585 return HexDump.hexStringToByteArray(hexString); in mtuBytes()
604 final ByteBuffer packet = ByteBuffer.wrap(HexDump.hexStringToByteArray( in testMtu()
[all …]
/packages/apps/SecureElement/src/com/android/se/internal/
DByteArrayConverter.java126 public static byte[] hexStringToByteArray(String str, int offset, int length) { in hexStringToByteArray() method in ByteArrayConverter
154 public static byte[] hexStringToByteArray(String str) { in hexStringToByteArray() method in ByteArrayConverter
155 return hexStringToByteArray(str, 0, str.length()); in hexStringToByteArray()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/common/
DStringUtilsTests.java417 final byte[] bytes2 = StringUtils.hexStringToByteArray(bytesStr); in testHexStringUtils()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
DSettings.java392 return StringUtils.hexStringToByteArray(tokenStr); in readLastUsedPersonalizationToken()
/packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/
DStringUtils.java571 public static byte[] hexStringToByteArray(@Nullable final String hexString) { in hexStringToByteArray() method in StringUtils