Searched refs:hexString (Results 1 – 6 of 6) sorted by relevance
199 public static byte[] hexStringToByteArray(String hexString) { in hexStringToByteArray() argument200 int length = hexString.length(); in hexStringToByteArray()205 (byte) ((toByte(hexString.charAt(i)) << 4) | toByte(hexString.charAt(i + 1))); in hexStringToByteArray()
280 StringBuffer hexString = new StringBuffer(); in getFileContentId() local282 hexString.append(Integer.toHexString(0xFF & mdbytes[i])); in getFileContentId()284 return hexString.toString(); in getFileContentId()297 StringBuffer hexString = new StringBuffer(); in getFolderContentId() local299 hexString.append(Integer.toHexString(0xFF & mdbytes[i])); in getFolderContentId()301 return hexString.toString(); in getFolderContentId()311 StringBuffer hexString = new StringBuffer(); in getId() local313 hexString.append(Integer.toHexString(0xFF & mdbytes[i])); in getId()315 return hexString.toString(); in getId()
725 private String hexString(ByteBuffer buf) { in hexString() method in NativeDecoderTest749 Log.i("@@@", "org " + key + ": " + hexString(bufF1)); in compareByteBufferInFormats()750 Log.i("@@@", "rmx " + key + ": " + hexString(bufF2)); in compareByteBufferInFormats()
3819 private static byte[] hexStringToByteArray(String hexString) {3820 int length = hexString.length();3825 (byte) ((toByte(hexString.charAt(i)) << 4) | toByte(hexString.charAt(i + 1)));
1303 private static byte[] hexStringToBytes(String hexString) { in hexStringToBytes() argument1304 return HexDump.hexStringToByteArray(hexString); in hexStringToBytes()
107 public void hexString() { in hexString() method in HalfTest