• Home
  • Raw
  • Download

Lines Matching refs:dut

46         self.dut = self.android_devices[0]
47 wutils.wifi_test_device_init(self.dut)
49 acts.utils.set_location_service(self.dut, True)
50 self.dut.droid.wifiScannerToggleAlwaysAvailable(True)
92 self.dut.droid.wakeLockAcquireBright()
93 self.dut.droid.wakeUpNow()
98 wutils.reset_wifi(self.dut)
99 wutils.wifi_toggle_state(self.dut, new_state=True)
101 self.dut.droid.wifiStartTrackingStateChange()
102 self.dut.droid.wifiStopTrackingStateChange()
103 self.dut.ed.clear_all_events()
106 self.dut.droid.wakeLockRelease()
107 self.dut.droid.goToSleepNow()
110 self.dut.take_bug_report(test_name, begin_time)
111 self.dut.cat_adb_log(test_name, begin_time)
120 wifi_chs = wutils.WifiChannelUS(self.dut.model)
126 data = wutils.start_wifi_single_scan(self.dut, scan_settings)
143 event = self.dut.ed.pop_event(event_name, wait_time)
151 self.dut.droid.wifiScannerStopScan(idx)
166 wutils.wifi_connect(self.dut, self.ap_a, num_of_tries=5)
167 wutils.wifi_toggle_state(self.dut, new_state=False)
172 self.dut.droid.wifiCheckState(),
178 wutils.wifi_connect(self.dut, self.ap_a, num_of_tries=5)
179 wutils.wifi_connect(self.dut, self.ap_b, num_of_tries=5)
180 self.dut.ed.clear_all_events()
183 wutils.wait_for_disconnect(self.dut)
186 wutils.wifi_toggle_state(self.dut, new_state=False)
193 self.dut.droid.wifiCheckState(),
199 self.dut.log.info("Adding network suggestions");
201 self.dut.droid.wifiAddNetworkSuggestions([self.ap_a]),
204 self.dut.droid.wifiAddNetworkSuggestions([self.ap_b]),
207 self.dut.log.debug("Enabling suggestions from test");
208 self.dut.adb.shell("cmd wifi network-suggestions-set-user-approved"
212 wutils.wait_for_connect(self.dut)
213 self.dut.ed.clear_all_events()
216 wutils.wait_for_disconnect(self.dut)
219 wutils.wifi_toggle_state(self.dut, new_state=False)
226 self.dut.droid.wifiCheckState(),
235 wutils.wifi_connect(self.dut, self.ap_a, num_of_tries=5)
236 wutils.wifi_toggle_state(self.dut, new_state=False)
246 self.dut.droid.wifiCheckState(),
257 wutils.wifi_connect(self.dut, self.ap_a, num_of_tries=5)
260 wutils.wifi_toggle_state(self.dut, new_state=False)
267 self.dut.droid.wifiCheckState(),
276 wutils.wifi_connect(self.dut, self.ap_a, num_of_tries=5)
277 self.dut.ed.clear_all_events()
279 wutils.wait_for_disconnect(self.dut)
282 wutils.wifi_toggle_state(self.dut, new_state=False)
288 self.dut.droid.wifiCheckState(),
298 wutils.wifi_connect(self.dut, self.ap_a, num_of_tries=5)
299 wutils.wifi_connect(self.dut, self.ap_b, num_of_tries=5)
300 wutils.wifi_toggle_state(self.dut, new_state=False)
308 self.dut.droid.wifiCheckState(),
317 wutils.wifi_connect(self.dut, self.ap_a, num_of_tries=5)
318 wutils.wifi_connect(self.dut, self.ap_b, num_of_tries=5)
319 wutils.wifi_toggle_state(self.dut, new_state=False)
328 self.dut.droid.wifiCheckState(),
337 wutils.wifi_connect(self.dut, self.ap_a, num_of_tries=5)
338 wutils.wifi_connect(self.dut, self.ap_b, num_of_tries=5)
339 self.dut.ed.clear_all_events()
342 wutils.wait_for_disconnect(self.dut)
345 wutils.wifi_toggle_state(self.dut, new_state=False)
356 self.dut.droid.wifiCheckState(),
359 actual_ssid = self.dut.droid.wifiGetConnectionInfo()[