Home
last modified time | relevance | path

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

/cts/tests/tests/telephony/current/src/android/telephony/cts/
DTelephonyUtils.java199 public static byte[] hexStringToByteArray(String hexString) { in hexStringToByteArray() argument
200 int length = hexString.length(); in hexStringToByteArray()
205 (byte) ((toByte(hexString.charAt(i)) << 4) | toByte(hexString.charAt(i + 1))); in hexStringToByteArray()
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/
DTestSuiteContentReport.java280 StringBuffer hexString = new StringBuffer(); in getFileContentId() local
282 hexString.append(Integer.toHexString(0xFF & mdbytes[i])); in getFileContentId()
284 return hexString.toString(); in getFileContentId()
297 StringBuffer hexString = new StringBuffer(); in getFolderContentId() local
299 hexString.append(Integer.toHexString(0xFF & mdbytes[i])); in getFolderContentId()
301 return hexString.toString(); in getFolderContentId()
311 StringBuffer hexString = new StringBuffer(); in getId() local
313 hexString.append(Integer.toHexString(0xFF & mdbytes[i])); in getId()
315 return hexString.toString(); in getId()
/cts/tests/tests/media/src/android/media/cts/
DNativeDecoderTest.java725 private String hexString(ByteBuffer buf) { in hexString() method in NativeDecoderTest
749 Log.i("@@@", "org " + key + ": " + hexString(bufF1)); in compareByteBufferInFormats()
750 Log.i("@@@", "rmx " + key + ": " + hexString(bufF2)); in compareByteBufferInFormats()
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/
DImsServiceTest.java3819 private static byte[] hexStringToByteArray(String hexString) {
3820 int length = hexString.length();
3825 (byte) ((toByte(hexString.charAt(i)) << 4) | toByte(hexString.charAt(i + 1)));
/cts/tests/tests/content/src/android/content/pm/cts/
DChecksumsTest.java1303 private static byte[] hexStringToBytes(String hexString) { in hexStringToBytes() argument
1304 return HexDump.hexStringToByteArray(hexString); in hexStringToBytes()
/cts/tests/tests/util/src/android/util/cts/
DHalfTest.java107 public void hexString() { in hexString() method in HalfTest