/tools/test/connectivity/acts/tests/google/wifi/ |
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 | WifiSoftApTest.py | 33 from acts.test_utils.wifi import wifi_test_utils as wutils unknown 36 WifiEnums = wutils.WifiEnums 65 wutils.set_wifi_country_code(self.dut, wutils.WifiEnums.CountryCode.US) 66 wutils.set_wifi_country_code(self.dut_client, wutils.WifiEnums.CountryCode.US) 74 wutils.wifi_toggle_state(self.dut, True) 75 wutils.wifi_toggle_state(self.dut_client, True) 81 wutils.set_wifi_country_code(self.android_devices[2], wutils.WifiEnums.CountryCode.US) 89 wutils.stop_wifi_tethering(self.dut) 90 wutils.reset_wifi(self.dut) 91 wutils.reset_wifi(self.dut_client) [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 | WifiTetheringTest.py | 36 from acts.test_utils.wifi import wifi_test_utils as wutils unknown 57 wutils.wifi_test_device_init(ad) 66 wutils.stop_wifi_tethering(self.hotspot_device) 76 wutils.reset_wifi(ad) 154 wutils.start_wifi_tethering(self.hotspot_device, 155 self.network[wutils.WifiEnums.SSID_KEY], 156 self.network[wutils.WifiEnums.PWD_KEY], 170 wutils.wifi_forget_network(dut, self.network["SSID"]) 172 wutils.wifi_connect(dut, self.network) 186 wutils.wifi_forget_network(ad, self.network["SSID"]) [all …]
|
D | WifiWakeTest.py | 24 import acts.test_utils.wifi.wifi_test_utils as wutils namespace 27 WifiEnums = wutils.WifiEnums 50 wutils.wifi_test_device_init(self.dut) 101 wutils.reset_wifi(self.dut) 102 wutils.wifi_toggle_state(self.dut, new_state=True) 126 "band": wutils.WifiEnums.WIFI_BAND_BOTH, 128 "reportEvents": wutils.WifiEnums.REPORT_EVENT_AFTER_EACH_SCAN 131 wifi_chs = wutils.WifiChannelUS(self.dut.model) 137 data = wutils.start_wifi_single_scan(self.dut, scan_settings) 144 scan_time, scan_channels = wutils.get_scan_time_and_channels( [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 | WifiSoftApPerformanceTest.py | 25 from acts.test_utils.wifi import wifi_test_utils as wutils unknown 92 wutils.wifi_toggle_state(dev, True) 96 wutils.stop_wifi_tethering(self.android_devices[0]) 98 wutils.wifi_toggle_state(dev, False) 102 wutils.stop_wifi_tethering(self.android_devices[0]) 112 info['channel'] = wutils.WifiEnums.freq_to_channel[int( 127 wutils.reset_wifi(dev) 128 wutils.set_wifi_country_code(dev, wutils.WifiEnums.CountryCode.US) 131 sap_config = wutils.create_softap_config() 133 wutils.start_wifi_tethering(self.android_devices[0], [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) 92 wutils.wifi_toggle_state(self.dut, True) 93 wutils.wifi_toggle_state(self.dut_client, True) 108 wutils.wifi_toggle_state(ad, True) 114 wutils.reset_wifi(self.dut) 115 wutils.reset_wifi(self.dut_client) 155 wutils.connect_to_wifi_network(self.dut, network) [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) 94 wutils.stop_wifi_tethering(self.dut) 95 wutils.reset_wifi(self.dut) 97 wutils.reset_wifi(self.dut_client) [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 | WifiLinkProbeTest.py | 22 import acts.test_utils.wifi.wifi_test_utils as wutils namespace 24 WifiEnums = wutils.WifiEnums 44 wutils.wifi_test_device_init(self.dut) 54 self.attenuators = wutils.group_attenuators(self.attenuators) 59 wutils.wifi_toggle_state(self.dut, True) 62 self.pcap_procs = wutils.start_pcap( 68 wutils.reset_wifi(self.dut) 71 wutils.stop_pcap(self.packet_capture, self.pcap_procs, True) 74 wutils.stop_pcap(self.packet_capture, self.pcap_procs, False) 96 wutils.wifi_connect(self.dut, network, num_of_tries=3) [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) 89 wutils.wait_for_disconnect(self.dut) 90 wutils.wifi_toggle_state(self.dut, False) 143 wutils.wifi_connect_using_network_request(self.dut, self.wpa_psk_2g, 157 wutils.wifi_connect_using_network_request(self.dut, self.open_5g, 178 wutils.wifi_connect_using_network_request(self.dut, self.wpa_psk_5g, [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) 90 wutils.delete_passpoint(self.dut, config) 91 wutils.reset_wifi(self.dut) 126 wutils.start_wifi_connection_scan_and_return_status(ad) 127 wutils.wait_for_connect(ad) 145 if not wutils.delete_passpoint(self.dut, passpoint_config[0]): 168 wutils.reset_wifi(self.dut) [all …]
|
D | WifiAutoUpdateTest.py | 24 import acts.test_utils.wifi.wifi_test_utils as wutils namespace 28 WifiEnums = wutils.WifiEnums 67 wutils.wifi_test_device_init(self.dut) 68 wutils.wifi_toggle_state(self.dut, True) 140 wutils.save_wifi_soft_ap_config(self.dut, self.wifi_hotspot, band) 144 wutils.start_wifi_tethering_saved_config(self.dut) 145 wutils.connect_to_wifi_network(self.dut_client, 148 wutils.stop_wifi_tethering(self.dut) 159 wutils.start_wifi_connection_scan_and_ensure_network_found( 161 wutils.wifi_connect(self.dut, network, num_of_tries=6) [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) 98 self.attenuators = wutils.group_attenuators(self.attenuators) 134 scan_types_setting = [wutils.WifiEnums.WIFI_BAND_BOTH] 143 [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 50 wutils.wifi_test_device_init(self.dut) 67 wutils.wifi_toggle_state(self.dut, True) 72 wutils.reset_wifi(self.dut) 96 wutils.wifi_connect(self.dut, self.network, num_of_tries=3) 120 wutils.wifi_connect(self.dut, self.network, num_of_tries=3) 124 wutils.wait_for_disconnect(self.dut) 143 wutils.wifi_connect(self.dut, self.network, num_of_tries=3) 147 wutils.wait_for_disconnect(self.dut) [all …]
|
D | WifiNetworkSuggestionTest.py | 24 import acts.test_utils.wifi.wifi_test_utils as wutils namespace 33 WifiEnums = wutils.WifiEnums 67 wutils.wifi_test_device_init(self.dut) 116 wutils.wifi_toggle_state(self.dut, True) 125 wutils.reset_wifi(self.dut) 126 wutils.wifi_toggle_state(self.dut, False) 191 wutils.start_wifi_connection_scan_and_return_status(self.dut) 195 wutils.wait_for_connect(self.dut, expected_ssid) 224 wutils.wait_for_disconnect(self.dut) 229 wutils.wait_for_connect(self.dut, expected_ssid, assert_on_fail=False), [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 | WifiStaApConcurrencyStressTest.py | 27 import acts.test_utils.wifi.wifi_test_utils as wutils namespace 29 WifiEnums = wutils.WifiEnums 74 wutils.reset_wifi(ad) 75 wutils.connect_to_wifi_network(ad, network) 77 wutils.reset_wifi(self.android_devices[2]) 78 wutils.connect_to_wifi_network(self.android_devices[2], network) 81 wutils.wifi_toggle_state(self.dut, True) 87 wutils.wifi_toggle_state(self.dut, False) 95 wutils.reset_wifi(self.dut_client) 97 wutils.reset_wifi(self.android_devices[2]) [all …]
|
D | WifiRoamingTest.py | 26 from acts.test_utils.wifi import wifi_test_utils as wutils unknown 29 WifiEnums = wutils.WifiEnums 48 wutils.wifi_test_device_init(self.dut) 82 wutils.reset_wifi(self.dut) 104 wutils.set_attns(self.attenuators, "AP1_on_AP2_off") 107 wutils.connect_to_wifi_network(self.dut, wifi_config) 109 wutils.trigger_roaming_and_validate( 143 wutils.set_attns_steps(self.attenuators, "AP1_off_AP2_on") 147 self.pcap_procs = wutils.start_pcap( 150 wutils.stop_pcap(self.packet_capture, self.pcap_procs, False) [all …]
|
D | WifiHiddenSSIDTest.py | 24 import acts.test_utils.wifi.wifi_test_utils as wutils namespace 45 wutils.wifi_test_device_init(self.dut) 76 wutils.reset_wifi(self.dut) 94 wutils.start_wifi_connection_scan(self.dut) 96 match_results = wutils.match_networks( 97 {wutils.WifiEnums.SSID_KEY: ap_ssid}, scan_results) 109 wutils.connect_to_wifi_network(self.dut, hidden_network, hidden=True) 110 if not wutils.validate_connection(self.dut):
|
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 …]
|
/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/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/tests/google/wifi/aware/functional/ |
D | NonConcurrencyTest.py | 23 from acts.test_utils.wifi import wifi_test_utils as wutils unknown 69 wutils.start_wifi_tethering(dut, self.TETHER_SSID, password=None) 81 wutils.stop_wifi_tethering(dut) 99 wutils.start_wifi_tethering(dut, self.TETHER_SSID, password=None) 104 wutils.wifi_toggle_state(dut, False) 106 wutils.wifi_toggle_state(dut, True) 128 wutils.stop_wifi_tethering(dut) 153 wutils.reset_wifi(dut) 154 wutils.reset_wifi(dut_ap) 163 config = {wutils.WifiEnums.SSID_KEY: ap_ssid, wutils.WifiEnums.PWD_KEY: ap_password} [all …]
|