Home
last modified time | relevance | path

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

/aosp14/frameworks/base/core/java/android/content/integrity/
H A 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()
/aosp14/frameworks/base/packages/StatementService/src/com/android/statementservice/utils/
H A DStatementUtils.kt116 val hexChars = CharArray(bytes.size * 3 - 1) regex
121 hexChars[bufIndex++] = ':'
124 hexChars[bufIndex++] = HEX_DIGITS[byte ushr 4]
125 hexChars[bufIndex++] = HEX_DIGITS[byte and 0x0F]
127 return String(hexChars)