Lines Matching refs:wutils

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"])
181 wutils.wifi_connect(ad, self.network)
253 wutils.wifi_connect(ad, self.network)
301 asserts.assert_true(wifi_ap[wutils.WifiEnums.SSID_KEY] == config[wutils.WifiEnums.SSID_KEY],
336 wutils.toggle_wifi_off_and_on(self.hotspot_device)
345 wutils.wifi_connect(self.tethered_devices[0], self.network)
358 wutils.DEFAULT_PING_ADDR, True)
382 wutils.stop_wifi_tethering(self.hotspot_device)
392 wutils.toggle_wifi_off_and_on(self.hotspot_device)
396 wutils.stop_wifi_tethering(self.hotspot_device)
406 wutils.toggle_wifi_off_and_on(self.hotspot_device)
410 wutils.stop_wifi_tethering(self.hotspot_device)
420 wutils.toggle_wifi_off_and_on(self.hotspot_device)
423 wutils.stop_wifi_tethering(self.hotspot_device)
433 wutils.toggle_wifi_off_and_on(self.hotspot_device)
436 wutils.stop_wifi_tethering(self.hotspot_device)
447 wutils.toggle_wifi_off_and_on(self.hotspot_device)
449 wutils.wifi_connect(self.tethered_devices[0], self.network)
452 wutils.stop_wifi_tethering(self.hotspot_device)
464 wutils.toggle_wifi_off_and_on(self.hotspot_device)
466 wutils.wifi_connect(self.tethered_devices[0], self.network)
469 wutils.stop_wifi_tethering(self.hotspot_device)
483 wutils.toggle_wifi_off_and_on(self.hotspot_device)
490 wifi_ap[wutils.WifiEnums.SSID_KEY] == \
491 self.network[wutils.WifiEnums.SSID_KEY],
493 wutils.wifi_connect(self.tethered_devices[0], self.network)
496 config = {wutils.WifiEnums.SSID_KEY: self.new_ssid}
497 config[wutils.WifiEnums.PWD_KEY] = self.network[wutils.WifiEnums.PWD_KEY]
498 config[wutils.WifiEnums.APBAND_KEY] = WIFI_CONFIG_APBAND_2G
502 wutils.stop_wifi_tethering(dut)
506 new_network = {wutils.WifiEnums.SSID_KEY: self.new_ssid,
507 wutils.WifiEnums.PWD_KEY: \
508 self.network[wutils.WifiEnums.PWD_KEY]}
509 wutils.wifi_connect(self.tethered_devices[0], new_network)
510 wutils.stop_wifi_tethering(self.hotspot_device)
521 wutils.start_wifi_tethering(
522 self.hotspot_device, self.open_network[wutils.WifiEnums.SSID_KEY],
524 wutils.wifi_connect(self.tethered_devices[0], self.open_network)
525 wutils.stop_wifi_tethering(self.hotspot_device)
536 wutils.start_wifi_tethering(
537 self.hotspot_device, self.open_network[wutils.WifiEnums.SSID_KEY],
539 wutils.wifi_connect(self.tethered_devices[0], self.open_network)
540 wutils.stop_wifi_tethering(self.hotspot_device)
554 config = {wutils.WifiEnums.SSID_KEY:
555 self.open_network[wutils.WifiEnums.SSID_KEY]}
556 config[wutils.WifiEnums.APBAND_KEY] = WIFI_CONFIG_APBAND_2G
562 wutils.wifi_connect(self.tethered_devices[0], self.open_network)
563 wutils.stop_wifi_tethering(self.hotspot_device)
578 config = {wutils.WifiEnums.SSID_KEY:
579 self.open_network[wutils.WifiEnums.SSID_KEY]}
580 config[wutils.WifiEnums.APBAND_KEY] = WIFI_CONFIG_APBAND_5G
586 wutils.wifi_connect(self.tethered_devices[0], self.open_network)
587 wutils.stop_wifi_tethering(self.hotspot_device)