Searched refs:timeout_secs (Results 1 – 14 of 14) sorted by relevance
/tools/acloud/internal/lib/ |
D | local_instance_lock.py | 57 def _Flock(self, timeout_secs): argument 71 if timeout_secs > 0: 72 wrapper = utils.TimeoutException(timeout_secs) 78 self._file_path, timeout_secs) 88 def Lock(self, timeout_secs=_DEFAULT_TIMEOUT_SECS): argument 112 successful = self._Flock(timeout_secs) 150 def LockIfNotInUse(self, timeout_secs=_DEFAULT_TIMEOUT_SECS): argument 160 if not self.Lock(timeout_secs):
|
D | local_instance_lock_test.py | 48 self.assertTrue(self._lock.LockIfNotInUse(timeout_secs=0)) 58 self.assertTrue(self._lock.Lock(timeout_secs=0)) 70 self.assertTrue(lock.Lock(timeout_secs=0)) 72 self.assertFalse(self._lock.Lock(timeout_secs=0)) 73 self.assertFalse(self._lock.LockIfNotInUse(timeout_secs=0)) 85 self.assertFalse(self._lock.Lock(timeout_secs=1)) 92 self.assertFalse(self._lock.LockIfNotInUse(timeout_secs=1))
|
D | emulator_console.py | 42 ssh_extra_args, timeout_secs=_DEFAULT_SOCKET_TIMEOUT_SECS): argument 59 self._timeout_secs = timeout_secs 74 (_LOCALHOST_IP_ADDRESS, self._local_port), timeout_secs) 75 self._socket.settimeout(timeout_secs)
|
D | utils.py | 276 def PollAndWait(func, expected_return, timeout_exception, timeout_secs, argument 302 if time.time() - start > timeout_secs: 1428 def TimeoutException(timeout_secs, timeout_error=_DEFAULT_TIMEOUT_ERR): argument 1439 timeout_error = timeout_error % timeout_secs 1448 signal.alarm(timeout_secs)
|
D | cvd_compute_client_multi_stage.py | 211 def _GetBootTimeout(self, timeout_secs): argument 222 boot_timeout_secs = timeout_secs - self._execution_time[constants.TIME_ARTIFACT]
|
D | android_compute_client.py | 384 timeout_secs=boot_timeout_secs,
|
D | cvd_utils.py | 776 timeout_secs=timeout,
|
D | gcompute_client.py | 198 timeout_secs=self.OPERATION_TIMEOUT_SECS,
|
D | gcompute_client_test.py | 174 timeout_secs=self.compute_client.OPERATION_TIMEOUT_SECS,
|
/tools/acloud/create/ |
D | goldfish_local_image_local_instance.py | 154 if ins_lock.LockIfNotInUse(timeout_secs=0): 561 timeout_secs=_EMU_KILL_TIMEOUT_SECS, 583 timeout_secs=timeout,
|
D | local_image_local_instance.py | 241 if ins_lock.LockIfNotInUse(timeout_secs=0):
|
/tools/test/connectivity/acts_tests/tests/google/wifi/ |
D | WifiNetworkRequestTest.py | 431 timeout_secs = NETWORK_REQUEST_TIMEOUT_MS * 2 / 1000 434 timeout_secs,
|
/tools/acloud/public/actions/ |
D | remote_host_gf_device_factory_test.py | 438 timeout_secs=1,
|
D | remote_host_gf_device_factory.py | 760 timeout_secs=poll_timeout_secs,
|