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.java52 public static WifiSsid createFromAsciiEncoded(String asciiEncoded) { in createFromAsciiEncoded() argument
54 a.convertToBytes(asciiEncoded); in createFromAsciiEncoded()
80 private void convertToBytes(String asciiEncoded) { in convertToBytes() argument
83 while (i< asciiEncoded.length()) { in convertToBytes()
84 char c = asciiEncoded.charAt(i); in convertToBytes()
88 switch(asciiEncoded.charAt(i)) { in convertToBytes()
116 val = Integer.parseInt(asciiEncoded.substring(i, i + 2), HEX_RADIX); in convertToBytes()
121 val = Character.digit(asciiEncoded.charAt(i), HEX_RADIX); in convertToBytes()
138 val = asciiEncoded.charAt(i) - '0'; in convertToBytes()
140 if (asciiEncoded.charAt(i) >= '0' && asciiEncoded.charAt(i) <= '7') { in convertToBytes()
[all …]