Home
last modified time | relevance | path

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

/frameworks/base/wifi/java/android/net/wifi/
DWifiSsid.java71 public static WifiSsid createFromHex(String hexStr) { in createFromHex() argument
73 if (hexStr == null) return a; in createFromHex()
75 if (hexStr.startsWith("0x") || hexStr.startsWith("0X")) { in createFromHex()
76 hexStr = hexStr.substring(2); in createFromHex()
79 for (int i = 0; i < hexStr.length()-1; i += 2) { in createFromHex()
82 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()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DNativeUtil.java329 public static byte[] hexStringToByteArray(String hexStr) { in hexStringToByteArray() argument
330 if (hexStr == null) { in hexStringToByteArray()
333 return HexEncoding.decode(hexStr.toCharArray(), false); in hexStringToByteArray()
/frameworks/base/services/core/java/com/android/server/connectivity/
DVpnIkev2Utils.java367 final String hexStr = identityStr.substring(2); in parseIkeIdentification() local
368 return new IkeKeyIdIdentification(HexDump.hexStringToByteArray(hexStr)); in parseIkeIdentification()