/external/autotest/server/site_tests/network_WiFi_ScanPerformance/ |
network_WiFi_ScanPerformance.py | 21 ssids = [self.context.router.get_ssid()] 25 ssids=ssids, scan_timeout_seconds=10) 29 scan_time = self.context.client.timed_scan(frequencies=[], ssids=ssids, 37 scan_time = self.context.client.timed_scan(frequencies=[], ssids=ssids,
|
/system/connectivity/shill/net/ |
netlink_message_matchers.h | 91 AttributeListConstRefPtr ssids; local 93 NL80211_ATTR_SCAN_SSIDS, &ssids)) { 98 AttributeIdIterator ssid_iter(*ssids); 99 if (!ssids->GetRawAttributeValue(ssid_iter.GetId(), &ssid)) { 100 LOG(INFO) << "SSID list contains no (hidden) SSIDs"; 110 LOG(INFO) << "SSID list doesn't contain an empty SSIDs (but should)"; 114 if (!ssids->GetRawAttributeValue(ssid_iter.GetId(), &empty_ssid) || 124 // contains no SSIDs. 139 AttributeListConstRefPtr ssids; local 141 NL80211_ATTR_SCAN_SSIDS, &ssids)) { [all...] |
netlink_message_unittest.cc | 416 // Helper function to provide an array of SSIDs from a message's 490 vector<string> ssids; local 491 EXPECT_TRUE(GetScanSsidsFromMessage(*message, &ssids)); 492 EXPECT_EQ(1, ssids.size()); 493 EXPECT_EQ(0, ssids[0].compare("")); // Expect a single, empty SSID. 543 vector<string> ssids; local 544 EXPECT_TRUE(GetScanSsidsFromMessage(*message, &ssids)); 545 EXPECT_EQ(1, ssids.size()); 546 EXPECT_EQ(0, ssids[0].compare("")); // Expect a single, empty SSID. [all...] |
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
WifiQualifiedNetworkSelectorTest.java | 102 private List<ScanDetail> getScanDetails(String[] ssids, String[] bssids, int[] frequencies, 106 for (int index = 0; index < ssids.length; index++) { 107 ScanDetail scanDetail = new ScanDetail(WifiSsid.createFromAsciiEncoded(ssids[index]), 325 String[] ssids = DEFAULT_SSIDS; local 332 List<ScanDetail> scanDetails = getScanDetails(ssids, bssids, frequencies, caps, levels); 334 WifiConfiguration[] savedConfigs = generateWifiConfigurations(ssids, security); 363 String[] ssids = DEFAULT_SSIDS; local 370 List<ScanDetail> scanDetails = getScanDetails(ssids, bssids, frequencies, caps, levels); 372 WifiConfiguration[] savedConfigs = generateWifiConfigurations(ssids, security); 401 String[] ssids = DEFAULT_SSIDS local 438 String[] ssids = DEFAULT_SSIDS; local 475 String[] ssids = DEFAULT_SSIDS; local 511 String[] ssids = DEFAULT_SSIDS; local 546 String[] ssids = DEFAULT_SSIDS; local 582 String[] ssids = {"\\"test1\\"", "\\"test2\\""}; local 618 String[] ssids = DEFAULT_SSIDS; local 651 String[] ssids = {"\\"test1\\"", "\\"test2\\"", "\\"test3\\""}; local 692 String[] ssids = {"\\"test1\\"", "\\"test2\\"", "\\"test3\\""}; local 781 String[] ssids = DEFAULT_SSIDS; local 821 String[] ssids = DEFAULT_SSIDS; local 863 String[] ssids = {"\\"test1\\"", "\\"test2\\"", "\\"test3\\""}; local 909 String[] ssids = DEFAULT_SSIDS; local 948 String[] ssids = DEFAULT_SSIDS; local 982 String[] ssids = DEFAULT_SSIDS; local 1020 String[] ssids = DEFAULT_SSIDS; local 1056 String[] ssids = DEFAULT_SSIDS; local 1092 String[] ssids = DEFAULT_SSIDS; local 1127 String[] ssids = DEFAULT_SSIDS; local 1171 String[] ssids = DEFAULT_SSIDS; local 1211 String[] ssids = DEFAULT_SSIDS; local 1253 String[] ssids = DEFAULT_SSIDS; local 1300 String[] ssids = DEFAULT_SSIDS; local 1347 String[] ssids = DEFAULT_SSIDS; local 1394 String[] ssids = DEFAULT_SSIDS; local 1442 String[] ssids = DEFAULT_SSIDS; local 1488 String[] ssids = DEFAULT_SSIDS; local 1535 String[] ssids = DEFAULT_SSIDS; local 1586 String[] ssids = DEFAULT_SSIDS; local 1639 String[] ssids = DEFAULT_SSIDS; local 1700 String[] ssids = {"\\"test1\\"", "\\"test2\\"", "\\"test3\\"", "\\"test4\\""}; local 1779 String[] ssids = {"\\"test1\\"", "\\"test2\\"", "\\"test3\\"", "\\"test4\\""}; local 1853 String[] ssids = DEFAULT_SSIDS; local 1920 String[] ssids = DEFAULT_SSIDS; local 1964 String[] ssids = {"\\"test1\\""}; local 2010 String[] ssids = DEFAULT_SSIDS; local 2061 String[] ssids = DEFAULT_SSIDS; local 2251 String[] ssids = {"\\"test1\\"", "\\"test1\\""}; local 2289 String[] ssids = {"\\"test1\\"", "\\"test1\\""}; local [all...] |
WifiLastResortWatchdogTest.java | 62 private List<Pair<ScanDetail, WifiConfiguration>> createFilteredQnsCandidates(String[] ssids, 67 for (int index = 0; index < ssids.length; index++) { 68 String ssid = ssids[index].replaceAll("^\"+", "").replaceAll("\"+$", ""); 85 private List<Pair<ScanDetail, WifiConfiguration>> createFilteredQnsCandidates(String[] ssids, 91 for (int index = 0; index < ssids.length; index++) { 92 String ssid = ssids[index].replaceAll("^\"+", "").replaceAll("\"+$", ""); 458 String[] ssids = {"\"test1\"", "\"test2\"", "\"test1\"", "\"test4\""}; local 463 List<Pair<ScanDetail, WifiConfiguration>> candidates = createFilteredQnsCandidates(ssids, 468 for (int i = 0; i < ssids.length; i++) { 476 ssids[0], WifiLastResortWatchdog.BSSID_ANY 827 String[] ssids = {"\\"test1\\"", "\\"test2\\"", "\\"test3\\"", "\\"test4\\"", local 1434 String[] ssids = {"\\"test1\\"", "\\"test2\\"", "\\"test3\\"", "\\"test4\\"", "\\"test5\\""}; local [all...] |
/external/wpa_supplicant_8/src/drivers/ |
driver_nl80211_android.c | 98 params->ssids[i].ssid, 99 params->ssids[i].ssid_len); 101 buf[bp++] = params->ssids[i].ssid_len; 102 os_memcpy(&buf[bp], params->ssids[i].ssid, 103 params->ssids[i].ssid_len); 104 bp += params->ssids[i].ssid_len;
|
driver_nl80211_scan.c | 131 struct nlattr *ssids; local 133 ssids = nla_nest_start(msg, NL80211_ATTR_SCAN_SSIDS); 134 if (ssids == NULL) 138 params->ssids[i].ssid, 139 params->ssids[i].ssid_len); 140 if (nla_put(msg, i + 1, params->ssids[i].ssid_len, 141 params->ssids[i].ssid)) 144 nla_nest_end(msg, ssids); 472 * matchset will actually allow all SSIDs above the RSSI. 943 struct nlattr *ssids; local [all...] |
/external/autotest/server/site_tests/network_WiFi_ChaosConfigSniffer/ |
network_WiFi_ChaosConfigSniffer.py | 19 def run_once(self, wifi_client=None, ssids=[]): 21 for ssid in ssids: 24 wifi_client._wifi_if, ssids=[ssid], timeout_seconds=60) 55 logging.error('The following SSIDs could not be found:') 58 raise error.TestError('Some SSIDs could not be found, please check '
|
/external/wpa_supplicant_8/wpa_supplicant/ |
scan.c | 303 struct wpa_driver_scan_filter *ssids; local 317 ssids = os_calloc(count, sizeof(struct wpa_driver_scan_filter)); 318 if (ssids == NULL) 324 os_memcpy(ssids[*num_ssids].ssid, ssid->ssid, ssid->ssid_len); 325 ssids[*num_ssids].ssid_len = ssid->ssid_len; 329 return ssids; 592 if (params->ssids[j].ssid_len == ssid->ssid_len && 593 params->ssids[j].ssid && 594 os_memcmp(params->ssids[j].ssid, ssid->ssid, 603 "Over max scan SSIDs for manual request") [all...] |
bgscan_simple.c | 41 params.ssids[0].ssid = data->ssid->ssid; 42 params.ssids[0].ssid_len = data->ssid->ssid_len;
|
/external/autotest/client/common_lib/cros/network/ |
iw_runner.py | 57 # max_scan_ssids: Maximum number of SSIDs which can be scanned at once. 433 match_max_scan_ssids = re.match('\s*max # scan SSIDs: (\d+)', 546 def scan(self, interface, frequencies=(), ssids=()): 551 @param ssids: list of string SSIDs to send probe requests for. 556 scan_result = self.timed_scan(interface, frequencies, ssids) 562 def timed_scan(self, interface, frequencies=(), ssids=()): 567 @param ssids: list of string SSIDs to send probe requests for. 576 if ssids [all...] |
/external/autotest/server/site_tests/network_WiFi_MissingBeacons/ |
network_WiFi_MissingBeacons.py | 75 self.context.client.scan(frequencies=[], 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) {
|
/hardware/broadcom/wlan/bcmdhd/wpa_supplicant_8_lib/ |
driver_cmd_wext.c | 90 /* Set list of SSIDs */ 96 wpa_printf(MSG_DEBUG, "For Scan: %s", params->ssids[i].ssid); 98 buf[bp++] = params->ssids[i].ssid_len; 99 os_memcpy(&buf[bp], params->ssids[i].ssid, params->ssids[i].ssid_len); 100 bp += params->ssids[i].ssid_len;
|
/external/autotest/server/cros/network/ |
wifi_client.py | 292 @param expected_ssids list of string SSIDs. 528 def timed_scan(self, frequencies, ssids, scan_timeout_seconds=10, 530 """Request timed scan to discover given SSIDs. 536 not able to discover the given SSIDs. 539 @param ssids list of string ssids to probe request for. 544 SSIDs are missing from the results. 551 self.wifi_if, frequencies=frequencies, ssids=ssids) 565 # Verify all ssids are discovere [all...] |
chaos_clique_utils.py | 126 client.wifi_if, ssids=[ap.ssid]) 260 wifi_if, ssids=[ssid], timeout_seconds=300)
|
/external/autotest/client/cros/networking/ |
android_xmlrpc_server.py | 264 """Get the list of all SSIDs in the current scan results. 266 @return list of string SSIDs with at least one BSS we've scanned. 269 ssids = [] 276 ssids.append(result[utils.WifiEnums.SSID_KEY]) 282 logging.debug(ssids) 283 return ssids
|
/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...] |
/system/connectivity/shill/wifi/ |
wake_on_wifi.cc | 440 AttributeListRefPtr ssids; 442 NL80211_ATTR_SCHED_SCAN_MATCH, &ssids)) { 451 if (!ssids->CreateNestedAttribute( 458 if (!ssids->SetNestedAttributeHasAValue(ssid_num)) { 466 if (!ssids->GetNestedAttributeList(ssid_num, &single_ssid)) { 742 AttributeListConstRefPtr ssids; 744 NL80211_ATTR_SCHED_SCAN_MATCH, &ssids)) { 752 AttributeIdIterator ssid_iter(*ssids); 759 if (!ssids->ConstGetNestedAttributeList(ssid_index, &single_ssid)) { [all...] |
/external/autotest/server/site_tests/network_WiFi_ProfileGUID/ |
network_WiFi_ProfileGUID.py | 33 self.context.client.scan(frequencies=[], ssids=[])
|
/system/connectivity/shill/test-rpc-proxy/ |
proxy_dbus_shill_wifi_client.h | 66 bool GetActiveWifiSsids(std::vector<std::string>* ssids) override;
|
proxy_shill_wifi_client.h | 85 virtual bool GetActiveWifiSsids(std::vector<std::string>* ssids) = 0;
|
proxy_rpc_server.cc | 304 std::vector<std::string> ssids; local 305 if (!shill_wifi_client->GetActiveWifiSsids(&ssids)) { 310 for (const auto& ssid : ssids) {
|
/external/autotest/server/site_tests/network_WiFi_VerifyAttenuator/ |
network_WiFi_VerifyAttenuator.py | 67 """Start up new APs, with unique SSIDs. 116 self._client_if, ssids=[ssid], timeout_seconds=10) 196 - Two network_<blah> SSIDs are visible, both with a strong signal 199 - Two network_<blah> SSIDs are visble, the one which should be 212 self._client_if, ssids=[visible_ssid, hidden_ssid]) 214 raise error.TestFail('No visible SSIDs. Check cables, the ' 226 raise error.TestFail('Two SSIDs are visible, the ' 290 raise error.TestError('SSIDs found, the cell is not closed or '
|
/cts/tests/tests/net/src/android/net/wifi/cts/ |
WifiManagerTest.java | 409 Set<String> ssids = new HashSet<String>(); local 412 ssids.add(wifiConfig.SSID); 416 return ssids;
|