Home
last modified time | relevance | path

Searched refs:hexString (Results 1 – 16 of 16) sorted by relevance

/frameworks/opt/net/ike/tests/iketests/src/java/com/android/ike/ikev2/message/
DTestUtils.java28 public static byte[] hexStringToByteArray(String hexString) throws IllegalArgumentException { in hexStringToByteArray() argument
29 int len = hexString.length(); in hexStringToByteArray()
37 ((Character.digit(hexString.charAt(i), 16) << 4) in hexStringToByteArray()
38 + Character.digit(hexString.charAt(i + 1), 16)); in hexStringToByteArray()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/
DUiccCarrierPrivilegeRulesTest.java103 private void testHelper(String hexString) { in testHelper() argument
119 IccIoResult iir = new IccIoResult(0x90, 0x00, IccUtils.hexStringToBytes(hexString)); in testHelper()
155 final String hexString = in testParseRule_Normal() local
159 testHelper(hexString); in testParseRule_Normal()
184 final String hexString = "FF4034E232E11E4F06FFFFFFFFFFFFC114B61BE34AD2C20D7AFED84" in testParseRule_With4FD0D1() local
187 testHelper(hexString); in testParseRule_With4FD0D1()
206 final String hexString = "FF4031E22FE11E4F06FFFFFFFFFFFFC114B61BE34AD2C20D7AFED8493C313A" in testParseRule_With4FD0() local
209 testHelper(hexString); in testParseRule_With4FD0()
236 final String hexString = in testParseRule_TwoMessages() local
241 testHelper(hexString); in testParseRule_TwoMessages()
[all …]
/frameworks/base/wifi/java/android/net/wifi/p2p/
DWifiP2pDevice.java414 private int parseHex(String hexString) { in parseHex() argument
416 if (hexString.startsWith("0x") || hexString.startsWith("0X")) { in parseHex()
417 hexString = hexString.substring(2); in parseHex()
421 num = Integer.parseInt(hexString, 16); in parseHex()
423 Log.e(TAG, "Failed to parse hex string " + hexString); in parseHex()
/frameworks/base/core/java/com/android/internal/util/
DHexDump.java173 public static byte[] hexStringToByteArray(String hexString) in hexStringToByteArray() argument
175 int length = hexString.length(); in hexStringToByteArray()
180 … buffer[i / 2] = (byte)((toByte(hexString.charAt(i)) << 4) | toByte(hexString.charAt(i+1))); in hexStringToByteArray()
/frameworks/opt/net/ike/src/java/com/android/ike/ikev2/utils/
DBigIntegerUtils.java29 public static BigInteger unsignedHexStringToBigInteger(String hexString) { in unsignedHexStringToBigInteger() argument
30 return new BigInteger(hexString, 16); in unsignedHexStringToBigInteger()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DIccIoResult.java190 public IccIoResult(int sw1, int sw2, String hexString) { in IccIoResult() argument
191 this(sw1, sw2, IccUtils.hexStringToBytes(hexString)); in IccIoResult()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DUtilsTest.java95 String hexString = "abcd"; in testHexToBytes() local
97 byte[] result = Utils.hexToBytes(hexString); in testHexToBytes()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
DCatService.java630 String hexString = IccUtils.bytesToHexString(rawData); in sendTerminalResponse() local
632 CatLog.d(this, "TERMINAL RESPONSE: " + hexString); in sendTerminalResponse()
635 mCmdIf.sendTerminalResponse(hexString, null); in sendTerminalResponse()
728 String hexString = IccUtils.bytesToHexString(rawData); in sendMenuSelection() local
730 mCmdIf.sendEnvelope(hexString, null); in sendMenuSelection()
800 String hexString = IccUtils.bytesToHexString(rawData); in eventDownload() local
802 CatLog.d(this, "ENVELOPE COMMAND: " + hexString); in eventDownload()
804 mCmdIf.sendEnvelope(hexString, null); in eventDownload()
/frameworks/native/cmds/lshal/
DTableEntry.cpp107 static const std::string unreleased = Hash::hexString(Hash::kEmptyHash); in isReleased()
DListCommand.cpp776 entry->hash = Hash::hexString(hashVec); in fetchBinderizedEntry()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/js/binary/
Dreader_test.js366 function doTestHexStringVarint_(readField, expected, hexString) { argument
367 var bytesCount = (hexString.length + 1) / 3;
370 bytes[i] = parseInt(hexString.substring(i * 3, i * 3 + 2), 16);
/frameworks/base/core/java/android/content/res/
DResources.java1694 private String getResourceNameFromHexString(String hexString) { in getResourceNameFromHexString() argument
1695 return getResourceName(Integer.parseInt(hexString, 16)); in getResourceNameFromHexString()
/frameworks/opt/gamesdk/samples/unitypackaging/gradle/wrapper/
Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...
/frameworks/opt/gamesdk/gradle/wrapper/
Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...
/frameworks/opt/gamesdk/samples/bouncyball/gradle/wrapper/
Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...
/frameworks/multidex/gradle/wrapper/
Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...