Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/content/integrity/
DIntegrityUtils.java63 private static int hexToDec(int hexChar) { in hexToDec() argument
64 if (hexChar >= '0' && hexChar <= '9') { in hexToDec()
65 return hexChar - '0'; in hexToDec()
67 if (hexChar >= 'a' && hexChar <= 'f') { in hexToDec()
68 return hexChar - 'a' + 10; in hexToDec()
70 if (hexChar >= 'A' && hexChar <= 'F') { in hexToDec()
71 return hexChar - 'A' + 10; in hexToDec()
73 throw new IllegalArgumentException("Invalid hex char " + hexChar); in hexToDec()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DInboundSmsHandler.java2096 private int toDigit(char hexChar) { in toDigit() argument
2097 int digit = Character.digit(hexChar, 16); in toDigit()