Home
last modified time | relevance | path

Searched refs:fromHex (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/Osu/src/com/android/hotspot2/
DUtils.java50 int nibble = Utils.fromHex(s.charAt(n), true); // Set lenient to not blow up on ':' in parseMac()
192 (byte) (((fromHex(text.charAt(n), false) & NIBBLE_MASK) << 4) | in hexToBytes()
193 (fromHex(text.charAt(n + 1), false) & NIBBLE_MASK)); in hexToBytes()
199 public static int fromHex(char ch, boolean lenient) throws NumberFormatException { in fromHex() method in Utils
375 return fromHex(s.charAt(position)) << 4 | fromHex(s.charAt(position + 1)); in decodeHexPair()
378 private static int fromHex(char ch) { in fromHex() method in Utils
/frameworks/base/tools/obbtool/
DMain.cpp156 bool fromHex(char h, unsigned char *b) { in fromHex() function
172 if (!fromHex(h1, &first)) return false; in hexToByte()
173 if (!fromHex(h2, &second)) return false; in hexToByte()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DUtils.java53 int nibble = Utils.fromHex(s.charAt(n), true); // Set lenient to not blow up on ':' in parseMac()
181 (byte) (((fromHex(text.charAt(n), false) & NIBBLE_MASK) << 4) | in hexToBytes()
182 (fromHex(text.charAt(n + 1), false) & NIBBLE_MASK)); in hexToBytes()
188 public static int fromHex(char ch, boolean lenient) throws NumberFormatException { in fromHex() method in Utils
/frameworks/base/services/
Dart-profile4264 HPLcom/android/server/wifi/hotspot2/Utils;->fromHex(CZ)I