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.java65 public static WifiSsid createFromAsciiEncoded(String asciiEncoded) { in createFromAsciiEncoded() argument
67 a.convertToBytes(asciiEncoded); in createFromAsciiEncoded()
93 private void convertToBytes(String asciiEncoded) { in convertToBytes() argument
96 while (i< asciiEncoded.length()) { in convertToBytes()
97 char c = asciiEncoded.charAt(i); in convertToBytes()
101 switch(asciiEncoded.charAt(i)) { in convertToBytes()
129 val = Integer.parseInt(asciiEncoded.substring(i, i + 2), HEX_RADIX); in convertToBytes()
136 val = Character.digit(asciiEncoded.charAt(i), HEX_RADIX); in convertToBytes()
153 val = asciiEncoded.charAt(i) - '0'; in convertToBytes()
155 if (asciiEncoded.charAt(i) >= '0' && asciiEncoded.charAt(i) <= '7') { in convertToBytes()
[all …]