Searched defs:fromHex (Results 1 - 3 of 3) sorted by relevance
/frameworks/base/tools/obbtool/ |
H A D | Main.cpp | 156 bool fromHex(char h, unsigned char *b) { function 172 if (!fromHex(h1, &first)) return false; 173 if (!fromHex(h2, &second)) return false;
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/ |
H A D | Utils.java | 47 int nibble = Utils.fromHex(s.charAt(n), true); // Set lenient to not blow up on ':' 181 (byte) (((fromHex(text.charAt(n), false) & NIBBLE_MASK) << 4) | 182 (fromHex(text.charAt(n + 1), false) & NIBBLE_MASK)); 188 public static int fromHex(char ch, boolean lenient) throws NumberFormatException { method in class:Utils
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
H A D | Utils.java | 51 int nibble = Utils.fromHex(s.charAt(n), true); // Set lenient to not blow up on ':' 179 (byte) (((fromHex(text.charAt(n), false) & NIBBLE_MASK) << 4) | 180 (fromHex(text.charAt(n + 1), false) & NIBBLE_MASK)); 186 public static int fromHex(char ch, boolean lenient) throws NumberFormatException { method in class:Utils
|
Completed in 296 milliseconds