/tools/acloud/internal/lib/ |
D | ssh.py | 36 def _SshCallWait(cmd, timeout=None): argument 53 if timeout: 55 timer = threading.Timer(timeout, process.kill) 58 if timeout: 63 def _SshCall(cmd, timeout=None): argument 80 if timeout: 82 timer = threading.Timer(timeout, process.kill) 85 if timeout: 90 def _SshLogOutput(cmd, timeout=None, show_output=False): argument 114 if timeout: [all …]
|
/tools/test/connectivity/acts/framework/acts/controllers/fuchsia_lib/lib_controllers/ |
D | wlan_policy_controller.py | 50 def _configure_wlan(self, preserve_saved_networks, timeout=15): argument 57 end_time = time.time() + timeout 144 def save_and_connect(self, ssid, security, password=None, timeout=30): argument 166 return self.wait_for_connect(ssid, security, timeout=timeout) 172 timeout=30): argument 191 return self.wait_for_connect(ssid, security, timeout=timeout) 199 timeout=30): argument 224 timeout=timeout) 226 def remove_all_networks_and_wait_for_no_connections(self, timeout=30): argument 238 return self.wait_for_no_connections(timeout=timeout) [all …]
|
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/test_actions/ |
D | apollo_acts.py | 89 def wait_for_bluetooth_disconnection(self, timeout=60): argument 105 if (time.time() - ini_time) > timeout: 354 def wait_for_magic_pairing_notification(self, android_act, timeout=60): argument 373 if time.time() - start_time > timeout: 381 def start_magic_pairing(self, android_act, timeout=30, retries=3): argument 384 BISTO_MP_CONNECT_TEXT, timeout=timeout) 387 timeout = 30 392 if time.time() - connect_start_time > timeout: 395 self.logger.info('Timeout(s): %s' % timeout) 429 timeout=DEFAULT_TIMEOUT, argument [all …]
|
/tools/test/connectivity/acts/framework/acts/controllers/fuchsia_lib/ |
D | hardware_power_statecontrol_lib.py | 32 def suspendReboot(self, timeout=HW_PWR_STATE_CONTROL_TIMEOUT): argument 46 response_timeout=timeout) 53 def suspendRebootBootloader(self, timeout=HW_PWR_STATE_CONTROL_TIMEOUT): argument 67 response_timeout=timeout) 73 def suspendPoweroff(self, timeout=HW_PWR_STATE_CONTROL_TIMEOUT): argument 87 response_timeout=timeout) 93 def suspendMexec(self, timeout=HW_PWR_STATE_CONTROL_TIMEOUT): argument 107 response_timeout=timeout) 113 def suspendRam(self, timeout=HW_PWR_STATE_CONTROL_TIMEOUT): argument 127 response_timeout=timeout)
|
/tools/test/connectivity/acts/framework/acts/controllers/sl4a_lib/ |
D | event_dispatcher.py | 84 event_obj = self._rpc_client.eventWait(60000, timeout=120) 178 def pop_event(self, event_name, timeout=DEFAULT_TIMEOUT): argument 209 if timeout: 210 return e_queue.get(True, timeout) 212 elif timeout == 0: 219 timeout, event_name) 226 timeout=DEFAULT_TIMEOUT, argument 253 deadline = time.time() + timeout 279 timeout, event_name) 283 def pop_events(self, regex_pattern, timeout, freq=1): argument [all …]
|
D | rpc_client.py | 231 def rpc(self, method, *args, timeout=None, retries=3): argument 252 if timeout: 253 connection.set_timeout(timeout) 287 except socket.timeout as err: 292 method, ticket, timeout or SOCKET_TIMEOUT) 301 if timeout:
|
/tools/test/connectivity/acts/framework/acts/controllers/ |
D | iperf_client.py | 124 def start(self, ip, iperf_args, tag, timeout=3600, iperf_binary=None): argument 144 def start(self, ip, iperf_args, tag, timeout=3600, iperf_binary=None): argument 193 def start(self, ip, iperf_args, tag, timeout=3600, iperf_binary=None): argument 230 self._ssh_session.exec_command(iperf_cmd, timeout=timeout)) 236 timeout=timeout) 243 except socket.timeout: 296 def start(self, ip, iperf_args, tag, timeout=3600, iperf_binary=None): argument 322 timeout=timeout)
|
D | android_device.py | 983 self.adb.wait_for_device(timeout=WAIT_FOR_DEVICE_TIMEOUT) 1005 out = self.adb.shell("bugreportz", timeout=BUG_REPORT_TIMEOUT) 1014 " > {}".format(full_out_path), timeout=BUG_REPORT_TIMEOUT) 1017 self.adb.wait_for_device(timeout=WAIT_FOR_DEVICE_TIMEOUT) 1079 "%s %s" % (device_path, host_path), timeout=PULL_TIMEOUT) 1130 timeout=PULL_TIMEOUT, 1142 timeout=PULL_TIMEOUT, 1168 timeout=PULL_TIMEOUT, 1200 timeout=IPERF_TIMEOUT, argument 1222 timeout=IPERF_TIMEOUT): argument [all …]
|
D | fuchsia_device.py | 468 timeout = cmd_dict.get('timeout', FUCHSIA_DEFAULT_COMMAND_TIMEOUT) 478 timeout=timeout, 610 timeout=FUCHSIA_RECONNECT_AFTER_REBOOT_TIME, 616 timeout=3) 630 timeout = time.time() + unreachable_timeout 631 while (time.time() < timeout): 720 timeout=FUCHSIA_DEFAULT_COMMAND_TIMEOUT, argument 746 ssh_conn.exec_command(test_cmd, timeout=timeout)) 765 timeout=1000, argument 798 (count, interval, timeout, size, additional_ping_params, dest_ip)) [all …]
|
D | access_point.py | 647 timeout=1000, argument 656 timeout=timeout, 664 timeout=1000, argument 672 timeout=timeout, 718 timeout = time.time() + unreachable_timeout 719 while time.time() < timeout: 738 timeout = time.time() + ping_timeout 739 while time.time() < timeout: 753 timeout = time.time() + ssh_timeout 754 while time.time() < timeout:
|
D | arduino_wifi_dongle.py | 313 def ip_address(self, exp_result=True, timeout=READ_TIMEOUT): argument 326 while time.time() < curr_time + timeout: 333 def wifi_status(self, exp_result=True, timeout=READ_TIMEOUT): argument 341 while time.time() < curr_time + timeout: 348 def wifi_scan(self, exp_result=True, timeout=READ_TIMEOUT): argument 363 while time.time() < curr_time + timeout: 378 def ping_status(self, exp_result=True, timeout=READ_TIMEOUT): argument 386 while time.time() < curr_time + timeout:
|
D | fastboot.py | 60 timeout=60): argument 65 timeout=timeout) 67 result = job.run(command, ignore_status=True, timeout=timeout)
|
D | adb.py | 146 def _exec_cmd(self, cmd, ignore_status=False, timeout=DEFAULT_ADB_TIMEOUT): argument 163 result = job.run(cmd, ignore_status=True, timeout=timeout) 258 def shell(self, command, ignore_status=False, timeout=DEFAULT_ADB_TIMEOUT): argument 263 timeout=timeout)
|
/tools/test/connectivity/acts/framework/acts/controllers/ap_lib/ |
D | hostapd.py | 56 def start(self, config, timeout=60, additional_parameters=None): argument 94 self._wait_for_process(timeout=timeout) 95 self._wait_for_interface(timeout=timeout) 121 def _wait_for_process(self, timeout=60): argument 131 while time.time() - start_time < timeout and not self.is_alive(): 135 def _wait_for_interface(self, timeout=60): argument 144 while time.time() - start_time < timeout:
|
D | dhcp_server.py | 65 def start(self, config, timeout=60): argument 96 self._wait_for_process(timeout=timeout) 97 self._wait_for_server(timeout=timeout) 122 def _wait_for_process(self, timeout=60): argument 132 while time.time() - start_time < timeout and not self.is_alive(): 138 def _wait_for_server(self, timeout=60): argument 147 while time.time() - start_time < timeout:
|
D | radvd.py | 69 def start(self, config, timeout=60): argument 101 self._wait_for_process(timeout=timeout) 126 def _wait_for_process(self, timeout=60): argument 136 while time.time() - start_time < timeout and not self.is_alive():
|
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/abstract_devices/ |
D | wlan_device.py | 151 timeout=1000, argument 161 timeout=1000, argument 275 timeout=1000, argument 281 timeout=timeout) 283 def ping(self, dest_ip, count=3, interval=1000, timeout=1000, size=25): argument 407 timeout=1000, argument 414 timeout=timeout, 422 timeout=1000, argument 428 timeout=timeout,
|
/tools/test/connectivity/acts/framework/acts/controllers/bits_lib/ |
D | bits_client.py | 106 job.run(cmd, timeout=10) 117 job.run(cmd, timeout=10) 135 job.run(cmd, timeout=600) 149 job.run(cmd, timeout=10) 216 job.run(cmd, timeout=10) 253 job.run(cmd, timeout=10) 265 job.run(cmd, timeout=10) 298 result = job.run(cmd, timeout=20)
|
/tools/test/connectivity/acts/framework/acts/ |
D | utils.py | 494 def wait_for_standing_subprocess(proc, timeout=None): argument 514 proc.wait(timeout) 545 def timeout(sec): function 625 @timeout(timeout_value) 945 timeout=200, argument 964 out = ad.adb.shell(ping_cmd, timeout=timeout, ignore_status=True) 1524 timeout=1000, argument 1558 timeout_flag = ['-t', str(timeout / 1000)] 1560 timeout_flag = ['-W', str(timeout / 1000)] 1580 timeout=1000, argument [all …]
|
/tools/test/connectivity/acts/framework/acts/controllers/rohdeschwarz_lib/ |
D | cmw500_cellular_simulator.py | 544 def wait_until_attached(self, timeout=120): argument 552 self.cmw.wait_for_attached_state(timeout=timeout) 558 def wait_until_communication_state(self, timeout=120): argument 566 self.cmw.wait_for_rrc_state(cmw500.LTE_CONN_RESP, timeout=timeout) 572 def wait_until_idle_state(self, timeout=120): argument 580 self.cmw.wait_for_rrc_state(cmw500.LTE_IDLE_RESP, timeout=timeout)
|
D | cmw500.py | 271 def wait_for_pswitched_state(self, timeout=10): argument 280 while timeout > 0: 291 timeout -= 1 295 def wait_for_attached_state(self, timeout=120): argument 304 while timeout > 0: 313 timeout -= 1 317 def wait_for_rrc_state(self, state, timeout=120): argument 332 while timeout > 0: 341 timeout -= 1
|
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/wifi/aware/ |
D | aware_test_utils.py | 46 def wait_for_event(ad, event_name, timeout=EVENT_TIMEOUT): argument 60 event = ad.ed.pop_event(event_name, timeout) 86 timeout=EVENT_TIMEOUT, argument 103 event = ad.ed.wait_for_event(event_name, _filter_callbacks, timeout, 113 def fail_on_event(ad, event_name, timeout=EVENT_TIMEOUT): argument 125 event = ad.ed.pop_event(event_name, timeout) 134 def fail_on_event_with_keys(ad, event_name, timeout=EVENT_TIMEOUT, *keyvalues): argument 149 event = ad.ed.wait_for_event(event_name, _filter_callbacks, timeout, 160 def verify_no_more_events(ad, timeout=EVENT_TIMEOUT): argument 169 event = ad.ed.pop_events('.*', timeout, freq=0) [all …]
|
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/tel/ |
D | tel_test_utils.py | 976 timeout=MAX_WAIT_TIME_AIRPLANEMODE_EVENT, 1065 timeout=wait_time, 1100 timeout=MAX_WAIT_TIME_CALLEE_RINGING, argument 1121 end_time = time.time() + timeout 1166 timeout=MAX_WAIT_TIME_ACCEPT_CALL_TO_OFFHOOK_EVENT, argument 1185 end_time = time.time() + timeout 1216 timeout=MAX_WAIT_TIME_ACCEPT_CALL_TO_OFFHOOK_EVENT): argument 1236 timeout=timeout, 1256 timeout=MAX_WAIT_TIME_CALLEE_RINGING, argument 1288 timeout=timeout): [all …]
|
D | gft_inout_utils.py | 70 def check_no_service_time(ad, timeout=30): argument 80 for i in range (timeout): 89 …evice does not become no/limited service in %s sec and service_state=%s" %(timeout, service_state)) 92 def check_back_to_service_time(ad, timeout=30): argument 102 for i in range (timeout): 115 …ad.log.info("device is not back in service in %s sec and service_state=%s" %(timeout, service_stat…
|
/tools/test/connectivity/acts/framework/acts/controllers/utils_lib/commands/ |
D | shell.py | 42 def run(self, command, timeout=60): argument 63 return self._runner.run(command_str, timeout=timeout) 187 def kill(self, identifier, timeout=10): argument 209 signal_duration = timeout / len(signal_queue)
|