Home
last modified time | relevance | path

Searched refs:hexChars (Results 1 – 3 of 3) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/wifiaware/
DBaseTestCase.java169 char[] hexChars = new char[bytes.length * 2 + (useSeparator ? bytes.length - 1 : 0)]; in bytesToHex() local
173 hexChars[base++] = sep; in bytesToHex()
176 hexChars[base++] = hexArray[v >> 4]; in bytesToHex()
177 hexChars[base++] = hexArray[v & 0x0F]; in bytesToHex()
179 return new String(hexChars); in bytesToHex()
/cts/tests/sensor/src/android/hardware/cts/helpers/
DSensorCtsHelper.java551 char[] hexChars = new char[length * 3]; in bytesToHex() local
555 hexChars[i * 3] = hexArray[v >>> 4]; in bytesToHex()
556 hexChars[i * 3 + 1] = hexArray[v & 0x0F]; in bytesToHex()
557 hexChars[i * 3 + 2] = ' '; in bytesToHex()
559 return new String(hexChars); in bytesToHex()
/cts/tests/media/common/src/android/mediav2/common/cts/
DCodecTestBase.java1124 char[] hexChars = new char[bytes.length * 3]; in byteArrayToHexString() local
1128 hexChars[j * 3] = hexArray[v >>> 4]; in byteArrayToHexString()
1129 hexChars[j * 3 + 1] = hexArray[v & 0x0F]; in byteArrayToHexString()
1130 hexChars[j * 3 + 2] = ' '; in byteArrayToHexString()
1132 return new String(hexChars); in byteArrayToHexString()