Searched refs:ssidBytes (Results 1 – 7 of 7) sorted by relevance
297 ArrayList<Byte> ssidBytes = hexOrQuotedStringToBytes(ssidStr); in decodeSsid() local298 if (ssidBytes.size() > SSID_BYTES_MAX_LEN) { in decodeSsid()299 throw new IllegalArgumentException("ssid bytes size out of range: " + ssidBytes.size()); in decodeSsid()301 return ssidBytes; in decodeSsid()314 public static String encodeSsid(ArrayList<Byte> ssidBytes) { in encodeSsid() argument315 if (ssidBytes.size() > SSID_BYTES_MAX_LEN) { in encodeSsid()316 throw new IllegalArgumentException("ssid bytes size out of range: " + ssidBytes.size()); in encodeSsid()318 return bytesToHexOrQuotedString(ssidBytes); in encodeSsid()
74 byte[] ssidBytes = new byte[ssidLength]; in parse()75 payload.get(ssidBytes); in parse()84 return new HSOsuProvidersElement(WifiSsid.fromBytes(ssidBytes), providers); in parse()
145 private static String decodeSsid(@NonNull byte[] ssidBytes, @NonNull Charset charset) { in decodeSsid() argument150 CoderResult result = decoder.decode(ByteBuffer.wrap(ssidBytes), out, true); in decodeSsid()
232 byte[] ssidBytes = ssid.getBytes(); in getTranslatedSsid()233 for (int i = 0; i < ssidBytes.length; i++) { in getTranslatedSsid()234 ssidBytes[i]++; in getTranslatedSsid()236 return WifiSsid.fromBytes(ssidBytes); in getTranslatedSsid()1719 byte[] ssidBytes = new byte[8]; in createFrameworkBgScanDatas()1722 random.nextBytes(ssidBytes); in createFrameworkBgScanDatas()1725 WifiSsid.fromBytes(ssidBytes), MacAddress.fromBytes(bssidBytes)); in createFrameworkBgScanDatas()
368 byte[] ssidBytes = ssid.getBytes(); in getTranslatedSsid()369 for (int i = 0; i < ssidBytes.length; i++) { in getTranslatedSsid()370 ssidBytes[i]++; in getTranslatedSsid()372 return WifiSsid.fromBytes(ssidBytes); in getTranslatedSsid()
150 byte[] ssidBytes = getTestSsidIEBytes(); in parseInformationElements_withSingleElement()153 InformationElementUtil.parseInformationElements(ssidBytes); in parseInformationElements_withSingleElement()
6318 byte[] ssidBytes = networkName.getBytes(StandardCharsets.UTF_8); in isValidNetworkName()6319 if (ssidBytes.length < MIN_NETWORK_NAME_BYTES) return false; in isValidNetworkName()6320 return ssidBytes.length <= MAX_NETWORK_NAME_BYTES; in isValidNetworkName()