Searched refs:timeout_secs (Results 1 – 9 of 9) 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 110 successful = self._Flock(timeout_secs) 148 def LockIfNotInUse(self, timeout_secs=_DEFAULT_TIMEOUT_SECS): argument 158 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 | utils.py | 259 def PollAndWait(func, expected_return, timeout_exception, timeout_secs, argument 285 if time.time() - start > timeout_secs: 1277 def TimeoutException(timeout_secs, timeout_error=_DEFAULT_TIMEOUT_ERR): argument 1288 timeout_error = timeout_error % timeout_secs 1297 signal.alarm(timeout_secs)
|
D | android_compute_client.py | 383 timeout_secs=boot_timeout_secs,
|
D | gcompute_client.py | 200 timeout_secs=self.OPERATION_TIMEOUT_SECS,
|
D | gcompute_client_test.py | 175 timeout_secs=self.compute_client.OPERATION_TIMEOUT_SECS,
|
/tools/acloud/create/ |
D | goldfish_local_image_local_instance.py | 157 if ins_lock.LockIfNotInUse(timeout_secs=0): 538 timeout_secs=_EMU_KILL_TIMEOUT_SECS, 560 timeout_secs=timeout,
|
D | local_image_local_instance.py | 193 if ins_lock.LockIfNotInUse(timeout_secs=0):
|
/tools/test/connectivity/acts_tests/tests/google/wifi/ |
D | WifiNetworkRequestTest.py | 430 timeout_secs = NETWORK_REQUEST_TIMEOUT_MS * 2 / 1000 433 timeout_secs,
|