/system/connectivity/wificond/scanning/ |
scanner_impl.cpp | 180 vector<vector<uint8_t>> ssids = {{}}; local 184 if (ssids.size() + 1 > scan_capabilities_.max_num_scan_ssids) { 188 ssids.push_back(network.ssid_); 198 if (!scan_utils_->Scan(interface_index_, request_random_mac, ssids, freqs)) { 341 vector<vector<uint8_t>>& ssids,
|
/frameworks/base/services/core/java/com/android/server/net/ |
NetworkPolicyManagerShellCommand.java | 347 final Set<String> ssids = new HashSet<>(size); local 350 ssids.add(removeDoubleQuotes(config.SSID)); 361 ssids.remove(netId); 365 for (String ssid : ssids) {
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
SavedNetworkEvaluatorTest.java | 152 String[] ssids = {"\"test1\"", "\"test2\""}; local 160 WifiNetworkSelectorTestUtil.setupScanDetailsAndConfigStore(ssids, bssids, 179 String[] ssids = {"\"test1\"", "\"test2\""}; local 187 WifiNetworkSelectorTestUtil.setupScanDetailsAndConfigStore(ssids, bssids, 207 String[] ssids = {"\"test1\"", "\"test2\"", "\"test3\""}; local 216 WifiNetworkSelectorTestUtil.setupScanDetailsAndConfigStore(ssids, bssids, 246 String[] ssids = {"\"test1\"", "\"test2\""}; local 254 WifiNetworkSelectorTestUtil.setupScanDetailsAndConfigStore(ssids, bssids, 274 String[] ssids = {"\"test1\"", "\"test2\""}; local 282 WifiNetworkSelectorTestUtil.setupScanDetailsAndConfigStore(ssids, bssids 301 String[] ssids = {"\\"test1\\"", "\\"test2\\""}; local 328 String[] ssids = {"\\"test1\\"", "\\"test2\\""}; local 356 String[] ssids = {"\\"test1\\"", "\\"test2\\""}; local 389 String[] ssids = {"\\"test1\\"", "\\"test1\\""}; local 429 String[] ssids = {"\\"test1\\"", "\\"test1\\"", "\\"test2\\""}; local 484 String[] ssids = {"\\"test1\\"", "\\"test2\\""}; local [all...] |
WifiNetworkSelectorTest.java | 173 String[] ssids = new String[0]; local 181 WifiNetworkSelectorTestUtil.setupScanDetailsAndConfigStore(ssids, bssids, 202 String[] ssids = {"\"test1\"", "\"test2\""}; local 210 WifiNetworkSelectorTestUtil.setupScanDetailsAndConfigStore(ssids, bssids, 231 String[] ssids = {"\"test1\"", "\"test2\""}; local 240 WifiNetworkSelectorTestUtil.setupScanDetailsAndConfigStore(ssids, bssids, 269 String[] ssids = {"\"test1\"", "\"test2\""}; local 278 WifiNetworkSelectorTestUtil.setupScanDetailsAndConfigStore(ssids, bssids, 311 String[] ssids = {"\"test1\""}; local 319 WifiNetworkSelectorTestUtil.setupScanDetailsAndConfigStore(ssids, bssids 356 String[] ssids = {"\\"test1\\""}; local 402 String[] ssids = {"\\"test1\\""}; local 448 String[] ssids = {"\\"test1\\""}; local 493 String[] ssids = {"\\"test1\\""}; local 524 String[] ssids = {"\\"test1\\"", "\\"test2\\""}; local 574 String[] ssids = {"\\"test1\\"", "\\"test2\\"", "\\"test3\\""}; local 621 String[] ssids = {"\\"test1\\"", "\\"test2\\""}; local [all...] |
ScoredNetworkEvaluatorTest.java | 106 String[] ssids = {"\"test1\""}; local 115 ssids, bssids, freqs, caps, levels, securities, mWifiConfigManager, mClock); 130 String[] ssids = {"\"test1\""}; local 139 ssids, bssids, freqs, caps, levels, securities, mWifiConfigManager, mClock); 148 String[] ssids = {"\"test1\"", "\"test2\""}; local 157 ssids, bssids, freqs, caps, levels, securities, mWifiConfigManager, mClock); 173 String[] ssids = {"\"test1\"", "\"test2\""}; local 182 ssids, bssids, freqs, caps, levels, securities, mWifiConfigManager, mClock); 220 String[] ssids = {"\"test1\"", "\"test2\""}; local 229 ssids, bssids, freqs, caps, levels, mClock) 257 String[] ssids = {"\\"test1\\"", "\\"test2\\""}; local 297 String[] ssids = {"\\"test1\\"", "\\"test2\\""}; local 329 String[] ssids = {"\\"test1\\""}; local 361 String[] ssids = {"\\"test1\\"", "\\"test2\\""}; local 394 String[] ssids = {"\\"test1\\"", "\\"test2\\""}; local 480 String[] ssids = {"\\"test1\\"", "\\"test2\\""}; local 511 String[] ssids = {"\\"test1\\"", "\\"test2\\""}; local 552 String[] ssids = {"\\"test1\\"", "\\"test2\\""}; local [all...] |
WifiLastResortWatchdogTest.java | 61 private List<Pair<ScanDetail, WifiConfiguration>> createFilteredQnsCandidates(String[] ssids, 66 for (int index = 0; index < ssids.length; index++) { 67 String ssid = ssids[index].replaceAll("^\"+", "").replaceAll("\"+$", ""); 84 private List<Pair<ScanDetail, WifiConfiguration>> createFilteredQnsCandidates(String[] ssids, 90 for (int index = 0; index < ssids.length; index++) { 91 String ssid = ssids[index].replaceAll("^\"+", "").replaceAll("\"+$", ""); 457 String[] ssids = {"\"test1\"", "\"test2\"", "\"test1\"", "\"test4\""}; local 462 List<Pair<ScanDetail, WifiConfiguration>> candidates = createFilteredQnsCandidates(ssids, 467 for (int i = 0; i < ssids.length; i++) { 475 ssids[0], WifiLastResortWatchdog.BSSID_ANY 826 String[] ssids = {"\\"test1\\"", "\\"test2\\"", "\\"test3\\"", "\\"test4\\"", local 1433 String[] ssids = {"\\"test1\\"", "\\"test2\\"", "\\"test3\\"", "\\"test4\\"", "\\"test5\\""}; local [all...] |
/external/wpa_supplicant_8/src/common/ |
privsep_commands.h | 37 u8 ssids[WPAS_MAX_SCAN_SSIDS][32]; member in struct:privsep_cmd_scan
|
/external/wpa_supplicant_8/src/drivers/ |
driver_nl80211_scan.c | 193 struct nlattr *ssids; local 195 ssids = nla_nest_start(msg, NL80211_ATTR_SCAN_SSIDS); 196 if (ssids == NULL) 200 params->ssids[i].ssid, 201 params->ssids[i].ssid_len); 202 if (nla_put(msg, i + 1, params->ssids[i].ssid_len, 203 params->ssids[i].ssid)) 206 nla_nest_end(msg, ssids); 547 * matchset will actually allow all SSIDs above the RSSI. 1055 struct nlattr *ssids; local [all...] |
driver.h | 339 * struct wpa_driver_scan_ssid - SSIDs to scan for 356 * ssids - SSIDs to scan for 358 struct wpa_driver_scan_ssid ssids[WPAS_MAX_SCAN_SSIDS]; member in struct:wpa_driver_scan_params 361 * num_ssids - Number of entries in ssids array 384 * filter_ssids - Filter for reporting SSIDs 387 * filter scan results to include only the specified SSIDs. %NULL 390 * number of APs with different SSIDs. 4808 struct wpa_driver_scan_ssid ssids[WPAS_MAX_SCAN_SSIDS]; member in struct:wpa_event_data::scan_info [all...] |
/system/connectivity/wificond/net/ |
netlink_manager.cpp | 662 vector<vector<uint8_t>> ssids; local 666 LOG(WARNING) << "Failed to get scan ssids from scan result notification"; 669 if (!ssids_attr.GetListOfAttributeValues(&ssids)) { 685 handler->second(if_index, aborted, ssids, freqs);
|
/packages/services/NetworkRecommendation/src/com/android/networkrecommendation/wakeup/ |
WifiWakeupController.java | 57 * range of the saved SSIDs that were in range when the user disabled Wi-Fi. 304 Set<String> ssids = new ArraySet<>(); local 306 ssids.add(HashUtil.getSsidHash(ssid)); 308 Preferences.savedSsidsOnDisable.put(ssids); 336 // Update mSavedSsidsOnDisable to remove ssids that the user has moved away from. 352 "Scan results contain ssids from the disabled set: %s", 358 Blog.v(TAG, "Scan results do not contain any saved ssids.");
|
/cts/tests/tests/net/src/android/net/wifi/cts/ |
WifiManagerTest.java | 453 Set<String> ssids = new HashSet<String>(); local 456 ssids.add(wifiConfig.SSID); 460 return ssids; [all...] |
/external/wpa_supplicant_8/wpa_supplicant/ |
scan.c | 312 struct wpa_driver_scan_filter *ssids; local 326 ssids = os_calloc(count, sizeof(struct wpa_driver_scan_filter)); 327 if (ssids == NULL) 333 os_memcpy(ssids[*num_ssids].ssid, ssid->ssid, ssid->ssid_len); 334 ssids[*num_ssids].ssid_len = ssid->ssid_len; 338 return ssids; 649 if (params->ssids[j].ssid_len == ssid->ssid_len && 650 params->ssids[j].ssid && 651 os_memcmp(params->ssids[j].ssid, ssid->ssid, 660 "Over max scan SSIDs for manual request") [all...] |
/external/iw/ |
scan.c | 104 struct nl_msg *matchset = NULL, *freqs = NULL, *ssids = NULL; local 132 ssids = nlmsg_alloc(); 133 if (!ssids) { 293 NLA_PUT(ssids, 317 NLA_PUT(ssids, 1, 0, ""); 319 nla_put_nested(msg, NL80211_ATTR_SCAN_SSIDS, ssids); 345 struct nl_msg *ssids = NULL, *freqs = NULL; local 363 ssids = nlmsg_alloc(); 364 if (!ssids) 369 nlmsg_free(ssids); [all...] |
/external/wpa_supplicant_8/wpa_supplicant/dbus/ |
dbus_new_handlers.c | 1024 struct wpa_driver_scan_ssid *ssids = params->ssids; local 1033 "%s[dbus]: ssids must be an array of arrays of bytes", 1037 "Wrong SSIDs value type. Array of arrays of bytes required"); 1046 "%s[dbus]: ssids must be an array of arrays of bytes", 1050 "Wrong SSIDs value type. Array of arrays of bytes required"); 1057 "%s[dbus]: Too many ssids specified on scan dbus call", 1061 "Too many ssids specified. Specify at most four"); 1086 /* Allow zero-length SSIDs */ 1090 ssids[ssids_num].ssid = ssid [all...] |
/frameworks/base/packages/Osu/src/com/android/hotspot2/omadm/ |
MOManager.java | 746 Map<String, Long> ssids = new HashMap<>(); local 752 ssids.put(ssidRoot.getChild(TAG_SSID).getValue(), getMac(hessidNode)); [all...] |