/tools/acloud/internal/lib/ |
D | ssh.py | 43 def _SshCallWait(cmd, timeout=None): argument 60 if timeout: 62 timer = threading.Timer(timeout, process.kill) 65 if timeout: 70 def _SshCall(cmd, timeout=None): argument 87 if timeout: 89 timer = threading.Timer(timeout, process.kill) 92 if timeout: 97 def _SshLogOutput(cmd, timeout=None, show_output=False): argument 122 if timeout: [all …]
|
/tools/test/connectivity/acts/framework/acts/controllers/fuchsia_lib/lib_controllers/ |
D | wlan_policy_controller.py | 56 def _configure_wlan(self, preserve_saved_networks, timeout=15): argument 63 end_time = time.time() + timeout 173 def save_and_connect(self, ssid, security, password=None, timeout=30): argument 195 return self.wait_for_connect(ssid, security, timeout=timeout) 201 timeout=30): argument 220 return self.wait_for_connect(ssid, security, timeout=timeout) 228 timeout=30): argument 253 timeout=timeout) 255 def remove_all_networks_and_wait_for_no_connections(self, timeout=30): argument 267 return self.wait_for_no_connections(timeout=timeout) [all …]
|
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/tel/ |
D | tel_5g_utils.py | 22 def is_current_network_5g_nsa(ad, sub_id = None, mmwave = None, timeout=30): argument 37 def _nsa_display_monitor(ad, sub_id, mmwave, timeout): argument 48 timeout=timeout, 63 ad, sub_id, mmwave=False, timeout=timeout) or _nsa_display_monitor( 64 ad, sub_id, mmwave=True, timeout=timeout) 66 return _nsa_display_monitor(ad, sub_id, mmwave, timeout) 113 timeout = 30): argument 132 ad, sub_id=sub_id, mmwave=mmwave, timeout=timeout) 138 timeout=timeout) or is_current_network_5g_sa(
|
D | tel_test_utils.py | 803 timeout=MAX_WAIT_TIME_AIRPLANEMODE_EVENT, 844 timeout=120): argument 863 timeout=timeout) 895 def get_current_override_network_type(ad, timeout=30): argument 917 timeout=timeout, 1371 timeout=60): argument 1385 ad, count=5, timeout=timeout, loss_tolerance=40, dest_ip=dest) 1401 if get_current_epoch_time() - begin_time < timeout * 1000: 1438 timeout=180, argument 1465 timeout=timeout + 60, [all …]
|
D | tel_rcs_utils.py | 75 if uutils.has_element(ad, text="Status: Connected", timeout=30): 100 if uutils.has_element(ad, text="Status: Connected", timeout=30): 107 if not uutils.has_element(ad, text=ad.phone_number, timeout=30): 140 if uutils.has_element(ad, text="Status: Connected", timeout=30): 146 if uutils.has_element(ad, text="Turn off", timeout=30):
|
/tools/test/connectivity/acts/framework/acts/controllers/bits_lib/ |
D | bits_client.py | 78 'acquire_monsoon', timeout=10) 85 'release_monsoon', timeout=10) 87 def run_cmd(self, *args, timeout=60): argument 99 timeout=timeout) 124 timeout=600) 154 self.run_cmd(*cmd, timeout=600) 190 timeout=10) 234 'usb_disconnect', timeout=10) 259 self.run_cmd(*cmd, timeout=10) 268 self.run_cmd(*cmd, timeout=10) [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/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/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/ap_lib/ |
D | dhcp_server.py | 66 def start(self, config, timeout=60): argument 94 self._wait_for_process(timeout=timeout) 95 self._wait_for_server(timeout=timeout) 141 def _wait_for_process(self, timeout=60): argument 151 while time.time() - start_time < timeout and not self.is_alive(): 157 def _wait_for_server(self, timeout=60): argument 166 while time.time() - start_time < timeout:
|
D | hostapd.py | 59 def start(self, config, timeout=60, additional_parameters=None): argument 97 self._wait_for_process(timeout=timeout) 98 self._wait_for_interface(timeout=timeout) 178 def _wait_for_process(self, timeout=60): argument 188 while time.time() - start_time < timeout and not self.is_alive(): 192 def _wait_for_interface(self, timeout=60): argument 201 while time.time() - start_time < timeout:
|
/tools/test/connectivity/acts/framework/acts/controllers/ |
D | iperf_client.py | 125 def start(self, ip, iperf_args, tag, timeout=3600, iperf_binary=None): argument 145 def start(self, ip, iperf_args, tag, timeout=3600, iperf_binary=None): argument 194 def start(self, ip, iperf_args, tag, timeout=3600, iperf_binary=None): argument 231 self._ssh_session.exec_command(iperf_cmd, timeout=timeout)) 237 timeout=timeout) 244 except socket.timeout: 299 def start(self, ip, iperf_args, tag, timeout=3600, iperf_binary=None): argument 325 timeout=timeout)
|
D | android_device.py | 1080 self.adb.wait_for_device(timeout=WAIT_FOR_DEVICE_TIMEOUT) 1105 out = self.adb.shell("bugreportz", timeout=BUG_REPORT_TIMEOUT) 1114 timeout=BUG_REPORT_TIMEOUT) 1120 self.adb.wait_for_device(timeout=WAIT_FOR_DEVICE_TIMEOUT) 1182 timeout=PULL_TIMEOUT) 1233 timeout=PULL_TIMEOUT, 1248 timeout=PULL_TIMEOUT, 1280 timeout=PULL_TIMEOUT, 1312 timeout=IPERF_TIMEOUT, argument 1334 timeout=IPERF_TIMEOUT): argument [all …]
|
D | fuchsia_device.py | 531 timeout = cmd_dict.get('timeout', FUCHSIA_DEFAULT_COMMAND_TIMEOUT) 541 timeout=timeout, 677 timeout=FUCHSIA_RECONNECT_AFTER_REBOOT_TIME, 683 timeout=3) 704 timeout = time.time() + unreachable_timeout 705 while (time.time() < timeout): 791 timeout=FUCHSIA_DEFAULT_COMMAND_TIMEOUT, argument 817 ssh_conn.exec_command(test_cmd, timeout=timeout)) 832 def version(self, timeout=FUCHSIA_DEFAULT_COMMAND_TIMEOUT): argument 846 timeout=timeout).stdout [all …]
|
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 | access_point.py | 704 timeout=1000, argument 713 timeout=timeout, 721 timeout=1000, argument 729 timeout=timeout, 775 timeout = time.time() + unreachable_timeout 776 while time.time() < timeout: 795 timeout = time.time() + ping_timeout 796 while time.time() < timeout: 810 timeout = time.time() + ssh_timeout 811 while time.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_tests/acts_contrib/test_utils/abstract_devices/ |
D | wlan_device.py | 152 timeout=1000, argument 162 timeout=1000, argument 277 timeout=1000, argument 283 timeout=timeout) 285 def ping(self, dest_ip, count=3, interval=1000, timeout=1000, size=25): argument 410 timeout=1000, argument 417 timeout=timeout, 425 timeout=1000, argument 431 timeout=timeout,
|
/tools/test/connectivity/acts/framework/acts/ |
D | utils.py | 497 def wait_for_standing_subprocess(proc, timeout=None): argument 517 proc.wait(timeout) 548 def timeout(sec): function 629 @timeout(timeout_value) 949 timeout=200, argument 968 out = ad.adb.shell(ping_cmd, timeout=timeout, ignore_status=True) 1537 timeout=1000, argument 1571 timeout_flag = ['-t', str(timeout / 1000)] 1573 timeout_flag = ['-W', str(timeout / 1000)] 1593 timeout=1000, argument [all …]
|
/tools/test/connectivity/acts/framework/acts/controllers/rohdeschwarz_lib/ |
D | cmw500_cellular_simulator.py | 521 def wait_until_attached(self, timeout=120): argument 529 self.cmw.wait_for_attached_state(timeout=timeout) 535 def wait_until_communication_state(self, timeout=120): argument 543 self.cmw.wait_for_rrc_state(cmw500.LTE_CONN_RESP, timeout=timeout) 549 def wait_until_idle_state(self, timeout=120): argument 557 self.cmw.wait_for_rrc_state(cmw500.LTE_IDLE_RESP, timeout=timeout)
|
/tools/test/connectivity/acts_tests/tests/google/net/ |
D | UsbTetheringTest.py | 66 resp = sr1(icmp, timeout=2, iface=self.iface) 81 resp = sr1(icmpv6, timeout=2, iface=self.iface) 98 resp = sr1(dnsqr, timeout=2, iface=self.iface) 113 resp = sr1(tcp, timeout=2, iface=self.iface) 128 resp = sr1(tcp_ipv6, timeout=2, iface=self.iface) 144 / TCP(dport=80, flags="S"), timeout=2, iface=self.iface) 148 resp = sr1(req, timeout=2, iface=self.iface)
|
/tools/test/connectivity/acts/framework/acts/controllers/utils_lib/commands/ |
D | shell.py | 43 def run(self, command, timeout=60): argument 64 return self._runner.run(command_str, timeout=timeout) 195 def kill(self, identifier, timeout=10): argument 217 signal_duration = timeout / len(signal_queue)
|
/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 …]
|