Home
last modified time | relevance | path

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

/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/
DHex.java82 public static byte[] decodeHex(String hexString) { in decodeHex() argument
83 int length = hexString.length(); in decodeHex()
86 throw new IllegalArgumentException("Odd number of characters: " + hexString); in decodeHex()
92 int c1 = hexString.charAt(j++); in decodeHex()
104 int c2 = hexString.charAt(j++); in decodeHex()
120 throw new IllegalArgumentException("Invalid hexadecimal digit: " + hexString); in decodeHex()
/packages/apps/CertInstaller/src/com/android/certinstaller/
DUtil.java73 StringBuilder hexString = new StringBuilder(); in toHexString() local
75 hexString.append(Integer.toHexString(0xFF & b)).append(separator); in toHexString()
77 return hexString.toString(); in toHexString()
/packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/
DStringUtils.java571 public static byte[] hexStringToByteArray(@Nullable final String hexString) { in hexStringToByteArray() argument
572 if (isEmpty(hexString)) { in hexStringToByteArray()
575 final int N = hexString.length(); in hexStringToByteArray()
582 bytes[i / 2] = (byte) ((Character.digit(hexString.charAt(i), 16) << 4) in hexStringToByteArray()
583 + Character.digit(hexString.charAt(i + 1), 16)); in hexStringToByteArray()
/packages/apps/TV/libs/
Dexoplayer.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...