Home
last modified time | relevance | path

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

/external/chromium-trace/catapult/devil/devil/utils/
Dtimeout_retry.py70 def WaitFor(condition, wait_period=5, max_tries=None): argument
95 while max_tries is None or max_tries > 0:
97 if max_tries is not None:
98 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/chromium-trace/catapult/devil/devil/android/sdk/
Dadb_compatibility_devicetest.py65 lambda: not _hostAdbPids(), wait_period=0.1, max_tries=10))
75 lambda: bool(_hostAdbPids()), wait_period=0.1, max_tries=10))
Dadb_wrapper.py147 if not timeout_retry.WaitFor(adb_killed, wait_period=1, max_tries=5):
152 if not timeout_retry.WaitFor(adb_started, wait_period=1, max_tries=5):
/external/OpenCL-CTS/test_conformance/basic/
Dtest_bufferreadwriterect.cpp385 size_t max_tries = 1048576; in test_bufferreadwriterect() local
391 …} while ((tries < max_tries) && (size_bytes = width[i]*height[i]*depth[i]*sizeof(BufferType)) > ma… in test_bufferreadwriterect()
394 if (tries >= max_tries) { in test_bufferreadwriterect()
396 max_mem_alloc_size, max_tries); in test_bufferreadwriterect()
/external/chromium-trace/catapult/devil/devil/android/
Dcpu_temperature.py144 timeout_retry.WaitFor(cool_cpu, wait_period=wait_period, max_tries=3)
Dcrash_handler_devicetest.py64 timeout_retry.WaitFor(ready_to_crash, wait_period=2, max_tries=10)
/external/chromium-trace/catapult/devil/devil/android/tools/
Dvideo_recorder.py68 screenrecord_started, wait_period=1, max_tries=timeout)
Dprovision_devices.py502 _set_and_verify_date, wait_period=1, max_tries=2):
/external/wpa_supplicant_8/src/ap/
Ddpp_hostapd.c186 unsigned int wait_time, max_tries; in hostapd_dpp_auth_resp_retry() local
192 max_tries = hapd->dpp_resp_max_tries; in hostapd_dpp_auth_resp_retry()
194 max_tries = 5; in hostapd_dpp_auth_resp_retry()
196 if (auth->auth_resp_tries >= max_tries) { in hostapd_dpp_auth_resp_retry()
447 unsigned int wait_time, max_wait_time, freq, max_tries, used; in hostapd_dpp_auth_init_next() local
459 max_tries = hapd->dpp_init_max_tries; in hostapd_dpp_auth_init_next()
461 max_tries = 5; in hostapd_dpp_auth_init_next()
462 if (auth->num_freq_iters >= max_tries || auth->auth_req_ack) { in hostapd_dpp_auth_init_next()
/external/wpa_supplicant_8/wpa_supplicant/
Ddpp_supplicant.c215 unsigned int wait_time, max_tries; in wpas_dpp_auth_resp_retry() local
221 max_tries = wpa_s->dpp_resp_max_tries; in wpas_dpp_auth_resp_retry()
223 max_tries = 5; in wpas_dpp_auth_resp_retry()
225 if (auth->auth_resp_tries >= max_tries) { in wpas_dpp_auth_resp_retry()
663 unsigned int wait_time, max_wait_time, freq, max_tries, used; in wpas_dpp_auth_init_next() local
676 max_tries = wpa_s->dpp_init_max_tries; in wpas_dpp_auth_init_next()
678 max_tries = 5; in wpas_dpp_auth_init_next()
679 if (auth->num_freq_iters >= max_tries || auth->auth_req_ack) { in wpas_dpp_auth_init_next()