Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/content/integrity/
DIntegrityUtils.java52 char[] hexChars = new char[rawBytes.length * 2]; in getHexDigest() local
57 hexChars[i * 2] = decToHex(upperNibble); in getHexDigest()
58 hexChars[i * 2 + 1] = decToHex(lowerNibble); in getHexDigest()
60 return new String(hexChars); in getHexDigest()
/frameworks/base/packages/StatementService/src/com/android/statementservice/utils/
DStatementUtils.kt117 val hexChars = CharArray(bytes.size * 3 - 1) in bytesToHexString() constant
122 hexChars[bufIndex++] = ':' in bytesToHexString()
125 hexChars[bufIndex++] = HEX_DIGITS[byte ushr 4] in bytesToHexString()
126 hexChars[bufIndex++] = HEX_DIGITS[byte and 0x0F] in bytesToHexString()
128 return String(hexChars) in bytesToHexString()