Lines Matching refs:wutils

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)
98 wutils.wifi_toggle_state(ad, True)
105 wutils.stop_wifi_tethering(self.dut)
117 config = {wutils.WifiEnums.SSID_KEY: ap_ssid}
118 config[wutils.WifiEnums.PWD_KEY] = ap_password
127 wutils.start_wifi_connection_scan_and_ensure_network_found(
136 wutils.start_wifi_connection_scan_and_ensure_network_not_found(
151 wutils.wifi_connect(ad, config, check_connectivity=False)
196 wutils.start_wifi_tethering(self.dut,
197 config[wutils.WifiEnums.SSID_KEY],
198 config[wutils.WifiEnums.PWD_KEY], band, hidden)
202 config[wutils.WifiEnums.SSID_KEY])
205 config[wutils.WifiEnums.HIDDEN_KEY] = True
209 self.confirm_softap_in_scan_results(config[wutils.WifiEnums.SSID_KEY])
217 wutils.stop_wifi_tethering(self.dut)
221 wutils.wait_for_wifi_state(self.dut, True)
234 wutils.wifi_connect(self.dut_client, config, check_connectivity=False)
249 wutils.stop_wifi_tethering(self.dut)
264 wutils.wifi_connect(ad1, config, check_connectivity=False)
265 wutils.wifi_connect(ad2, config, check_connectivity=False)
396 wutils.wifi_toggle_state(self.dut, True)
397 wutils.wifi_connect(self.dut, self.open_network)
399 wutils.start_wifi_tethering(self.dut,
400 config[wutils.WifiEnums.SSID_KEY],
401 config[wutils.WifiEnums.PWD_KEY],
406 self.confirm_softap_in_scan_results(config[wutils.WifiEnums.SSID_KEY])
407 wutils.wifi_connect(self.dut_client, config, check_connectivity=False)
408 wutils.stop_wifi_tethering(self.dut)
409 wutils.wait_for_disconnect(self.dut_client)
427 wutils.wifi_toggle_state(self.dut, True)
508 config = wutils.start_softap_and_verify(self, WIFI_CONFIG_APBAND_AUTO)
513 wutils.wait_for_expected_number_of_softap_clients(
515 wutils.wait_for_expected_softap_state(self.dut, callbackId,
519 wutils.wifi_connect(self.dut_client, config,
521 wutils.wait_for_expected_number_of_softap_clients(
527 wutils.wait_for_expected_number_of_softap_clients(
529 wutils.wait_for_expected_softap_state(self.dut, callbackId_2,
533 wutils.toggle_wifi_and_wait_for_reconnection(self.dut_client, config)
535 wutils.wait_for_expected_number_of_softap_clients(self.dut,
537 wutils.wait_for_expected_number_of_softap_clients(self.dut,
539 wutils.wait_for_expected_number_of_softap_clients(self.dut,
541 wutils.wait_for_expected_number_of_softap_clients(self.dut,
548 wutils.wifi_connect(self.android_devices[2], config,
550 wutils.wait_for_expected_number_of_softap_clients(
554 wutils.stop_wifi_tethering(self.dut)
555 wutils.wait_for_disconnect(self.dut_client)
557 wutils.wait_for_disconnect(self.android_devices[2])
561 wutils.wait_for_expected_softap_state(self.dut, callbackId,
563 wutils.wait_for_expected_softap_state(self.dut, callbackId,
565 wutils.wait_for_expected_number_of_softap_clients(
572 wutils.get_current_number_of_softap_clients(
588 config = wutils.start_softap_and_verify(self, WIFI_CONFIG_APBAND_AUTO)
593 wutils.wait_for_expected_number_of_softap_clients(self.dut,
595 wutils.wait_for_expected_softap_state(self.dut, callbackId,
599 wutils.wifi_connect(self.dut_client, config, check_connectivity=False)
600 wutils.wait_for_expected_number_of_softap_clients(
611 wutils.wifi_toggle_state(self.dut_client, False)
612 wutils.wait_for_expected_number_of_softap_clients(self.dut,
619 wutils.wait_for_expected_softap_state(self.dut, callbackId,
621 wutils.wait_for_expected_softap_state(self.dut, callbackId,
645 config = wutils.start_softap_and_verify(self, WIFI_CONFIG_APBAND_AUTO)
653 wutils.wait_for_expected_number_of_softap_clients(self.dut,
655 wutils.wait_for_expected_softap_state(self.dut, callbackId,
660 wutils.save_wifi_soft_ap_config(self.dut, current_softap_config,
663 wutils.wifi_connect(self.dut_client, config, check_connectivity=False)
664 wutils.wait_for_expected_number_of_softap_clients(
675 wutils.wifi_toggle_state(self.dut_client, False)
676 wutils.wait_for_expected_number_of_softap_clients(self.dut,
683 wutils.wait_for_expected_softap_state(self.dut, callbackId,
685 wutils.wait_for_expected_softap_state(self.dut, callbackId,
692 wutils.save_wifi_soft_ap_config(self.dut, original_softap_config)
704 wutils.save_wifi_soft_ap_config(self.dut, {"SSID":"ACTS_TEST"},
711 wutils.save_wifi_soft_ap_config(self.dut, {"SSID":"ACTS_TEST"},
719 wutils.save_wifi_soft_ap_config(self.dut, original_softap_config)
753 wutils.save_wifi_soft_ap_config(self.dut, {"SSID":"ACTS_TEST"},
758 wutils.start_wifi_tethering_saved_config(self.dut)
765 wutils.wait_for_expected_number_of_softap_clients(self.dut,
767 wutils.wait_for_expected_softap_state(self.dut, callbackId,
782 wutils.save_wifi_soft_ap_config(self.dut, current_softap_config,
792 wutils.wait_for_expected_number_of_softap_clients(self.dut,
796 wutils.save_wifi_soft_ap_config(self.dut, original_softap_config)
833 wutils.save_wifi_soft_ap_config(self.dut, {"SSID":"ACTS_TEST"},
838 wutils.start_wifi_tethering_saved_config(self.dut)
845 wutils.wait_for_expected_number_of_softap_clients(self.dut,
847 wutils.wait_for_expected_softap_state(self.dut, callbackId,
864 wutils.wait_for_expected_number_of_softap_clients(self.dut,
868 wutils.save_wifi_soft_ap_config(self.dut, current_softap_config,
878 wutils.wait_for_expected_number_of_softap_clients(self.dut,
882 wutils.save_wifi_soft_ap_config(self.dut, original_softap_config)