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.java456 char[] hexChars = new char[length * 3]; in bytesToHex() local
460 hexChars[i * 3] = hexArray[v >>> 4]; in bytesToHex()
461 hexChars[i * 3 + 1] = hexArray[v & 0x0F]; in bytesToHex()
462 hexChars[i * 3 + 2] = ' '; in bytesToHex()
464 return new String(hexChars); in bytesToHex()
/cts/tests/tests/net/src/android/net/cts/
DDnsResolverTest.java120 char[] hexChars = new char[bytes.length * 2]; in byteArrayToHexString() local
123 hexChars[i * 2] = HEX_CHARS[b >>> 4]; in byteArrayToHexString()
124 hexChars[i * 2 + 1] = HEX_CHARS[b & 0x0F]; in byteArrayToHexString()
126 return new String(hexChars); in byteArrayToHexString()