Home
last modified time | relevance | path

Searched refs:timeout_secs (Results 1 – 14 of 14) sorted by relevance

/tools/acloud/internal/lib/
Dlocal_instance_lock.py57 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):
Dlocal_instance_lock_test.py48 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))
Demulator_console.py42 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)
Dutils.py276 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)
Dcvd_compute_client_multi_stage.py211 def _GetBootTimeout(self, timeout_secs): argument
222 boot_timeout_secs = timeout_secs - self._execution_time[constants.TIME_ARTIFACT]
Dandroid_compute_client.py384 timeout_secs=boot_timeout_secs,
Dcvd_utils.py776 timeout_secs=timeout,
Dgcompute_client.py198 timeout_secs=self.OPERATION_TIMEOUT_SECS,
Dgcompute_client_test.py174 timeout_secs=self.compute_client.OPERATION_TIMEOUT_SECS,
/tools/acloud/create/
Dgoldfish_local_image_local_instance.py154 if ins_lock.LockIfNotInUse(timeout_secs=0):
561 timeout_secs=_EMU_KILL_TIMEOUT_SECS,
583 timeout_secs=timeout,
Dlocal_image_local_instance.py241 if ins_lock.LockIfNotInUse(timeout_secs=0):
/tools/test/connectivity/acts_tests/tests/google/wifi/
DWifiNetworkRequestTest.py431 timeout_secs = NETWORK_REQUEST_TIMEOUT_MS * 2 / 1000
434 timeout_secs,
/tools/acloud/public/actions/
Dremote_host_gf_device_factory_test.py438 timeout_secs=1,
Dremote_host_gf_device_factory.py760 timeout_secs=poll_timeout_secs,