Searched refs:asciiEncoded (Results 1 – 1 of 1) sorted by relevance
65 public static WifiSsid createFromAsciiEncoded(String asciiEncoded) { in createFromAsciiEncoded() argument67 a.convertToBytes(asciiEncoded); in createFromAsciiEncoded()93 private void convertToBytes(String asciiEncoded) { in convertToBytes() argument96 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 …]