Home
last modified time | relevance | path

Searched refs:retry (Results 1 – 25 of 3475) sorted by relevance

12345678910>>...139

/external/autotest/client/common_lib/cros/
Dretry_unittest.py18 from autotest_lib.client.common_lib.cros import retry
45 @retry.retry(Exception)
56 @retry.retry(Exception, delay_sec=delay_sec)
69 @retry.retry(Exception, delay_sec=delay_sec)
77 @retry.retry(Exception)
90 @retry.retry(Exception, timeout_min=0.02, delay_sec=0.1)
99 @retry.retry(Exception, timeout_min=0.02, delay_sec=0.1)
113 @retry.retry(Exception, timeout_min=0.05, delay_sec=0.1)
138 @retry.retry(Exception, timeout_min=0.06, delay_sec=0.1)
/external/arm-trusted-firmware/plat/mediatek/common/drivers/pmic_wrap/
Dpmic_wrap_init_v2.c22 uint32_t reg_rdata = 0U, retry; in pwrap_check_idle() local
24 retry = (timeout_us + WAIT_IDLE_POLLING_DELAY_US) / in pwrap_check_idle()
26 while (retry != 0) { in pwrap_check_idle()
32 retry--; in pwrap_check_idle()
35 if (retry == 0) { in pwrap_check_idle()
45 uint32_t reg_rdata = 0U, retry; in pwrap_check_vldclr() local
47 retry = (timeout_us + READ_POLLING_DELAY_US) / READ_POLLING_DELAY_US; in pwrap_check_vldclr()
48 while (retry != 0) { in pwrap_check_vldclr()
54 retry--; in pwrap_check_vldclr()
57 if (retry == 0) { in pwrap_check_vldclr()
Dpmic_wrap_init.c25 uint32_t retry; in wait_for_state_idle() local
27 retry = (timeout_us + WAIT_IDLE_POLLING_DELAY_US) / in wait_for_state_idle()
55 retry--; in wait_for_state_idle()
56 } while (retry); in wait_for_state_idle()
59 if (!retry) /* timeout */ in wait_for_state_idle()
72 uint32_t retry; in wait_for_state_ready() local
74 retry = (timeout_us + READ_POLLING_DELAY_US) / READ_POLLING_DELAY_US; in wait_for_state_ready()
84 retry--; in wait_for_state_ready()
85 } while (retry); in wait_for_state_ready()
87 if (!retry) { /* timeout */ in wait_for_state_ready()
/external/autotest/server/cros/power/
Dservo_charger.py17 from autotest_lib.client.common_lib.cros import retry
99 for retry in range(_RETRYS):
102 return retry
104 if retry < _RETRYS - 1:
109 'recover.', role, retry + 1, str(e),
161 @retry.retry(error.TestError, timeout_min=_TIMEOUT_MIN,
172 @retry.retry(error.TestError, timeout_min=_TIMEOUT_MIN,
193 @retry.retry(error.TestError, timeout_min=_ETH_REENUMERATE_TIMEOUT_MIN,
/external/llvm-project/llvm/test/CodeGen/PowerPC/
Dctrloop-reg.ll50 br i1 undef, label %retry.us, label %retry
52 retry.us: ; preds = %if.end18, %retry, %retry, %retry, %ret…
55 retry: ; preds = %if.end18, %entry
59 i32 -3, label %retry.us
60 i32 -5, label %retry.us
61 i32 -16, label %retry.us
62 i32 -25, label %retry.us
65 if.end18: ; preds = %retry
66 br i1 false, label %retry.us, label %retry
/external/llvm/test/CodeGen/PowerPC/
Dctrloop-reg.ll50 br i1 undef, label %retry.us, label %retry
52 retry.us: ; preds = %if.end18, %retry, %retry, %retry, %ret…
55 retry: ; preds = %if.end18, %entry
59 i32 -3, label %retry.us
60 i32 -5, label %retry.us
61 i32 -16, label %retry.us
62 i32 -25, label %retry.us
65 if.end18: ; preds = %retry
66 br i1 false, label %retry.us, label %retry
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/
DConnectionSpecSelectorTest.java51 boolean retry = connectionSpecSelector.connectionFailed( in nonRetryableIOException()
53 assertFalse(retry); in nonRetryableIOException()
67 boolean retry = connectionSpecSelector.connectionFailed(trustIssueException); in nonRetryableSSLHandshakeException()
68 assertFalse(retry); in nonRetryableSSLHandshakeException()
79 boolean retry = connectionSpecSelector.connectionFailed(RETRYABLE_EXCEPTION); in retryableSSLHandshakeException()
80 assertTrue(retry); in retryableSSLHandshakeException()
101 boolean retry = connectionSpecSelector.connectionFailed(RETRYABLE_EXCEPTION); in someFallbacksSupported()
102 assertTrue(retry); in someFallbacksSupported()
110 retry = connectionSpecSelector.connectionFailed(RETRYABLE_EXCEPTION); in someFallbacksSupported()
111 assertFalse(retry); in someFallbacksSupported()
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/flow/operators/
DRetryTest.kt38 assertEquals(4, flow.retry(4).sum()) in <lambda>()
42 assertFailsWith<TestException>(flow.retry(2)) in <lambda>()
53 assertEquals(2, flow.retry(1) { it is TestException }.sum()) in <lambda>()
55 assertFailsWith<TestException>(flow.retry(1) { it !is TestException }) in <lambda>()
63 }.retry(42).map { in <lambda>()
85 }.retry(1) in <lambda>()
95 }.retry() in <lambda>()
/external/curl/tests/libtest/
Dlib1594.c32 curl_off_t retry; in test() local
46 res = curl_easy_getinfo(curl, CURLINFO_RETRY_AFTER, &retry); in test()
53 retry += time(NULL); in test()
54 retry /= 10000; in test()
56 printf("Retry-After: %" CURL_FORMAT_CURL_OFF_T "\n", retry); in test()
/external/volley/src/test/java/com/android/volley/toolbox/
DBasicNetworkTest.java169 doThrow(new VolleyError()).when(mMockRetryPolicy).retry(any(VolleyError.class)); in socketTimeout()
176 verify(mMockRetryPolicy).retry(any(TimeoutError.class)); in socketTimeout()
186 doThrow(new VolleyError()).when(mMockRetryPolicy).retry(any(VolleyError.class)); in noConnectionDefault()
193 verify(mMockRetryPolicy, never()).retry(any(VolleyError.class)); in noConnectionDefault()
204 doThrow(new VolleyError()).when(mMockRetryPolicy).retry(any(VolleyError.class)); in noConnectionRetry()
211 verify(mMockRetryPolicy).retry(any(NoConnectionError.class)); in noConnectionRetry()
223 doThrow(new VolleyError()).when(mMockRetryPolicy).retry(any(VolleyError.class)); in noConnectionNoRetry()
230 verify(mMockRetryPolicy, never()).retry(any(VolleyError.class)); in noConnectionNoRetry()
241 doThrow(new VolleyError()).when(mMockRetryPolicy).retry(any(VolleyError.class)); in unauthorized()
248 verify(mMockRetryPolicy).retry(any(AuthFailureError.class)); in unauthorized()
[all …]
DBasicAsyncNetworkTest.java207 doThrow(new VolleyError()).when(mMockRetryPolicy).retry(any(VolleyError.class)); in socketTimeout()
212 verify(mMockRetryPolicy).retry(any(TimeoutError.class)); in socketTimeout()
224 doThrow(new VolleyError()).when(mMockRetryPolicy).retry(any(VolleyError.class)); in noConnectionDefault()
229 verify(mMockRetryPolicy, never()).retry(any(VolleyError.class)); in noConnectionDefault()
242 doThrow(new VolleyError()).when(mMockRetryPolicy).retry(any(VolleyError.class)); in noConnectionRetry()
247 verify(mMockRetryPolicy).retry(any(NoConnectionError.class)); in noConnectionRetry()
260 doThrow(new VolleyError()).when(mMockRetryPolicy).retry(any(VolleyError.class)); in noConnectionNoRetry()
265 verify(mMockRetryPolicy, never()).retry(any(VolleyError.class)); in noConnectionNoRetry()
278 doThrow(new VolleyError()).when(mMockRetryPolicy).retry(any(VolleyError.class)); in unauthorized()
283 verify(mMockRetryPolicy).retry(any(AuthFailureError.class)); in unauthorized()
[all …]
/external/chromium-trace/catapult/third_party/pyserial/serial/
Dsermsdos.py90 retry = RETURN_RETRY argument
115 self.retry = retry
119 self.bytesize, self.stop, self.retry, self.filename)
127 def _config(self, port, baud, parity, data, stop, retry, argument
132 retry, " > ", filename ), '')
137 self.parity, self.bytesize, self.stop, self.retry,
196 self.retry , self.filename), ' ')
/external/curl/docs/cmdline-opts/
Dretry.d1 Long: retry
8 will retry this number of times before giving up. Setting the number to 0
12 When curl is about to retry a transfer, it will first wait one second and then
15 using --retry-delay you disable this exponential backoff algorithm. See also
16 --retry-max-time to limit the total time allowed for retries.
19 one was present to know when to issue the next retry.
Dretry-connrefused.d1 Long: retry-connrefused
2 Help: Retry on connection refused (use with --retry)
7 error too for --retry. This option is used together with --retry.
/external/toybox/toys/pending/
Dtftp.c219 int packetlen, retry; in read_ack() local
221 for (retry = 0; retry < TFTP_RETRIES; retry++) { in read_ack()
272 int len, sd, fd, retry, nbytesrecvd = 0, ndatabytes, ret, result = -1; in file_get() local
290 for (retry = 0 ; retry < TFTP_RETRIES; retry++) { in file_get()
302 retry--; in file_get()
314 retry--; in file_get()
356 if (retry == TFTP_RETRIES) { in file_get()
388 int packetlen, sd, fd, retry = 0, ret, result = -1; in file_put() local
399 if (++retry > TFTP_RETRIES) { in file_put()
416 retry = 0; in file_put()
[all …]
/external/autotest/server/site_tests/firmware_ECBootTime/
Dfirmware_ECBootTime.py69 retry = 10
70 while retry > 0:
71 retry = retry - 1
78 "%d more attempts", retry)
79 if retry == 0:
/external/curl/tests/data/
Dtest12694 --retry-delay
20 too large --retry-delay value
23 --retry 3 --retry-delay 9223372036854776 http://%HOSTIP:%NOLISTENPORT/1269
Dtest19096 retry
36 HTTP GET --retry-all-errors to overcome partial transfer
39 --retry 1 --retry-all-errors -o log/outfile1909 http://%HOSTIP:%HTTPPORT/1909
/external/autotest/site_utils/lxc/
Dlxc.py13 from autotest_lib.client.common_lib.cros import retry
81 @retry.retry((error.CmdError),
93 @retry.retry((error.CmdError),
157 @retry.retry(error.CmdError, timeout_min=30)
/external/autotest/server/cros/tradefed/
Dgenerate_controlfiles_common.py412 retry = -1
415 retry = CONFIG['PUBLIC_MODULE_RETRY_COUNT'][_ALL]
420 retry = max(retry, CONFIG['PUBLIC_MODULE_RETRY_COUNT'][module])
425 retry = max(retry, CONFIG['CTS_MAX_RETRIES'][module])
430 retry = 3
432 if retry == -1 and 'suite:bvt-perbuild' in suites:
433 retry = 3
438 retry = max(retry, CONFIG['CTS_QUAL_RETRIES'])
441 retry = 0
443 if retry >= 0:
[all …]
/external/igt-gpu-tools/tests/i915/
Dgem_reg_read.c130 bool retry = true; in test_timestamp_monotonic() local
135 retry: in test_timestamp_monotonic()
137 if (second_val < first_val && retry) { in test_timestamp_monotonic()
139 retry = false; in test_timestamp_monotonic()
141 goto retry; in test_timestamp_monotonic()
/external/llvm-project/clang/lib/Headers/
Dhtmintrin.h176 #define __builtin_tbegin_retry(tdb, retry) \ argument
178 __builtin_tbegin_retry_null(retry) : \
179 __builtin_tbegin_retry_tdb(tdb, retry))
205 #define __builtin_tbegin_retry_nofloat(tdb, retry) \ argument
207 __builtin_tbegin_retry_nofloat_null(retry) : \
208 __builtin_tbegin_retry_nofloat_tdb(tdb, retry))
/external/clang/lib/Headers/
Dhtmintrin.h190 #define __builtin_tbegin_retry(tdb, retry) \ argument
192 __builtin_tbegin_retry_null(retry) : \
193 __builtin_tbegin_retry_tdb(tdb, retry))
219 #define __builtin_tbegin_retry_nofloat(tdb, retry) \ argument
221 __builtin_tbegin_retry_nofloat_null(retry) : \
222 __builtin_tbegin_retry_nofloat_tdb(tdb, retry))
/external/autotest/site_utils/
Dtest_push_unittest.py14 from autotest_lib.client.common_lib.cros import retry
19 retry.retry = mock.create_autospec(retry.retry, return_value=lambda func: func)
/external/autotest/server/hosts/
Dcros_repair_unittest.py13 from autotest_lib.client.common_lib.cros import retry
435 @mock.patch.object(retry.logging, 'warning')
436 @mock.patch.object(retry.time, 'time')
437 @mock.patch.object(retry.time, 'sleep')
447 @mock.patch.object(retry.logging, 'warning')
448 @mock.patch.object(retry.time, 'time')
449 @mock.patch.object(retry.time, 'sleep')
462 @mock.patch.object(retry.logging, 'warning')
463 @mock.patch.object(retry.time, 'time')
464 @mock.patch.object(retry.time, 'sleep')

12345678910>>...139