Searched refs:hexStr (Results 1 – 2 of 2) sorted by relevance
58 public static WifiSsid createFromHex(String hexStr) { in createFromHex() argument60 if (hexStr == null) return a; in createFromHex()62 if (hexStr.startsWith("0x") || hexStr.startsWith("0X")) { in createFromHex()63 hexStr = hexStr.substring(2); in createFromHex()66 for (int i = 0; i < hexStr.length()-1; i += 2) { in createFromHex()69 val = Integer.parseInt(hexStr.substring(i, i + 2), HEX_RADIX); in createFromHex()
56 String hexStr = Integer.toString(keyData[i] & 0x00FF, 16); in toHexString() local57 if (hexStr.length() == 1) { in toHexString()58 hexStr = "0" + hexStr; in toHexString()60 sb.append(hexStr); in toHexString()