Home
last modified time | relevance | path

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

/frameworks/base/wifi/java/android/net/wifi/
DWifiSsid.java173 byte[] ssidBytes = octets.toByteArray(); in toString()
177 if (octets.size() <= 0 || isArrayAllZeroes(ssidBytes)) return ""; in toString()
185 CoderResult result = decoder.decode(ByteBuffer.wrap(ssidBytes), out, true); in toString()
210 private boolean isArrayAllZeroes(byte[] ssidBytes) { in isArrayAllZeroes() argument
211 for (int i = 0; i< ssidBytes.length; i++) { in isArrayAllZeroes()
212 if (ssidBytes[i] != 0) return false; in isArrayAllZeroes()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/anqp/
DHSOsuProvidersElement.java74 byte[] ssidBytes = new byte[ssidLength]; in parse()
75 payload.get(ssidBytes); in parse()
84 return new HSOsuProvidersElement(WifiSsid.createFromByteArray(ssidBytes), providers); in parse()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiConfigurationUtil.java287 byte[] ssidBytes = ssid.getBytes(StandardCharsets.UTF_8); in validateSsid()
288 if (ssidBytes.length < SSID_UTF_8_MIN_LEN) { in validateSsid()
290 + ssidBytes.length); in validateSsid()
293 if (ssidBytes.length > SSID_UTF_8_MAX_LEN) { in validateSsid()
295 + ssidBytes.length); in validateSsid()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DNativeUtil.java288 public static String encodeSsid(ArrayList<Byte> ssidBytes) { in encodeSsid() argument
289 return bytesToHexOrQuotedString(ssidBytes); in encodeSsid()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/
DInformationElementUtilTest.java110 byte[] ssidBytes = getTestSsidIEBytes(); in parseInformationElements_withSingleElement()
113 InformationElementUtil.parseInformationElements(ssidBytes); in parseInformationElements_withSingleElement()