Home
last modified time | relevance | path

Searched refs:max_tries (Results 1 – 12 of 12) sorted by relevance

/external/libmojo/third_party/catapult/devil/devil/utils/
Dtimeout_retry.py72 def WaitFor(condition, wait_period=5, max_tries=None): argument
97 while max_tries is None or max_tries > 0:
99 if max_tries is not None:
100 max_tries -= 1
/external/chromium-trace/catapult/devil/devil/utils/
Dtimeout_retry.py74 def WaitFor(condition, wait_period=5, max_tries=None): argument
99 while max_tries is None or max_tries > 0:
101 if max_tries is not None:
102 max_tries -= 1
/external/eigen/test/
Dumeyama.cpp29 int max_tries = 40; in randMatrixUnitary() local
32 while (!is_unitary && max_tries > 0) in randMatrixUnitary()
64 --max_tries; in randMatrixUnitary()
67 if (max_tries == 0) in randMatrixUnitary()
/external/autotest/client/cros/cellular/
Dprologix_scpi_driver.py100 max_tries = 10
101 while max_tries > 0:
102 max_tries -= 1
/external/libmojo/third_party/catapult/devil/devil/android/sdk/
Dadb_compatibility_devicetest.py49 lambda: not _hostAdbPids(), wait_period=0.1, max_tries=10))
59 lambda: bool(_hostAdbPids()), wait_period=0.1, max_tries=10))
/external/libchrome/base/process/
Dprocess_iterator_mac.cc34 const int max_tries = 10; in ProcessIterator() local
65 } while (!done && (try_num++ < max_tries)); in ProcessIterator()
/external/chromium-trace/catapult/devil/devil/android/sdk/
Dadb_compatibility_devicetest.py68 lambda: not _hostAdbPids(), wait_period=0.1, max_tries=10))
78 lambda: bool(_hostAdbPids()), wait_period=0.1, max_tries=10))
/external/libmojo/third_party/catapult/devil/devil/android/tools/
Dvideo_recorder.py66 screenrecord_started, wait_period=1, max_tries=timeout)
/external/chromium-trace/catapult/devil/devil/android/tools/
Dvideo_recorder.py68 screenrecord_started, wait_period=1, max_tries=timeout)
Dprovision_devices.py481 _set_and_verify_date, wait_period=1, max_tries=2):
/external/libmojo/third_party/catapult/devil/devil/android/
Ddevice_utils.py185 if not timeout_retry.WaitFor(adb_killed, wait_period=1, max_tries=5):
189 if not timeout_retry.WaitFor(adb_started, wait_period=1, max_tries=5):
/external/chromium-trace/catapult/devil/devil/android/
Ddevice_utils.py219 if not timeout_retry.WaitFor(adb_killed, wait_period=1, max_tries=5):
223 if not timeout_retry.WaitFor(adb_started, wait_period=1, max_tries=5):