Searched refs:hexString (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/wifi/java/android/net/wifi/p2p/ |
D | WifiP2pDevice.java | 385 private int parseHex(String hexString) { in parseHex() argument 387 if (hexString.startsWith("0x") || hexString.startsWith("0X")) { in parseHex() 388 hexString = hexString.substring(2); in parseHex() 392 num = Integer.parseInt(hexString, 16); in parseHex() 394 Log.e(TAG, "Failed to parse hex string " + hexString); in parseHex()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | HexDump.java | 152 public static byte[] hexStringToByteArray(String hexString) in hexStringToByteArray() argument 154 int length = hexString.length(); in hexStringToByteArray() 159 … 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/ |
D | IccIoResult.java | 36 public IccIoResult(int sw1, int sw2, String hexString) { in IccIoResult() argument 37 this(sw1, sw2, IccUtils.hexStringToBytes(hexString)); in IccIoResult()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
D | CatService.java | 590 String hexString = IccUtils.bytesToHexString(rawData); in sendTerminalResponse() local 592 CatLog.d(this, "TERMINAL RESPONSE: " + hexString); in sendTerminalResponse() 595 mCmdIf.sendTerminalResponse(hexString, null); in sendTerminalResponse() 686 String hexString = IccUtils.bytesToHexString(rawData); in sendMenuSelection() local 688 mCmdIf.sendEnvelope(hexString, null); in sendMenuSelection() 756 String hexString = IccUtils.bytesToHexString(rawData); in eventDownload() local 758 CatLog.d(this, "ENVELOPE COMMAND: " + hexString); in eventDownload() 760 mCmdIf.sendEnvelope(hexString, null); in eventDownload()
|
/frameworks/base/services/net/java/android/net/dhcp/ |
D | DhcpPacket.java | 610 String hexString = "0" + Integer.toHexString(mac[i]); in macToString() local 614 macAddr += hexString.substring(hexString.length() - 2); in macToString()
|
/frameworks/base/core/java/android/content/res/ |
D | Resources.java | 1791 private String getResourceNameFromHexString(String hexString) { in getResourceNameFromHexString() argument 1792 return getResourceName(Integer.parseInt(hexString, 16)); in getResourceNameFromHexString()
|