Home
last modified time | relevance | path

Searched refs:timeout_sec (Results 1 – 25 of 36) sorted by relevance

12

/external/autotest/client/common_lib/cros/
Dretry.py78 def custom_sigalarm_handler(func, timeout_sec): argument
91 message = "sigalarm timeout (%d seconds) in %s" % (timeout_sec, name)
95 def timeout(func, args=(), kwargs={}, timeout_sec=60.0, default_result=None): argument
112 handler = custom_sigalarm_handler(func, timeout_sec)
115 old_alarm_sec = set_sigalarm_timeout(timeout_sec, default_timeout=60)
/external/autotest/server/site_tests/tast/
Dtast.py221 def _run_tast(self, subcommand, extra_subcommand_args, timeout_sec, argument
256 timeout=timeout_sec,
303 timeout_sec = self._get_run_tests_timeout_sec()
304 logging.info('Running tests with timeout of %d sec', timeout_sec)
308 '-timeout=' + str(timeout_sec),
312 self._run_tast('run', args, timeout_sec + tast._RUN_EXIT_SEC,
/external/autotest/client/cros/
Ddevice_jail_utils.py120 def timeout_sec(): function
137 with ConcurrentFunc(open_device, timeout_sec):
138 ready_fds = poll_obj.poll(timeout_sec() * 1000)
/external/autotest/server/site_tests/firmware_IntegratedU2F/
Dfirmware_IntegratedU2F.py67 timeout_sec=60):
76 timeout_sec=120):
112 timeout_sec=30)
/external/tensorflow/tensorflow/python/tpu/
Derror_handling.py105 def raise_errors(self, timeout_sec=0): argument
114 for _ in range(timeout_sec):
/external/autotest/client/cros/chameleon/
Dchameleon_bluetooth_audio.py62 found_device = utils.wait_for_value(_find_device, True, timeout_sec=timeout)
112 connected = utils.wait_for_value(_connect_device, True, timeout_sec=timeout)
/external/autotest/client/site_tests/policy_PluginsBlockedForUrls/
Dpolicy_PluginsBlockedForUrls.py83 def _stop_flash_if_running(self, timeout_sec=10): argument
102 timeout=timeout_sec)
/external/autotest/client/site_tests/policy_PluginsAllowedForUrls/
Dpolicy_PluginsAllowedForUrls.py83 def _stop_flash_if_running(self, timeout_sec=10): argument
108 timeout=timeout_sec)
/external/perfetto/src/base/
Dunix_socket.cc339 uint32_t timeout_sec = timeout_ms / 1000; in SetTxTimeout() local
340 timeout.tv_sec = static_cast<decltype(timeout.tv_sec)>(timeout_sec); in SetTxTimeout()
342 (timeout_ms - (timeout_sec * 1000)) * 1000); in SetTxTimeout()
352 uint32_t timeout_sec = timeout_ms / 1000; in SetRxTimeout() local
353 timeout.tv_sec = static_cast<decltype(timeout.tv_sec)>(timeout_sec); in SetRxTimeout()
355 (timeout_ms - (timeout_sec * 1000)) * 1000); in SetRxTimeout()
/external/autotest/client/site_tests/desktopui_FlashSanityCheck/
Ddesktopui_FlashSanityCheck.py155 timeout_sec=self._time_to_wait_secs)
181 timeout_sec=self._time_to_wait_secs)
267 timeout_sec=self._component_download_timeout_secs)
/external/autotest/client/site_tests/platform_InitLoginPerf/
Dplatform_InitLoginPerf.py118 timeout_sec=timeout):
156 timeout_sec=timeout):
/external/autotest/site_utils/rpm_control_system/
Drpm_client.py72 timeout_sec=timeout_mins * 60,
102 timeout_sec=timeout_mins * 60,
Drpm_controller.py216 timeout_sec=10)
237 timeout_sec=SET_POWER_STATE_TIMEOUT_SECONDS)
/external/autotest/client/site_tests/power_BacklightControl/
Dpower_BacklightControl.py201 timeout_sec=30): argument
226 while time.time() - start_time < timeout_sec:
/external/autotest/client/site_tests/policy_PowerManagementIdleSettings/
Dpolicy_PowerManagementIdleSettings.py162 timeout_sec=timeout)
198 timeout_sec=timeout)
/external/grpc-grpc/test/core/end2end/
Dcq_verifier.h44 void cq_verify_empty_timeout(cq_verifier* v, int timeout_sec);
Dcq_verifier.cc287 void cq_verify_empty_timeout(cq_verifier* v, int timeout_sec) { in cq_verify_empty_timeout() argument
290 gpr_time_from_seconds(timeout_sec, GPR_TIMESPAN)); in cq_verify_empty_timeout()
/external/autotest/client/site_tests/policy_ChromeOsLockOnIdleSuspend/
Dpolicy_ChromeOsLockOnIdleSuspend.py98 timeout_sec=self.IDLE_ACTION_DELAY)
/external/autotest/server/site_tests/firmware_FastbootErase/
Dfirmware_FastbootErase.py56 utils.wait_for_value(self.is_recovery_mode, True, timeout_sec=timeout)
/external/autotest/server/site_tests/display_HDCPScreen/
Ddisplay_HDCPScreen.py87 timeout_sec=self.TIMEOUT_HDCP_SWITCH)
/external/autotest/server/site_tests/display_HotPlugAtSuspend/
Ddisplay_HotPlugAtSuspend.py128 timeout_sec=self.TIMEOUT_WAITING_MIRRORED)):
/external/autotest/server/cros/servo/
Dchrome_cr50.py575 timeout_sec=timeout)
585 timeout_sec=self.SHORT_WAIT)
/external/autotest/server/
Dsubcommand.py253 _, result = retry.timeout(self.wait, timeout_sec=timeout)
Dsite_crashcollect.py116 timeout_sec=600)
/external/wpa_supplicant_8/wpa_supplicant/
Devents.c1514 int timeout_sec, int timeout_usec) in wpa_supplicant_req_new_scan() argument
1529 wpa_supplicant_req_scan(wpa_s, timeout_sec, timeout_usec); in wpa_supplicant_req_new_scan()
2026 int timeout_sec = wpa_s->scan_interval; in wpas_select_network_from_last_scan() local
2045 timeout_sec = 0; in wpas_select_network_from_last_scan()
2047 wpa_supplicant_req_new_scan(wpa_s, timeout_sec, in wpas_select_network_from_last_scan()
2068 timeout_sec = 0; in wpas_select_network_from_last_scan()
2070 wpa_supplicant_req_new_scan(wpa_s, timeout_sec, in wpas_select_network_from_last_scan()
2079 timeout_sec = 0; in wpas_select_network_from_last_scan()
2081 wpa_supplicant_req_new_scan(wpa_s, timeout_sec, in wpas_select_network_from_last_scan()
2087 wpa_supplicant_req_new_scan(wpa_s, timeout_sec, in wpas_select_network_from_last_scan()

12