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

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
H A DUtils.java46 int nibble = Utils.fromHex(s.charAt(n), true); // Set lenient to not blow up on ':'
158 (byte) (((fromHex(text.charAt(n), false) & NIBBLE_MASK) << 4) |
159 (fromHex(text.charAt(n + 1), false) & NIBBLE_MASK));
165 public static int fromHex(char ch, boolean lenient) throws NumberFormatException { method in class:Utils
H A DSupplicantBridge.java422 int nh = Utils.fromHex(mString.charAt(mPosition), true);
426 int nl = Utils.fromHex(mString.charAt(mPosition + 1), true);
H A DNetworkDetail.java447 int nibble = Utils.fromHex(s.charAt(n), true);
/frameworks/base/tools/obbtool/
H A DMain.cpp156 bool fromHex(char h, unsigned char *b) { function
172 if (!fromHex(h1, &first)) return false;
173 if (!fromHex(h2, &second)) return false;

Completed in 53 milliseconds