Home
last modified time | relevance | path

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

/frameworks/base/wifi/java/android/net/wifi/
DWifiSsid.java73 public static WifiSsid createFromAsciiEncoded(String asciiEncoded) { in createFromAsciiEncoded() argument
75 a.convertToBytes(asciiEncoded); in createFromAsciiEncoded()
101 private void convertToBytes(String asciiEncoded) { in convertToBytes() argument
104 while (i< asciiEncoded.length()) { in convertToBytes()
105 char c = asciiEncoded.charAt(i); in convertToBytes()
109 switch(asciiEncoded.charAt(i)) { in convertToBytes()
137 val = Integer.parseInt(asciiEncoded.substring(i, i + 2), HEX_RADIX); in convertToBytes()
144 val = Character.digit(asciiEncoded.charAt(i), HEX_RADIX); in convertToBytes()
161 val = asciiEncoded.charAt(i) - '0'; in convertToBytes()
163 if (asciiEncoded.charAt(i) >= '0' && asciiEncoded.charAt(i) <= '7') { in convertToBytes()
[all …]