/tools/test/connectivity/acts/tests/google/wifi/ |
D | WifiTetheringTest.py | 34 from acts.test_utils.wifi import wifi_test_utils as wutils unknown 50 wutils.wifi_toggle_state(self.hotspot_device, False) 61 wutils.wifi_test_device_init(ad) 65 wutils.wifi_toggle_state(self.hotspot_device, True) 146 wutils.start_wifi_tethering(self.hotspot_device, 147 self.network[wutils.WifiEnums.SSID_KEY], 148 self.network[wutils.WifiEnums.PWD_KEY], 162 wutils.wifi_forget_network(dut, self.network["SSID"]) 164 wutils.wifi_connect(dut, self.network) 178 wutils.wifi_forget_network(ad, self.network["SSID"]) [all …]
|
D | WifiSoftApTest.py | 29 from acts.test_utils.wifi import wifi_test_utils as wutils unknown 59 self.dut.droid.wifiSetCountryCode(wutils.WifiEnums.CountryCode.US) 60 self.dut_client.droid.wifiSetCountryCode(wutils.WifiEnums.CountryCode.US) 70 wutils.stop_wifi_tethering(self.dut) 71 wutils.reset_wifi(self.dut) 72 wutils.reset_wifi(self.dut_client) 87 config = {wutils.WifiEnums.SSID_KEY: ap_ssid} 88 config[wutils.WifiEnums.PWD_KEY] = ap_password 97 wutils.start_wifi_connection_scan_and_ensure_network_found( 106 wutils.start_wifi_connection_scan_and_ensure_network_not_found( [all …]
|
D | WifiSoftApPerformanceTest.py | 20 from acts.test_utils.wifi import wifi_test_utils as wutils unknown 37 info["channel"] = wutils.WifiEnums.freq_to_channel[int( 66 wutils.reset_wifi(dev) 67 dev.droid.wifiSetCountryCode(wutils.WifiEnums.CountryCode.US) 69 sap_config = wutils.create_softap_config() 70 wutils.start_wifi_tethering( 71 self.android_devices[0], sap_config[wutils.WifiEnums.SSID_KEY], 72 sap_config[wutils.WifiEnums.PWD_KEY], self.sap_band_enum) 74 "SSID": sap_config[wutils.WifiEnums.SSID_KEY], 75 "password": sap_config[wutils.WifiEnums.PWD_KEY] [all …]
|
D | WifiTetheringPowerTest.py | 26 from acts.test_utils.wifi import wifi_test_utils as wutils unknown 63 wutils.wifi_toggle_state(self.hotspot_device, False) 70 wutils.reset_wifi(ad) 74 wutils.wifi_toggle_state(self.hotspot_device, True) 108 wutils.start_wifi_tethering(self.hotspot_device, 155 wutils.stop_wifi_tethering(self.hotspot_device) 166 wutils.stop_wifi_tethering(self.hotspot_device) 176 wutils.wifi_connect(self.tethered_devices[0], self.network) 178 wutils.stop_wifi_tethering(self.hotspot_device) 188 wutils.wifi_connect(self.tethered_devices[0], self.network) [all …]
|
D | WifiPasspointTest.py | 23 import acts.test_utils.wifi.wifi_test_utils as wutils namespace 32 WifiEnums = wutils.WifiEnums 50 wutils.wifi_test_device_init(self.dut) 56 wutils.wifi_toggle_state(self.dut, True) 68 wutils.reset_wifi(self.dut) 102 wutils.start_wifi_connection_scan(ad) 107 wutils.assert_network_in_list({WifiEnums.SSID_KEY: ssid}, scan_results) 110 wutils.wifi_passpoint_connect(self.dut, passpoint_network, num_of_tries=4) 124 if not wutils.delete_passpoint(self.dut, passpoint_config[0]): 147 wutils.wait_for_disconnect(self.dut) [all …]
|
D | WifiConnectedMacRandomizationTest.py | 25 import acts.test_utils.wifi.wifi_test_utils as wutils namespace 32 WifiEnums = wutils.WifiEnums 60 wutils.wifi_test_device_init(self.dut) 61 wutils.wifi_test_device_init(self.dut_softap) 89 wutils.wifi_toggle_state(self.dut, True) 90 wutils.wifi_toggle_state(self.dut_softap, False) 95 wutils.reset_wifi(self.dut) 96 wutils.reset_wifi(self.dut_softap) 103 wutils.stop_wifi_tethering(self.dut_softap) 156 wutils.connect_to_wifi_network(ad, network) [all …]
|
D | WifiScannerScanTest.py | 27 from acts.test_utils.wifi import wifi_test_utils as wutils unknown 85 wutils.wifi_test_device_init(self.dut) 97 "band": wutils.WifiEnums.WIFI_BAND_BOTH, 99 "reportEvents": wutils.WifiEnums.REPORT_EVENT_AFTER_EACH_SCAN 102 "band": wutils.WifiEnums.WIFI_BAND_BOTH, 104 "reportEvents": wutils.WifiEnums.REPORT_EVENT_AFTER_BUFFER_FULL 107 self.wifi_chs = wutils.WifiChannelUS(self.dut.model) 111 self.attenuators = wutils.group_attenuators(self.attenuators) 149 scan_types_setting = [wutils.WifiEnums.WIFI_BAND_BOTH] 158 [wutils.WifiEnums.WIFI_BAND_24_GHZ, [all …]
|
D | WifiCrashTest.py | 24 import acts.test_utils.wifi.wifi_test_utils as wutils namespace 31 WifiEnums = wutils.WifiEnums 52 wutils.wifi_test_device_init(self.dut) 69 wutils.wifi_toggle_state(self.dut, True) 74 wutils.reset_wifi(self.dut) 98 wutils.wifi_connect(self.dut, self.network, num_of_tries=3) 122 wutils.wifi_connect(self.dut, self.network, num_of_tries=3) 126 wutils.wait_for_disconnect(self.dut) 145 wutils.wifi_connect(self.dut, self.network, num_of_tries=3) 149 wutils.wait_for_disconnect(self.dut) [all …]
|
D | WifiStressTest.py | 21 import acts.test_utils.wifi.wifi_test_utils as wutils namespace 29 WifiEnums = wutils.WifiEnums 52 wutils.wifi_test_device_init(self.dut) 83 wutils.reset_wifi(self.dut) 90 wutils.reset_wifi(self.dut) 107 wutils.start_wifi_connection_scan_and_ensure_network_found(self.dut, 109 wutils.wifi_connect(self.dut, network, num_of_tries=3) 119 wutils.start_wifi_connection_scan_and_ensure_network_found(self.dut, 121 wutils.wifi_connect_by_id(self.dut, net_id) 146 wutils.wifi_toggle_state(self.dut, False) [all …]
|
D | WifiAutoUpdateTest.py | 24 import acts.test_utils.wifi.wifi_test_utils as wutils namespace 32 WifiEnums = wutils.WifiEnums 63 wutils.wifi_test_device_init(self.dut) 80 wutils.wifi_toggle_state(self.dut, True) 166 exists = wutils.match_networks({ 205 wutils.connect_to_wifi_network((self.open_network[0]['5g'], self.dut)) 206 wutils.connect_to_wifi_network((self.reference_networks[0]['2g'], 208 wutils.wifi_forget_network(self.dut, 210 wutils.wifi_forget_network(self.dut, 225 if not wutils.connect_to_wifi_network_with_id(self.dut, [all …]
|
D | WifiStaApConcurrencyTest.py | 26 import acts.test_utils.wifi.wifi_test_utils as wutils namespace 33 WifiEnums = wutils.WifiEnums 54 wutils.wifi_test_device_init(self.dut) 55 wutils.wifi_test_device_init(self.dut_client) 65 self.dut.droid.wifiSetCountryCode(wutils.WifiEnums.CountryCode.US) 66 self.dut_client.droid.wifiSetCountryCode(wutils.WifiEnums.CountryCode.US) 91 wutils.wifi_toggle_state(self.dut_client, True) 97 wutils.wifi_toggle_state(self.dut, False) 102 wutils.stop_wifi_tethering(self.dut) 103 wutils.reset_wifi(self.dut) [all …]
|
D | WifiRoamingTest.py | 24 from acts.test_utils.wifi import wifi_test_utils as wutils unknown 27 WifiEnums = wutils.WifiEnums 42 wutils.wifi_test_device_init(self.dut) 58 wutils.wifi_toggle_state(self.dut, True) 77 wutils.reset_wifi(self.dut) 97 wutils.set_attns(self.attenuators, "AP1_on_AP2_off") 98 wutils.wifi_connect(self.dut, AP1_network) 100 wutils.trigger_roaming_and_validate(self.dut, self.attenuators,
|
D | WifiHiddenSSIDTest.py | 24 import acts.test_utils.wifi.wifi_test_utils as wutils namespace 46 wutils.wifi_test_device_init(self.dut) 77 wutils.reset_wifi(self.dut) 95 wutils.start_wifi_connection_scan(self.dut) 97 match_results = wutils.match_networks( 98 {wutils.WifiEnums.SSID_KEY: ap_ssid}, scan_results) 113 wutils.connect_to_wifi_network(self.dut, hidden_network) 114 if not wutils.validate_connection(self.dut):
|
D | WifiServiceApiTest.py | 27 from acts.test_utils.wifi import wifi_test_utils as wutils unknown 66 wutils.reset_wifi(self.dut) 80 config = {wutils.WifiEnums.SSID_KEY: config_ssid} 81 config[wutils.WifiEnums.PWD_KEY] = config_password 103 ssid_key = wutils.WifiEnums.SSID_KEY 137 wutils.wifi_toggle_state(self.dut, True) 160 wutils.wifi_toggle_state(self.dut, True) 165 wutils.wifi_toggle_state(self.dut, False) 181 wutils.wifi_toggle_state(self.dut, True) 199 wutils.wifi_toggle_state(self.dut, False)
|
D | WifiScannerBssidTest.py | 24 from acts.test_utils.wifi import wifi_test_utils as wutils unknown 49 "band": wutils.WifiEnums.WIFI_BAND_BOTH_WITH_DFS, 51 "reportEvents": wutils.WifiEnums.REPORT_EVENT_AFTER_EACH_SCAN, 57 wutils.wifi_test_device_init(self.dut) 58 self.attenuators = wutils.group_attenuators(self.attenuators) 68 self.wifi_chs = wutils.WifiChannelUS(self.dut.model) 98 scan_time, scan_channels = wutils.get_scan_time_and_channels( 103 "reportEvents"] == wutils.WifiEnums.REPORT_EVENT_AFTER_EACH_SCAN: 131 data = wutils.start_wifi_background_scan(self.dut, scan_setting) 139 if bssid_setting[wutils.WifiEnums.BSSID_KEY] == result[ [all …]
|
D | WifiDiagnosticsTest.py | 24 import acts.test_utils.wifi.wifi_test_utils as wutils namespace 31 WifiEnums = wutils.WifiEnums 49 wutils.wifi_test_device_init(self.dut) 57 wutils.wifi_toggle_state(self.dut, True) 70 wutils.reset_wifi(self.dut) 91 wutils.connect_to_wifi_network(self.dut, self.open_network)
|
D | WifiPowerTest.py | 28 from acts.test_utils.wifi import wifi_test_utils as wutils unknown 87 wutils.wifi_test_device_init(self.dut) 104 wutils.reset_wifi(self.dut) 190 wutils.wifi_toggle_state(self.dut, False) 195 wutils.wifi_toggle_state(self.dut, True) 211 wutils.reset_wifi(self.dut) 213 wutils.wifi_connect(self.dut, self.network_2g) 219 wutils.reset_wifi(self.dut) 221 wutils.wifi_connect(self.dut, self.network_2g) 232 wutils.reset_wifi(self.dut) [all …]
|
D | WifiManagerTest.py | 24 import acts.test_utils.wifi.wifi_test_utils as wutils namespace 31 WifiEnums = wutils.WifiEnums 53 wutils.wifi_test_device_init(self.dut) 67 wutils.wifi_toggle_state(self.dut, True) 79 wutils.wifi_toggle_state(self.dut, True) 85 wutils.reset_wifi(self.dut) 112 wutils.start_wifi_connection_scan_and_ensure_network_found( 114 wutils.wifi_connect(ad, network, num_of_tries=3) 190 exists = wutils.match_networks({ 218 wutils.start_wifi_connection_scan_and_ensure_network_found( [all …]
|
D | WifiPnoTest.py | 21 import acts.test_utils.wifi.wifi_test_utils as wutils namespace 24 WifiEnums = wutils.WifiEnums 34 wutils.wifi_test_device_init(self.dut) 56 wutils.reset_wifi(self.dut) 61 wutils.reset_wifi(self.dut) 113 wutils.verify_wifi_connection_info(self.dut, verify_con) 192 wutils.start_wifi_connection_scan(self.dut)
|
D | WifiPreFlightTest.py | 22 import acts.test_utils.wifi.wifi_test_utils as wutils namespace 54 wutils.wifi_test_device_init(self.dut) 55 wutils.wifi_toggle_state(self.dut, True) 73 wutils.reset_wifi(self.dut) 102 result = wutils.match_networks(net, scanned_networks) 126 result = wutils.match_networks(target_network, scanned_networks)
|
/tools/test/connectivity/acts/tests/google/wifi/rtt/functional/ |
D | RangeSoftApTest.py | 20 from acts.test_utils.wifi import wifi_test_utils as wutils unknown 54 wutils.start_wifi_tethering(sap, self.SOFT_AP_SSID, self.SOFT_AP_PASSWORD, 59 wutils.start_wifi_connection_scan_and_ensure_network_found(client, 64 if scanned_ap[wutils.WifiEnums.SSID_KEY] == self.SOFT_AP_SSID: 89 stats[scanned_ap[wutils.WifiEnums.BSSID_KEY]]['num_failures'], 95 wutils.stop_wifi_tethering(sap)
|
/tools/test/connectivity/acts/tests/google/net/ |
D | DataUsageTest.py | 27 from acts.test_utils.wifi import wifi_test_utils as wutils unknown 59 wutils.reset_wifi(self.dut) 99 wutils.reset_wifi(self.dut) 210 wutils.wifi_toggle_state(self.dut, False) 247 wutils.wifi_connect(self.dut, self.wifi_network) 284 wutils.start_wifi_tethering(self.dut, 285 self.network[wutils.WifiEnums.SSID_KEY], 286 self.network[wutils.WifiEnums.PWD_KEY], 288 wutils.wifi_connect(ad, self.network) 302 wutils.stop_wifi_tethering(self.dut) [all …]
|
D | DnsOverTlsTest.py | 32 from acts.test_utils.wifi import wifi_test_utils as wutils unknown 51 wutils.reset_wifi(self.dut) 121 wutils.reset_wifi(self.dut) 123 wutils.wifi_connect(self.dut, network) 143 asserts.assert_true(wutils.validate_connection(self.dut, host), 293 wutils.wifi_connect(self.dut, self.wifi_network_no_dns_tls) 295 wutils.validate_connection(self.dut, host) 304 wutils.reset_wifi(self.dut) 307 wutils.validate_connection(self.dut, host) 343 wutils.wifi_connect(self.dut, self.wifi_network_with_dns_tls) [all …]
|
D | CoreNetworkingTest.py | 22 from acts.test_utils.wifi import wifi_test_utils as wutils unknown 33 wutils.wifi_toggle_state(self.dut, False) 42 wutils.wifi_toggle_state(self.dut, True)
|
/tools/test/connectivity/acts/tests/google/wifi/aware/functional/ |
D | NonConcurrencyTest.py | 18 from acts.test_utils.wifi import wifi_test_utils as wutils unknown 58 wutils.start_wifi_tethering(dut, self.TETHER_SSID, password=None) 65 wutils.stop_wifi_tethering(dut) 76 wutils.start_wifi_tethering(dut, self.TETHER_SSID, password=None) 89 wutils.stop_wifi_tethering(dut)
|