Home
last modified time | relevance | path

Searched refs:hexStr (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/wifi/java/android/net/wifi/
DWifiSsid.java58 public static WifiSsid createFromHex(String hexStr) { in createFromHex() argument
60 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()
/frameworks/base/keystore/java/android/security/
DSystemKeyStore.java56 String hexStr = Integer.toString(keyData[i] & 0x00FF, 16); in toHexString() local
57 if (hexStr.length() == 1) { in toHexString()
58 hexStr = "0" + hexStr; in toHexString()
60 sb.append(hexStr); in toHexString()