/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/ |
D | UiccCarrierPrivilegeRulesTest.java | 63 private void testHelper(String hexString) { in testHelper() argument 79 IccIoResult iir = new IccIoResult(0x90, 0x00, IccUtils.hexStringToBytes(hexString)); in testHelper() 113 final String hexString = in testParseRule_Normal() local 117 testHelper(hexString); in testParseRule_Normal() 142 final String hexString = "FF4034E232E11E4F06FFFFFFFFFFFFC114B61BE34AD2C20D7AFED84" in testParseRule_With4FD0D1() local 145 testHelper(hexString); in testParseRule_With4FD0D1() 164 final String hexString = "FF4031E22FE11E4F06FFFFFFFFFFFFC114B61BE34AD2C20D7AFED8493C313A" in testParseRule_With4FD0() local 167 testHelper(hexString); in testParseRule_With4FD0() 194 final String hexString = in testParseRule_TwoMessages() local 199 testHelper(hexString); in testParseRule_TwoMessages() [all …]
|
/frameworks/base/wifi/java/android/net/wifi/p2p/ |
D | WifiP2pDevice.java | 414 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/ |
D | HexDump.java | 173 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/telephony/src/java/com/android/internal/telephony/uicc/ |
D | IccIoResult.java | 194 public IccIoResult(int sw1, int sw2, String hexString) { in IccIoResult() argument 195 this(sw1, sw2, IccUtils.hexStringToBytes(hexString)); in IccIoResult()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
D | UtilsTest.java | 95 String hexString = "abcd"; in testHexToBytes() local 97 byte[] result = Utils.hexToBytes(hexString); in testHexToBytes()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
D | CatService.java | 628 String hexString = IccUtils.bytesToHexString(rawData); in sendTerminalResponse() local 630 CatLog.d(this, "TERMINAL RESPONSE: " + hexString); in sendTerminalResponse() 633 mCmdIf.sendTerminalResponse(hexString, null); in sendTerminalResponse() 726 String hexString = IccUtils.bytesToHexString(rawData); in sendMenuSelection() local 728 mCmdIf.sendEnvelope(hexString, null); in sendMenuSelection() 798 String hexString = IccUtils.bytesToHexString(rawData); in eventDownload() local 800 CatLog.d(this, "ENVELOPE COMMAND: " + hexString); in eventDownload() 802 mCmdIf.sendEnvelope(hexString, null); in eventDownload()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | InboundSmsHandler.java | 1751 protected byte[] decodeHexString(String hexString) { in decodeHexString() argument 1752 if (hexString == null || hexString.length() % 2 == 1) { in decodeHexString() 1755 byte[] bytes = new byte[hexString.length() / 2]; in decodeHexString() 1756 for (int i = 0; i < hexString.length(); i += 2) { in decodeHexString() 1757 bytes[i / 2] = hexToByte(hexString.substring(i, i + 2)); in decodeHexString() 1762 private byte hexToByte(String hexString) { in hexToByte() argument 1763 int firstDigit = toDigit(hexString.charAt(0)); in hexToByte() 1764 int secondDigit = toDigit(hexString.charAt(1)); in hexToByte()
|
/frameworks/native/cmds/lshal/ |
D | TableEntry.cpp | 107 static const std::string unreleased = Hash::hexString(Hash::kEmptyHash); in isReleased()
|
D | ListCommand.cpp | 779 entry->hash = Hash::hexString(hashVec); in fetchBinderizedEntry()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | CarrierPrivilegesTrackerTest.java | 537 private static String getHash(String hexString) throws Exception { in getHash() argument 539 byte[] result = sha1.digest(IccUtils.hexStringToBytes(hexString)); in getHash()
|
/frameworks/base/core/java/android/content/res/ |
D | Resources.java | 1694 private String getResourceNameFromHexString(String hexString) { in getResourceNameFromHexString() argument 1695 return getResourceName(Integer.parseInt(hexString, 16)); in getResourceNameFromHexString()
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 104860 Ljava/math/BigInt;->hexString()Ljava/lang/String;
|