Home
last modified time | relevance | path

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

/frameworks/base/wifi/java/android/net/wifi/p2p/
DWifiP2pDevice.java399 private int parseHex(String hexString) { in parseHex() argument
401 if (hexString.startsWith("0x") || hexString.startsWith("0X")) { in parseHex()
402 hexString = hexString.substring(2); in parseHex()
406 num = Integer.parseInt(hexString, 16); in parseHex()
408 Log.e(TAG, "Failed to parse hex string " + hexString); in parseHex()
/frameworks/base/core/java/com/android/internal/util/
DHexDump.java164 public static byte[] hexStringToByteArray(String hexString) in hexStringToByteArray() argument
166 int length = hexString.length(); in hexStringToByteArray()
171 … buffer[i / 2] = (byte)((toByte(hexString.charAt(i)) << 4) | toByte(hexString.charAt(i+1))); in hexStringToByteArray()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DIccIoResult.java177 public IccIoResult(int sw1, int sw2, String hexString) { in IccIoResult() argument
178 this(sw1, sw2, IccUtils.hexStringToBytes(hexString)); in IccIoResult()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
DCatService.java597 String hexString = IccUtils.bytesToHexString(rawData); in sendTerminalResponse() local
599 CatLog.d(this, "TERMINAL RESPONSE: " + hexString); in sendTerminalResponse()
602 mCmdIf.sendTerminalResponse(hexString, null); in sendTerminalResponse()
693 String hexString = IccUtils.bytesToHexString(rawData); in sendMenuSelection() local
695 mCmdIf.sendEnvelope(hexString, null); in sendMenuSelection()
763 String hexString = IccUtils.bytesToHexString(rawData); in eventDownload() local
765 CatLog.d(this, "ENVELOPE COMMAND: " + hexString); in eventDownload()
767 mCmdIf.sendEnvelope(hexString, null); in eventDownload()
/frameworks/base/services/net/java/android/net/dhcp/
DDhcpPacket.java646 String hexString = "0" + Integer.toHexString(mac[i]); in macToString() local
650 macAddr += hexString.substring(hexString.length() - 2); in macToString()
/frameworks/base/tests/net/java/android/net/dhcp/
DDhcpPacketTest.java533 String hexString = String.format("1a02%04xff", mtu); in mtuBytes() local
534 return HexDump.hexStringToByteArray(hexString); in mtuBytes()
/frameworks/base/core/java/android/content/res/
DResources.java1638 private String getResourceNameFromHexString(String hexString) { in getResourceNameFromHexString() argument
1639 return getResourceName(Integer.parseInt(hexString, 16)); in getResourceNameFromHexString()
/frameworks/multidex/gradle/wrapper/
Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...
/frameworks/support/development/checkstyle/gradle/wrapper/
Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...
/frameworks/support/gradle/wrapper/
Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...