/external/autotest/client/common_lib/cros/ |
retry.py | 78 def custom_sigalarm_handler(func, timeout_sec): 85 @param timeout_sec: timeout length in seconds 91 message = "sigalarm timeout (%d seconds) in %s" % (timeout_sec, name) 95 def timeout(func, args=(), kwargs={}, timeout_sec=60.0, default_result=None): 98 return the given default value if the timeout_sec is exceeded. 103 @param timeout_sec: timeout setting for call to exit, in seconds. 112 handler = custom_sigalarm_handler(func, timeout_sec) 115 old_alarm_sec = set_sigalarm_timeout(timeout_sec, default_timeout=60)
|
/external/grpc-grpc/test/core/end2end/ |
cq_verifier.h | 44 void cq_verify_empty_timeout(cq_verifier* v, int timeout_sec);
|
cq_verifier.cc | 287 void cq_verify_empty_timeout(cq_verifier* v, int timeout_sec) { 290 gpr_time_from_seconds(timeout_sec, GPR_TIMESPAN));
|
/external/autotest/client/cros/ |
device_jail_utils.py | 60 TIMEOUT_SEC = 3 116 # timeout_sec should be used for the timeouts below. 117 # This ensures we don't spend much longer than TIMEOUT_SEC in 119 deadline = time.time() + self.TIMEOUT_SEC 120 def timeout_sec(): function in function:JailDevice.expect_open 137 with ConcurrentFunc(open_device, timeout_sec): 138 ready_fds = poll_obj.poll(timeout_sec() * 1000)
|
/external/autotest/client/cros/chameleon/ |
chameleon_bluetooth_audio.py | 62 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_PluginsAllowedForUrls/ |
policy_PluginsAllowedForUrls.py | 83 def _stop_flash_if_running(self, timeout_sec=10): 87 @param timeout_sec: maximum seconds to wait for processes to die. 90 after timeout_sec. 108 timeout=timeout_sec)
|
/external/autotest/client/site_tests/policy_PluginsBlockedForUrls/ |
policy_PluginsBlockedForUrls.py | 83 def _stop_flash_if_running(self, timeout_sec=10): 86 @param timeout_sec: maximum seconds to wait for processes to die. 89 after timeout_sec. 102 timeout=timeout_sec)
|
/external/tensorflow/tensorflow/python/tpu/ |
error_handling.py | 105 def raise_errors(self, timeout_sec=0): 112 timeout_sec: Seconds to wait for other error sources. 114 for _ in range(timeout_sec):
|
/external/autotest/server/site_tests/tast/ |
tast.py | 221 def _run_tast(self, subcommand, extra_subcommand_args, timeout_sec, 229 @param timeout_sec: Integer timeout for the command in seconds. 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/site_tests/platform_InitLoginPerf/ |
platform_InitLoginPerf.py | 118 timeout_sec=timeout): 156 timeout_sec=timeout):
|
/external/autotest/site_utils/rpm_control_system/ |
rpm_client.py | 72 timeout_sec=timeout_mins * 60, 102 timeout_sec=timeout_mins * 60,
|
rpm_controller.py | 216 timeout_sec=10) 237 timeout_sec=SET_POWER_STATE_TIMEOUT_SECONDS) [all...] |
/external/autotest/client/site_tests/policy_ChromeOsLockOnIdleSuspend/ |
policy_ChromeOsLockOnIdleSuspend.py | 98 timeout_sec=self.IDLE_ACTION_DELAY)
|
/external/autotest/server/site_tests/firmware_IntegratedU2F/ |
firmware_IntegratedU2F.py | 67 timeout_sec=60): 76 timeout_sec=120): 112 timeout_sec=30)
|
/external/perfetto/src/base/ |
unix_socket.cc | 339 uint32_t timeout_sec = timeout_ms / 1000; local 340 timeout.tv_sec = static_cast<decltype(timeout.tv_sec)>(timeout_sec); 342 (timeout_ms - (timeout_sec * 1000)) * 1000); 352 uint32_t timeout_sec = timeout_ms / 1000; local 353 timeout.tv_sec = static_cast<decltype(timeout.tv_sec)>(timeout_sec); 355 (timeout_ms - (timeout_sec * 1000)) * 1000);
|
/external/autotest/client/site_tests/desktopui_FlashSanityCheck/ |
desktopui_FlashSanityCheck.py | 155 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/server/site_tests/display_HDCPScreen/ |
display_HDCPScreen.py | 87 timeout_sec=self.TIMEOUT_HDCP_SWITCH)
|
/external/autotest/server/site_tests/firmware_FastbootErase/ |
firmware_FastbootErase.py | 56 utils.wait_for_value(self.is_recovery_mode, True, timeout_sec=timeout)
|
/external/autotest/client/site_tests/policy_PowerManagementIdleSettings/ |
policy_PowerManagementIdleSettings.py | 162 timeout_sec=timeout) 198 timeout_sec=timeout)
|
/external/autotest/client/site_tests/power_BacklightControl/ |
power_BacklightControl.py | 201 timeout_sec=30): 216 timeout_sec If stability has not been attained after 226 while time.time() - start_time < timeout_sec:
|
/external/autotest/server/site_tests/display_HotPlugAtSuspend/ |
display_HotPlugAtSuspend.py | 128 timeout_sec=self.TIMEOUT_WAITING_MIRRORED)):
|
/external/autotest/server/ |
subcommand.py | 253 _, result = retry.timeout(self.wait, timeout_sec=timeout)
|
site_crashcollect.py | 116 timeout_sec=600)
|
/external/autotest/server/cros/servo/ |
chrome_cr50.py | 575 timeout_sec=timeout) 585 timeout_sec=self.SHORT_WAIT) [all...] |
/external/wpa_supplicant_8/wpa_supplicant/ |
events.c | 2026 int timeout_sec = wpa_s->scan_interval; local [all...] |