/tools/test/connectivity/acts/tests/google/wifi/ |
D | WifiSoftApTest.py | 33 from acts.test_utils.wifi import wifi_test_utils as wutils unknown 63 wutils.set_wifi_country_code(self.dut, wutils.WifiEnums.CountryCode.US) 64 wutils.set_wifi_country_code(self.dut_client, wutils.WifiEnums.CountryCode.US) 72 wutils.wifi_toggle_state(self.dut, True) 73 wutils.wifi_toggle_state(self.dut_client, True) 79 wutils.set_wifi_country_code(self.android_devices[2], wutils.WifiEnums.CountryCode.US) 85 wutils.stop_wifi_tethering(self.dut) 86 wutils.reset_wifi(self.dut) 87 wutils.reset_wifi(self.dut_client) 94 wutils.wifi_toggle_state(ad, True) [all …]
|
D | WifiTetheringTest.py | 36 from acts.test_utils.wifi import wifi_test_utils as wutils unknown 57 wutils.wifi_test_device_init(ad) 65 wutils.stop_wifi_tethering(self.hotspot_device) 74 wutils.reset_wifi(ad) 152 wutils.start_wifi_tethering(self.hotspot_device, 153 self.network[wutils.WifiEnums.SSID_KEY], 154 self.network[wutils.WifiEnums.PWD_KEY], 168 wutils.wifi_forget_network(dut, self.network["SSID"]) 170 wutils.wifi_connect(dut, self.network) 184 wutils.wifi_forget_network(ad, self.network["SSID"]) [all …]
|
D | WifiScannerScanTest.py | 27 from acts.test_utils.wifi import wifi_test_utils as wutils unknown 75 wutils.wifi_test_device_init(self.dut) 87 "band": wutils.WifiEnums.WIFI_BAND_BOTH, 89 "reportEvents": wutils.WifiEnums.REPORT_EVENT_AFTER_EACH_SCAN 92 "band": wutils.WifiEnums.WIFI_BAND_BOTH, 94 "reportEvents": wutils.WifiEnums.REPORT_EVENT_AFTER_BUFFER_FULL 97 self.wifi_chs = wutils.WifiChannelUS(self.dut.model) 101 self.attenuators = wutils.group_attenuators(self.attenuators) 137 scan_types_setting = [wutils.WifiEnums.WIFI_BAND_BOTH] 146 [wutils.WifiEnums.WIFI_BAND_24_GHZ, [all …]
|
D | WifiCrashStressTest.py | 19 import acts.test_utils.wifi.wifi_test_utils as wutils namespace 26 WifiEnums = wutils.WifiEnums 41 wutils.wifi_test_device_init(self.dut) 42 wutils.wifi_test_device_init(self.dut_client) 64 wutils.wifi_toggle_state(self.dut, True) 67 wutils.wifi_toggle_state(self.dut_client, True) 71 wutils.stop_wifi_tethering(self.dut) 74 wutils.reset_wifi(self.dut) 77 wutils.reset_wifi(self.dut_client) 120 wutils.wifi_toggle_state(self.dut, True) [all …]
|
D | WifiManagerTest.py | 24 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_toggle_state(self.dut, True) 60 wutils.wifi_test_device_init(self.dut_client) 61 wutils.wifi_toggle_state(self.dut_client, True) 86 wutils.wifi_toggle_state(self.dut, True) 93 wutils.reset_wifi(self.dut) 95 wutils.reset_wifi(self.dut_client) 118 wutils.start_wifi_connection_scan_and_ensure_network_found( [all …]
|
D | WifiWakeTest.py | 24 import acts.test_utils.wifi.wifi_test_utils as wutils namespace 46 wutils.wifi_test_device_init(self.dut) 97 wutils.reset_wifi(self.dut) 98 wutils.wifi_toggle_state(self.dut, new_state=True) 114 "band": wutils.WifiEnums.WIFI_BAND_BOTH, 116 "reportEvents": wutils.WifiEnums.REPORT_EVENT_AFTER_EACH_SCAN 119 wifi_chs = wutils.WifiChannelUS(self.dut.model) 125 data = wutils.start_wifi_single_scan(self.dut, scan_settings) 132 scan_time, scan_channels = wutils.get_scan_time_and_channels( 165 wutils.wifi_connect(self.dut, self.ap_a, num_of_tries=5) [all …]
|
D | WifiMacRandomizationTest.py | 25 import acts.test_utils.wifi.wifi_test_utils as wutils namespace 36 WifiEnums = wutils.WifiEnums 67 wutils.wifi_test_device_init(self.dut) 68 wutils.wifi_test_device_init(self.dut_client) 93 wutils.wifi_toggle_state(self.dut, True) 94 wutils.wifi_toggle_state(self.dut_client, True) 109 wutils.wifi_toggle_state(ad, True) 115 wutils.reset_wifi(self.dut) 116 wutils.reset_wifi(self.dut_client) 157 wutils.connect_to_wifi_network(self.dut, network) [all …]
|
D | WifiStressTest.py | 23 import acts.test_utils.wifi.wifi_test_utils as wutils namespace 33 WifiEnums = wutils.WifiEnums 60 wutils.wifi_test_device_init(self.dut) 87 wutils.stop_wifi_tethering(self.dut) 90 wutils.reset_wifi(self.dut) 97 wutils.reset_wifi(self.dut) 112 wutils.start_wifi_connection_scan_and_ensure_network_found(ad, ssid) 113 wutils.wifi_connect(ad, network, num_of_tries=3) 123 wutils.start_wifi_connection_scan_and_ensure_network_found(self.dut, 125 wutils.wifi_connect_by_id(self.dut, net_id) [all …]
|
D | WifiNetworkRequestTest.py | 24 import acts.test_utils.wifi.wifi_test_utils as wutils namespace 33 WifiEnums = wutils.WifiEnums 53 wutils.wifi_test_device_init(self.dut) 78 wutils.wifi_toggle_state(self.dut, True) 86 wutils.reset_wifi(self.dut) 139 wutils.wifi_connect_using_network_request(self.dut, self.wpa_psk_2g, 153 wutils.wifi_connect_using_network_request(self.dut, self.open_5g, 174 wutils.wifi_connect_using_network_request(self.dut, self.wpa_psk_5g, 196 wutils.wifi_connect_using_network_request(self.dut, self.wpa_psk_2g, 201 wutils.wait_for_disconnect(self.dut) [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 | WifiStaApConcurrencyStressTest.py | 27 import acts.test_utils.wifi.wifi_test_utils as wutils namespace 29 WifiEnums = wutils.WifiEnums 64 wutils.wifi_test_device_init(self.dut) 65 wutils.wifi_test_device_init(self.dut_client) 75 wutils.set_wifi_country_code(self.dut, wutils.WifiEnums.CountryCode.US) 76 wutils.set_wifi_country_code(self.dut_client, wutils.WifiEnums.CountryCode.US) 101 wutils.wifi_toggle_state(self.dut_client, True) 105 wutils.wifi_test_device_init(self.android_devices[2]) 107 wutils.set_wifi_country_code(self.android_devices[2], wutils.WifiEnums.CountryCode.US) 115 wutils.wifi_toggle_state(self.dut, True) [all …]
|
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 | WifiEnterpriseTest.py | 26 from acts.test_utils.wifi import wifi_test_utils as wutils unknown 29 WifiEnums = wutils.WifiEnums 43 wutils.wifi_test_device_init(self.dut) 146 wutils.reset_wifi(self.dut) 154 wutils.reset_wifi(self.dut) 181 verdict = wutils.wifi_connect(ad, config) 276 wutils.wifi_connect(ad, config) 277 wutils.toggle_wifi_and_wait_for_reconnection(ad, config, num_of_tries=5) 301 wutils.wifi_connect(self.dut, self.config_tls) 305 wutils.wifi_connect(self.dut, self.config_pwd) [all …]
|
D | WifiPasspointTest.py | 23 import acts.test_utils.wifi.wifi_test_utils as wutils namespace 35 WifiEnums = wutils.WifiEnums 63 wutils.wifi_test_device_init(self.dut) 72 wutils.wifi_toggle_state(self.dut, True) 88 wutils.reset_wifi(self.dut) 122 wutils.start_wifi_connection_scan(ad) 127 wutils.assert_network_in_list({WifiEnums.SSID_KEY: ssid}, scan_results) 130 wutils.wifi_passpoint_connect(self.dut, passpoint_network, num_of_tries=4) 144 if not wutils.delete_passpoint(self.dut, passpoint_config[0]): 167 wutils.reset_wifi(self.dut) [all …]
|
D | WifiSoftApPerformanceTest.py | 26 from acts.test_utils.wifi import wifi_test_utils as wutils unknown 89 wutils.wifi_toggle_state(dev, True) 93 wutils.stop_wifi_tethering(self.android_devices[0]) 95 wutils.wifi_toggle_state(dev, False) 100 wutils.stop_wifi_tethering(self.android_devices[0]) 110 info['channel'] = wutils.WifiEnums.freq_to_channel[int( 126 wutils.reset_wifi(dev) 127 wutils.set_wifi_country_code(dev, wutils.WifiEnums.CountryCode.US) 130 sap_config = wutils.create_softap_config() 132 wutils.start_wifi_tethering(self.android_devices[0], [all …]
|
D | WifiConnectedMacRandomizationTest.py | 25 import acts.test_utils.wifi.wifi_test_utils as wutils namespace 32 WifiEnums = wutils.WifiEnums 59 wutils.wifi_test_device_init(self.dut) 60 wutils.wifi_test_device_init(self.dut_softap) 88 wutils.wifi_toggle_state(self.dut, True) 89 wutils.wifi_toggle_state(self.dut_softap, False) 94 wutils.reset_wifi(self.dut) 95 wutils.reset_wifi(self.dut_softap) 102 wutils.stop_wifi_tethering(self.dut_softap) 155 wutils.connect_to_wifi_network(ad, network) [all …]
|
D | WifiSoftApAcsTest.py | 25 import acts.test_utils.wifi.wifi_test_utils as wutils namespace 36 WifiEnums = wutils.WifiEnums 52 wutils.wifi_test_device_init(self.dut) 53 wutils.wifi_test_device_init(self.dut_client) 58 wutils.set_wifi_country_code(self.dut, wutils.WifiEnums.CountryCode.US) 59 wutils.set_wifi_country_code(self.dut_client, wutils.WifiEnums.CountryCode.US) 81 self.pcap_procs = wutils.start_pcap( 83 wutils.start_cnss_diags(self.android_devices) 90 wutils.stop_wifi_tethering(self.dut) 91 wutils.reset_wifi(self.dut) [all …]
|
D | WifiWpa3OweTest.py | 24 import acts.test_utils.wifi.wifi_test_utils as wutils namespace 32 WifiEnums = wutils.WifiEnums 47 wutils.wifi_test_device_init(self.dut) 48 wutils.wifi_test_device_init(self.dut_client) 53 wutils.wifi_toggle_state(self.dut, True) 54 wutils.wifi_toggle_state(self.dut_client, True) 64 wutils.wifi_toggle_state(ad, True) 70 wutils.reset_wifi(self.dut) 71 wutils.reset_wifi(self.dut_client) 83 wutils.start_wifi_connection_scan_and_ensure_network_found(self.dut, [all …]
|
D | WifiNetworkSuggestionTest.py | 24 import acts.test_utils.wifi.wifi_test_utils as wutils namespace 33 WifiEnums = wutils.WifiEnums 58 wutils.wifi_test_device_init(self.dut) 105 wutils.wifi_toggle_state(self.dut, True) 113 wutils.reset_wifi(self.dut) 114 wutils.wifi_toggle_state(self.dut, False) 158 wutils.start_wifi_connection_scan_and_return_status(self.dut) 159 wutils.wait_for_connect(self.dut, expected_ssid) 188 wutils.ensure_no_disconnect(self.dut) 192 wutils.wait_for_disconnect(self.dut) [all …]
|
D | WifiStaApConcurrencyTest.py | 27 import acts.test_utils.wifi.wifi_test_utils as wutils namespace 31 WifiEnums = wutils.WifiEnums 61 wutils.wifi_test_device_init(ad) 64 wutils.set_wifi_country_code(ad, WifiEnums.CountryCode.US) 85 wutils.stop_wifi_tethering(self.dut) 91 wutils.reset_wifi(ad) 93 wutils.wifi_toggle_state(self.dut, True) 159 config = {wutils.WifiEnums.SSID_KEY: ap_ssid} 160 config[wutils.WifiEnums.PWD_KEY] = ap_password 177 wutils.start_wifi_tethering(self.dut, [all …]
|
/tools/test/connectivity/acts_tests/tests/google/net/ |
D | DataUsageTest.py | 34 from acts.test_utils.wifi import wifi_test_utils as wutils unknown 105 wutils.stop_wifi_tethering(ad) 112 wutils.reset_wifi(ad) 286 wutils.start_wifi_connection_scan_and_ensure_network_found( 288 wutils.wifi_connect(dut_a, self.wifi_network) 297 network = {wutils.WifiEnums.SSID_KEY: ssid, 298 wutils.WifiEnums.PWD_KEY: pwd} 300 wutils.start_wifi_tethering(dut_a, 301 network[wutils.WifiEnums.SSID_KEY], 302 network[wutils.WifiEnums.PWD_KEY]) [all …]
|
D | DnsOverTlsTest.py | 37 from acts.test_utils.wifi import wifi_test_utils as wutils unknown 45 SSID = wutils.WifiEnums.SSID_KEY 66 wutils.reset_wifi(self.dut) 139 wutils.start_wifi_connection_scan_and_ensure_network_found( 141 wutils.wifi_connect(self.dut, net) 149 status = wutils.validate_connection(self.dut, host) 160 wutils.reset_wifi(self.dut) 410 wutils.reset_wifi(self.dut) 445 wutils.reset_wifi(self.dut) 466 wutils.start_wifi_connection_scan_and_ensure_network_found( [all …]
|
/tools/test/connectivity/acts_tests/tests/google/power/wifi/ |
D | PowerWiFiHotspotTest.py | 22 from acts.test_utils.wifi import wifi_test_utils as wutils unknown 70 if not (wutils.WifiEnums.SSID_KEY in self.network 71 and wutils.WifiEnums.PWD_KEY in self.network): 75 self.CONFIG_KEY_WIFI, wutils.WifiEnums.SSID_KEY, 76 wutils.WifiEnums.PWD_KEY)) 84 wutils.WifiEnums.SSID_KEY, 85 wutils.WifiEnums.PWD_KEY)) 88 wutils.WifiEnums.SSID_KEY: 'Pixel_1030', 89 wutils.WifiEnums.PWD_KEY: '1234567890' 94 wutils.set_wifi_country_code(self.android_devices[0], 'US') [all …]
|
/tools/test/connectivity/acts/framework/acts/test_utils/power/cellular/ |
D | cellular_hotspot_traffic_power_test.py | 20 from acts.test_utils.wifi import wifi_test_utils as wutils unknown 68 if not (wutils.WifiEnums.SSID_KEY in self.network 69 and wutils.WifiEnums.PWD_KEY in self.network): 73 self.CONFIG_KEY_WIFI, wutils.WifiEnums.SSID_KEY, 74 wutils.WifiEnums.PWD_KEY)) 82 wutils.WifiEnums.SSID_KEY, 83 wutils.WifiEnums.PWD_KEY)) 86 wutils.WifiEnums.SSID_KEY: "Pixel_1030", 87 wutils.WifiEnums.PWD_KEY: "1234567890" 106 wutils.set_wifi_country_code(dut, country_code) [all …]
|
/tools/test/connectivity/acts_tests/tests/google/usb/ |
D | UsbTetheringFunctionsTest.py | 26 from acts.test_utils.wifi import wifi_test_utils as wutils unknown 35 WifiEnums = wutils.WifiEnums 71 wutils.wifi_toggle_state(self.dut, False) 83 wutils.reset_wifi(self.dut) 125 wutils.start_wifi_connection_scan(self.dut) 127 wutils.assert_network_in_list({WifiEnums.SSID_KEY: SSID}, scan_results) 128 wutils.wifi_connect(self.dut, network, num_of_tries=3) 132 sap_config = wutils.create_softap_config() 133 wutils.start_wifi_tethering(self.dut, 134 sap_config[wutils.WifiEnums.SSID_KEY], [all …]
|