Searched refs:hexString (Results 1 – 7 of 7) 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 | 164 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/ |
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 | 596 String hexString = IccUtils.bytesToHexString(rawData); in sendTerminalResponse() local 598 CatLog.d(this, "TERMINAL RESPONSE: " + hexString); in sendTerminalResponse() 601 mCmdIf.sendTerminalResponse(hexString, null); in sendTerminalResponse() 692 String hexString = IccUtils.bytesToHexString(rawData); in sendMenuSelection() local 694 mCmdIf.sendEnvelope(hexString, null); in sendMenuSelection() 762 String hexString = IccUtils.bytesToHexString(rawData); in eventDownload() local 764 CatLog.d(this, "ENVELOPE COMMAND: " + hexString); in eventDownload() 766 mCmdIf.sendEnvelope(hexString, null); in eventDownload()
|
/frameworks/base/services/tests/servicestests/src/android/net/dhcp/ |
D | DhcpPacketTest.java | 356 String hexString = String.format("1a02%04xff", mtu); in mtuBytes() local 357 return HexEncoding.decode(hexString.toCharArray(), false); in mtuBytes()
|
/frameworks/base/services/net/java/android/net/dhcp/ |
D | DhcpPacket.java | 642 String hexString = "0" + Integer.toHexString(mac[i]); in macToString() local 646 macAddr += hexString.substring(hexString.length() - 2); in macToString()
|
/frameworks/base/core/java/android/content/res/ |
D | Resources.java | 1605 private String getResourceNameFromHexString(String hexString) { in getResourceNameFromHexString() argument 1606 return getResourceName(Integer.parseInt(hexString, 16)); in getResourceNameFromHexString()
|