Searched refs:fromHex (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/tools/obbtool/ |
D | Main.cpp | 156 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/base/packages/Osu/src/com/android/hotspot2/ |
D | Utils.java | 47 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/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
D | Utils.java | 51 int nibble = Utils.fromHex(s.charAt(n), true); // Set lenient to not blow up on ':' in parseMac() 179 (byte) (((fromHex(text.charAt(n), false) & NIBBLE_MASK) << 4) | in hexToBytes() 180 (fromHex(text.charAt(n + 1), false) & NIBBLE_MASK)); in hexToBytes() 186 public static int fromHex(char ch, boolean lenient) throws NumberFormatException { in fromHex() method in Utils
|
D | SupplicantBridge.java | 454 int nh = Utils.fromHex(mString.charAt(mPosition), true); in hasDoubleHex() 458 int nl = Utils.fromHex(mString.charAt(mPosition + 1), true); in hasDoubleHex()
|