Searched refs:ssidBytes (Results 1 – 5 of 5) sorted by relevance
173 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() argument211 for (int i = 0; i< ssidBytes.length; i++) { in isArrayAllZeroes()212 if (ssidBytes[i] != 0) return false; in isArrayAllZeroes()
74 byte[] ssidBytes = new byte[ssidLength]; in parse()75 payload.get(ssidBytes); in parse()84 return new HSOsuProvidersElement(WifiSsid.createFromByteArray(ssidBytes), providers); in parse()
287 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()
288 public static String encodeSsid(ArrayList<Byte> ssidBytes) { in encodeSsid() argument289 return bytesToHexOrQuotedString(ssidBytes); in encodeSsid()
110 byte[] ssidBytes = getTestSsidIEBytes(); in parseInformationElements_withSingleElement()113 InformationElementUtil.parseInformationElements(ssidBytes); in parseInformationElements_withSingleElement()