Lines Matching refs:wutils

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,
159 wutils.WifiEnums.WIFI_BAND_5_GHZ_WITH_DFS,
160 wutils.WifiEnums.WIFI_BAND_BOTH_WITH_DFS])
169 if report_result == wutils.WifiEnums.REPORT_EVENT_FULL_SCAN_RESULT:
220 scan_time, scan_channels = wutils.get_scan_time_and_channels(
273 data = wutils.start_wifi_single_scan(self.dut, scan_setting)
281 scan_time, scan_channels = wutils.get_scan_time_and_channels(
332 data = wutils.start_wifi_single_scan(self.dut, scan_setting)
337 scan_time, scan_channels = wutils.get_scan_time_and_channels(
369 if scan_setting_type == wutils.WifiEnums.SCAN_TYPE_LOW_LATENCY \
370 or scan_setting_type == wutils.WifiEnums.SCAN_TYPE_LOW_POWER:
392 data = wutils.start_wifi_background_scan(self.dut, scan_setting)
397 scan_time, scan_channels = wutils.get_scan_time_and_channels(
441 data = wutils.start_wifi_background_scan(self.dut, scan_setting)
447 scan_time, scan_channels = wutils.get_scan_time_and_channels(
454 'reportEvents'] == wutils.WifiEnums.REPORT_EVENT_AFTER_BUFFER_FULL:
572 return wutils.track_connection(self.dut,
626 wutils.WifiEnums.REPORT_EVENT_AFTER_EACH_SCAN)
642 wutils.WifiEnums.REPORT_EVENT_AFTER_EACH_SCAN)
659 wutils.WifiEnums.REPORT_EVENT_AFTER_BUFFER_FULL)
676 wutils.WifiEnums.REPORT_EVENT_AFTER_BUFFER_FULL)
693 wutils.WifiEnums.REPORT_EVENT_AFTER_EACH_SCAN)
709 wutils.WifiEnums.REPORT_EVENT_AFTER_EACH_SCAN)
726 wutils.WifiEnums.REPORT_EVENT_FULL_SCAN_RESULT)
743 wutils.WifiEnums.REPORT_EVENT_FULL_SCAN_RESULT)
760 wutils.WifiEnums.REPORT_EVENT_FULL_SCAN_RESULT)
776 wutils.WifiEnums.REPORT_EVENT_FULL_SCAN_RESULT)
791 data = wutils.start_wifi_single_scan(self.dut,
800 wutils.validate_connection(self.dut, self.ping_addr),
803 scan_time, scan_channels = wutils.get_scan_time_and_channels(
855 wutils.validate_connection(self.dut, self.ping_addr),
857 wutils.wifi_forget_network(self.dut,
879 data = wutils.start_wifi_background_scan(
887 scan_time, scan_channels = wutils.get_scan_time_and_channels(
920 wutils.validate_connection(self.dut, self.ping_addr),
935 current_network[wutils.WifiEnums.SSID_KEY]))
952 wutils.validate_connection(self.dut, self.ping_addr),
954 wutils.wifi_forget_network(self.dut,
975 wutils.WifiEnums.REPORT_EVENT_AFTER_EACH_SCAN}
993 wutils.WifiEnums.REPORT_EVENT_FULL_SCAN_RESULT,
994 "type": wutils.WifiEnums.SCAN_TYPE_LOW_LATENCY}
1012 wutils.WifiEnums.REPORT_EVENT_FULL_SCAN_RESULT,
1013 "type": wutils.WifiEnums.SCAN_TYPE_LOW_POWER}
1031 wutils.WifiEnums.REPORT_EVENT_FULL_SCAN_RESULT,
1032 "type": wutils.WifiEnums.SCAN_TYPE_HIGH_ACCURACY}
1047 wutils.WifiEnums.REPORT_EVENT_AFTER_BUFFER_FULL}
1056 scan_setting = {"band": wutils.WifiEnums.WIFI_BAND_BOTH_WITH_DFS,
1059 wutils.WifiEnums.REPORT_EVENT_AFTER_BUFFER_FULL}
1073 data = wutils.start_wifi_single_scan(self.dut,
1081 scan_time, scan_channels = wutils.get_scan_time_and_channels(
1113 wutils.wifi_toggle_state(self.dut, False)
1117 wutils.wifi_toggle_state(self.dut, True)
1130 "band": wutils.WifiEnums.WIFI_BAND_BOTH_WITH_DFS,
1132 "reportEvents": wutils.WifiEnums.REPORT_EVENT_AFTER_EACH_SCAN,