/tools/test/connectivity/acts_tests/tests/google/fuchsia/wlan/ |
D | VapeInteropTest.py | 51 self.ssid = utils.rand_ascii_str(hostapd_constants.AP_SSID_LENGTH_2G) 88 ssid=self.ssid) 96 ssid=self.ssid, 106 ssid=self.ssid) 114 ssid=self.ssid, 124 ssid=self.ssid) 132 ssid=self.ssid, 142 ssid=self.ssid) 150 ssid=self.ssid, 160 ssid=self.ssid) [all …]
|
D | WlanSecurityComplianceABGTest.py | 205 ssid=self.secure_network_5g['SSID'], 218 ssid=self.secure_network_5g['SSID'], 231 ssid=self.secure_network_5g['SSID'], 244 ssid=self.secure_network_5g['SSID'], 257 ssid=self.secure_network_5g['SSID'], 270 ssid=self.secure_network_5g['SSID'], 283 ssid=self.secure_network_5g['SSID'], 296 ssid=self.secure_network_5g['SSID'], 309 ssid=self.secure_network_5g['SSID'], 321 ssid=self.secure_network_5g['SSID'], [all …]
|
D | WlanPhyComplianceABGTest.py | 136 ssid=self.open_network_2g['SSID'], 145 ssid=self.open_network_2g['SSID'], 154 ssid=self.open_network_2g['SSID'], 163 ssid=self.open_network_2g['SSID'], 172 ssid=self.open_network_2g['SSID'], 181 ssid=self.open_network_2g['SSID'], 190 ssid=self.open_network_2g['SSID'], 200 ssid=self.open_network_2g['SSID'], 210 ssid=self.open_network_2g['SSID'], 220 ssid=self.open_network_2g['SSID'], [all …]
|
D | WlanRvrTest.py | 235 ssid, argument 280 ssid, 359 ssid=ssid, 380 ssid=None, argument 436 ssid, 571 ssid = rand_ascii_str(20) 575 ssid=ssid, 577 graph_data = self.run_rvr(ssid, 591 ssid = rand_ascii_str(20) 595 ssid=ssid, [all …]
|
D | WlanRebootTest.py | 157 self.ssid = utils.rand_ascii_str(hostapd_constants.AP_SSID_LENGTH_2G) 175 def setup_ap(self, ssid, band, ipv4=True, ipv6=False): argument 188 ssid=ssid) 193 ssid=ssid) 212 self.log.info('Network (SSID: %s) is up.' % ssid) 214 def save_and_connect(self, ssid): argument 225 self.dut.save_network(self.ssid) 226 self.dut.associate(self.ssid) 229 ssid, argument 242 self.setup_ap(ssid, band, ipv4, ipv6) [all …]
|
D | ConnectionStressTest.py | 49 self.ssid = rand_ascii_str(10) 77 ssid=self.ssid, 82 ssid=None, argument 99 if not ssid: 100 ssid = self.ssid 102 if not associate(self.dut, ssid=ssid, password=password): 111 if associate(self.dut, ssid=ssid, password=password): 177 ssid=rand_ascii_str(20), 187 ssid=rand_ascii_str(20),
|
D | ChannelSweepTest.py | 235 ssid = utils.rand_ascii_str(hostapd_constants.AP_SSID_LENGTH_2G) 244 ssid=ssid, 254 % (ssid, channel, channel_bandwidth)) 256 return ssid 595 ssid = self.setup_ap(channel, channel_bandwidth, security_profile) 597 ssid=ssid, 602 asserts.fail('Device failed to associate with network %s' % ssid) 604 (self.dut.device.ip, ssid)) 708 ssid = self.setup_ap(channel, channel_bandwidth) 713 (ssid, channel, channel_bandwidth, 'Device should associate' [all …]
|
D | BeaconLossTest.py | 63 self.ssid = rand_ascii_str(10) 86 ssid=self.ssid) 95 self.log.info("sending associate command for ssid %s", self.ssid) 96 associate(client=self.wlan_device, ssid=self.ssid) 119 self.log.info("sending associate command for ssid %s" % self.ssid) 120 associate(client=self.wlan_device, ssid=self.ssid)
|
/tools/test/connectivity/acts/framework/acts/controllers/ap_lib/ |
D | hostapd_ap_preset.py | 50 ssid=None, argument 128 ssid=ssid, 185 ssid=ssid, 209 ssid=ssid, 231 ssid=ssid, 279 ssid=ssid, 344 ssid=ssid, 365 ssid=ssid, 370 ssid=ssid, 376 ssid=ssid, [all …]
|
/tools/test/connectivity/acts/tests/google/wifi/ |
D | WifiScannerTests.config | 4 …ettings": {"channel": 1}, "wifi-iface" : [{"ssid": "Test_1", "key": "hahahaha", "encryption": "psk… 5 …{"ssid": "Test_1.2", "key": "hahahaha", "encryption": "psk2"},{"ssid": "Test_1.3", "key": "hahahah… 6 …ttings": {"channel": 40}, "wifi-iface" : [{"ssid": "Test_40", "key": "hahahaha", "encryption": "ps… 7 …{"ssid": "Test_40.2", "key": "hahahaha", "encryption": "psk2"},{"ssid": "Test_40.3", "key": "hahah… 10 …ettings": {"channel": 6}, "wifi-iface" : [{"ssid": "Test_6", "key": "hahahaha", "encryption": "psk… 11 …{"ssid": "Test_6.2", "key": "hahahaha", "encryption": "psk2"}, {"ssid": "Test_6.3", "key": "hahah… 12 …ttings": {"channel": 40}, "wifi-iface" : [{"ssid": "Test_40", "key": "hahahaha", "encryption": "ps… 13 …{"ssid": "Test_40.3", "key": "hahahaha", "encryption": "psk2"}, {"ssid": "Test_40.2", "key": "haha… 16 …tings": {"channel": 10}, "wifi-iface" : [{"ssid": "Test_10", "key": "hahahaha", "encryption": "psk… 17 …{"ssid": "Test_10.2", "key": "hahahaha", "encryption": "psk2"}, {"ssid": "Test_10.3", "key": "haha… [all …]
|
D | WifiChaosTest.py | 97 ssid = testcase_name 103 lambda: base_test(ssid, hostname)) 190 ssid = network[WifiEnums.SSID_KEY] 192 ssid) 268 ssid = network[WifiEnums.SSID_KEY] 271 self.log.info("Connecting to %s" % ssid) 276 wutils.wifi_forget_network(self.dut, ssid) 280 "attempt with exception %s." % (ssid, attempt, e)) 286 raise signals.TestFailure("Failed to connect to %s" % ssid) 288 def get_band_and_chan(self, ssid): argument [all …]
|
D | WifiManagerTest.py | 550 ssid = self.open_network_2g[WifiEnums.SSID_KEY] 552 self.dut, ssid) 553 ssid = self.open_network_5g[WifiEnums.SSID_KEY] 555 self.dut, ssid) 564 ssid = self.open_network_2g[WifiEnums.SSID_KEY] 566 self.dut, ssid) 567 ssid = self.open_network_5g[WifiEnums.SSID_KEY] 569 self.dut, ssid) 589 ssid = self.open_network_2g[WifiEnums.SSID_KEY] 596 WifiEnums.SSID_KEY: ssid [all …]
|
D | WifiPasspointTest.py | 126 ssid = passpoint_network 127 wutils.assert_network_in_list({WifiEnums.SSID_KEY: ssid}, scan_results) 218 ssid = passpoint_config[WifiEnums.SSID_KEY] 219 self.check_passpoint_connection(ssid) 239 ssid = passpoint_config[WifiEnums.SSID_KEY] 240 self.check_passpoint_connection(ssid) 250 self.check_passpoint_connection(ssid) 379 ssid = passpoint_config[WifiEnums.SSID_KEY] 380 self.check_passpoint_connection(ssid)
|
D | WifiDppTest.py | 280 ssid = self.DPP_TEST_SSID_PREFIX + utils.rand_ascii_str(8) 281 self.log.debug("SSID = %s" % ssid) 283 ssid_encoded = binascii.hexlify(ssid.encode()).decode() 328 return ssid 547 ssid = self.start_responder_configurator( 552 ssid = self.DPP_TEST_SSID_PREFIX + utils.rand_ascii_str(8) 618 self.check_network_config_saved(ssid, security, network_id), 619 "Could not find the expected network: %s" % ssid)
|
/tools/test/connectivity/acts_tests/tests/google/fuchsia/wlan_policy/ |
D | PolicyScanTest.py | 60 ssid=self.wpa2_network_2g["SSID"], 67 ssid=self.wpa2_network_5g["SSID"], 75 ssid=self.open_network_2g["SSID"], 81 ssid=self.open_network_5g["SSID"], 173 def assert_network_is_in_results(self, scan_results, *, ssid): argument 184 if ssid not in scan_results: 186 'Network "%s" was not found in scan results: %s', ssid, 198 for ssid in self.all_ssids: 199 self.assert_network_is_in_results(scan_results, ssid=ssid) 206 for ssid in self.all_ssids: [all …]
|
/tools/tradefederation/core/util-apps/WifiUtil/src/com/android/tradefed/utils/wifi/ |
D | WifiConnector.java | 125 public int addNetwork(final String ssid, final String psk, final boolean scanSsid) in addNetwork() argument 129 int networkId = getNetworkId(ssid); in addNetwork() 135 config.SSID = quote(ssid); in addNetwork() 157 private int getNetworkId(String ssid) { in getNetworkId() argument 160 if (quote(ssid).equals(config.SSID)) { in getNetworkId() 229 public void connectToNetwork(final String ssid, final String psk, final String urlToCheck, in connectToNetwork() argument 236 updateLastNetwork(ssid, psk, scanSsid); in connectToNetwork() 258 final int networkId = addNetwork(ssid, psk, scanSsid); in connectToNetwork() 260 throw new WifiException(String.format("failed to enable network %s", ssid)); in connectToNetwork() 263 Log.w(TAG, String.format("failed to save configuration %s", ssid)); in connectToNetwork() [all …]
|
/tools/test/connectivity/acts/framework/acts/controllers/ap_lib/third_party_ap_profiles/ |
D | asus.py | 26 ssid=None): argument 133 ssid=ssid, 155 ssid=None): argument 232 ssid=ssid, 251 ssid=None): argument 356 ssid=ssid, 377 ssid=None): argument 465 ssid=ssid, 485 ssid=None): argument 556 ssid=ssid,
|
D | tplink.py | 26 ssid=None): argument 137 ssid=ssid, 158 ssid=None): argument 263 ssid=ssid, 285 ssid=None): argument 381 ssid=ssid, 401 ssid=None): argument 455 ssid=ssid,
|
D | linksys.py | 26 ssid=None): argument 104 ssid=ssid, 125 ssid=None): argument 182 ssid=ssid, 200 ssid=None): argument 296 ssid=ssid,
|
/tools/test/connectivity/acts/framework/acts/test_utils/abstract_devices/ |
D | wlan_device.py | 137 def is_connected(self, ssid=None): argument 149 def save_network(self, ssid): argument 234 def is_connected(self, ssid=None): argument 236 if ssid: 237 return 'BSSID' in wifi_info and wifi_info['SSID'] == ssid 249 def save_network(self, ssid): argument 363 def is_connected(self, ssid=None): argument 383 if ssid: 386 if ssid != connected_ssid: 409 for ssid in response.get('result'): [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/device/ |
D | WifiHelper.java | 251 public boolean addOpenNetwork(String ssid) throws DeviceNotAvailableException { in addOpenNetwork() argument 252 return addOpenNetwork(ssid, false); in addOpenNetwork() 259 public boolean addOpenNetwork(String ssid, boolean scanSsid) in addOpenNetwork() argument 261 int id = asInt(runWifiUtil("addOpenNetwork", "ssid", ssid, "scanSsid", in addOpenNetwork() 279 public boolean addWpaPskNetwork(String ssid, String psk) throws DeviceNotAvailableException { in addWpaPskNetwork() argument 280 return addWpaPskNetwork(ssid, psk, false); in addWpaPskNetwork() 287 public boolean addWpaPskNetwork(String ssid, String psk, boolean scanSsid) in addWpaPskNetwork() argument 289 int id = asInt(runWifiUtil("addWpaPskNetwork", "ssid", ssid, "psk", psk, "scan_ssid", in addWpaPskNetwork() 452 public boolean connectToNetwork(String ssid, String psk, String urlToCheck) in connectToNetwork() argument 454 return connectToNetwork(ssid, psk, urlToCheck, false); in connectToNetwork() [all …]
|
D | IWifiHelper.java | 72 boolean addOpenNetwork(String ssid) throws DeviceNotAvailableException; in addOpenNetwork() argument 86 boolean addOpenNetwork(String ssid, boolean scanSsid) throws DeviceNotAvailableException; in addOpenNetwork() argument 96 boolean addWpaPskNetwork(String ssid, String psk) throws DeviceNotAvailableException; in addWpaPskNetwork() argument 107 …boolean addWpaPskNetwork(String ssid, String psk, boolean scanSsid) throws DeviceNotAvailableExcep… in addWpaPskNetwork() argument 224 boolean connectToNetwork(String ssid, String psk, String urlToCheck) in connectToNetwork() argument 237 boolean connectToNetwork(String ssid, String psk, String urlToCheck, boolean scanSsid) in connectToNetwork() argument
|
/tools/test/connectivity/acts_tests/tests/google/tel/live/ |
D | TelLiveDataTest.py | 1847 ssid = rand_ascii_str(10) 1855 ssid=ssid): 1873 if not check_is_wifi_connected(self.log, self.clients[0], ssid): 1895 ssid) or (not verify_internet_connection( 2049 ssid = rand_ascii_str(10) 2057 ssid=ssid): 2080 if wifi_info[WIFI_SSID_KEY] == ssid: 2178 ssid = "\"" + rand_ascii_str(10) + "\"" 2180 "Starting WiFi Tethering test with ssid: {}".format(ssid)) 2189 ssid=ssid) [all …]
|
/tools/test/connectivity/acts/framework/acts/test_utils/abstract_devices/utils_lib/ |
D | wlan_utils.py | 37 ssid, argument 73 setup_ap(access_point, profile_name, channel, ssid, mode, preamble, 81 ssid, 88 ssid, 97 ssid, argument 136 ssid=ssid, 156 ssid, argument 171 return client.associate(ssid,
|
/tools/test/connectivity/acts/framework/acts/test_utils/wifi/ |
D | wifi_test_utils.py | 908 def start_wifi_tethering(ad, ssid, password, band=None, hidden=None): argument 922 config = {WifiEnums.SSID_KEY: ssid} 1124 ad, ssid=expected_ssid, id=expected_id, tries=tries) 1150 def _wait_for_connect_event(ad, ssid=None, id=None, tries=1): argument 1182 if id is None and ssid is None: 1196 elif ssid and conn_result['data'][WifiEnums.SSID_KEY] == ssid: 1337 ad, ssid=expected_ssid, tries=num_of_tries) 2309 ssid = network[WifiEnums.SSID_KEY] 2322 ssid=ssid, 2330 logging.info("AP started on channel {} with SSID {}".format(channel, ssid))
|