Searched refs:retry (Results 26 - 50 of 274) sorted by relevance

1234567891011

/external/volley/src/test/java/com/android/volley/toolbox/
H A DBasicNetworkTest.java165 doThrow(new VolleyError()).when(mMockRetryPolicy).retry(any(VolleyError.class));
171 // should retry socket timeouts
172 verify(mMockRetryPolicy).retry(any(TimeoutError.class));
181 doThrow(new VolleyError()).when(mMockRetryPolicy).retry(any(VolleyError.class));
187 // should not retry when there is no connection
188 verify(mMockRetryPolicy, never()).retry(any(VolleyError.class));
198 doThrow(new VolleyError()).when(mMockRetryPolicy).retry(any(VolleyError.class));
204 // should retry in case it's an auth failure.
205 verify(mMockRetryPolicy).retry(any(AuthFailureError.class));
215 doThrow(new VolleyError()).when(mMockRetryPolicy).retry(an
[all...]
/external/toybox/toys/pending/
H A Dtftp.c219 int packetlen, retry; local
221 for (retry = 0; retry < TFTP_RETRIES; retry++) {
272 int len, sd, fd, retry, nbytesrecvd = 0, ndatabytes, ret, result = -1; local
290 for (retry = 0 ; retry < TFTP_RETRIES; retry++) {
302 retry--;
314 retry
380 int packetlen, sd, fd, retry = 0, ret, result = -1; local
[all...]
/external/harfbuzz_ng/src/
H A Dhb-shape.cc71 retry:
91 goto retry;
H A Dhb-shaper.cc55 retry:
102 goto retry;
H A Dhb-shaper-private.hh97 retry: \
106 goto retry; \
117 goto retry; \
/external/autotest/client/cros/multimedia/
H A Dfacade_resource.py13 from autotest_lib.client.common_lib.cros import retry namespace
21 retry_chrome_call = retry.retry(
37 retry_start_chrome = retry.retry(
212 # Trigger retry_chrome_call to retry to retrieve the
/external/autotest/server/cros/dynamic_suite/
H A Dfrontend_wrappers.py13 from autotest_lib.client.common_lib.cros import retry namespace
32 """Compute the number of retry attempts for use with chromite.retry_util.
38 @return: The number of retry attempts in the case of exponential backoff.
84 # exc_retry: We retry if this exception is raised.
109 # call. In that case, use a basic retry which does not enforce timeout
111 @retry.retry(Exception, timeout_min=self.timeout_min,
167 @retry.retry(Exception, timeout_min=self.timeout_min,
/external/fio/
H A Dfilelock.c52 static struct fio_filelock *get_filelock(int trylock, int *retry) argument
64 *retry = 1;
139 int retry = 0; local
141 ff = get_filelock(trylock, &retry);
150 if (retry) {
/external/autotest/server/hosts/
H A Dteststation_host.py14 from autotest_lib.client.common_lib.cros import retry namespace
138 @retry.retry(error.GenericHostRunError, timeout_min=10)
H A Drpc_server_tracker.py15 from autotest_lib.client.common_lib.cros import retry namespace
183 # retry.retry logs each attempt; calculate delay_sec to
185 @retry.retry((socket.error,
/external/mesa3d/src/gallium/drivers/svga/
H A Dsvga_resource_buffer.h262 unsigned flags, boolean *retry)
269 return svga->swc->surface_map(svga->swc, sbuf->handle, flags, retry);
271 *retry = FALSE;
293 /* flush and retry */
260 svga_buffer_hw_storage_map(struct svga_context *svga, struct svga_buffer *sbuf, unsigned flags, boolean *retry) argument
H A Dsvga_pipe_draw.c69 goto retry;
85 goto retry;
89 retry:
121 goto retry;
134 goto retry;
138 retry:
/external/autotest/site_utils/
H A Dpubsub_utils_unittest.py26 def __init__(self, test, topic, msg, retry, ret_val=None,
31 self.retry = retry
58 self.test.assertEquals(self.retry, num_retries)
/external/mesa3d/src/gallium/winsys/svga/drm/
H A Dvmw_surface.c41 unsigned flags, boolean *retry)
49 *retry = FALSE;
88 *retry = TRUE;
142 *retry = TRUE;
39 vmw_svga_winsys_surface_map(struct svga_winsys_context *swc, struct svga_winsys_surface *srf, unsigned flags, boolean *retry) argument
H A Dvmw_surface.h92 unsigned flags, boolean *retry);
/external/syslinux/gpxe/src/include/gpxe/
H A Dib_cm.h13 #include <gpxe/retry.h>
/external/autotest/site_utils/rpm_control_system/
H A Drpm_client.py15 from autotest_lib.client.common_lib.cros import retry namespace
39 timeout, result = retry.timeout(client.queue_request,
/external/ltp/testcases/kernel/syscalls/fadvise/
H A Dposix_fadvise02.c154 retry:
159 goto retry;
/external/wpa_supplicant_8/hostapd/src/wps/
H A Dwps_upnp_event.c52 unsigned int retry; /* which retry */ member in struct:wps_event_
60 * Leaves data, retry count etc. alone.
128 e->retry++;
129 wpa_printf(MSG_DEBUG, "WPS UPnP: Try address %d", e->retry);
131 if (e->retry >= dl_list_len(&s->addr_list)) {
289 if (itry++ == e->retry)
291 if (itry < e->retry)
/external/wpa_supplicant_8/src/wps/
H A Dwps_upnp_event.c52 unsigned int retry; /* which retry */ member in struct:wps_event_
60 * Leaves data, retry count etc. alone.
128 e->retry++;
129 wpa_printf(MSG_DEBUG, "WPS UPnP: Try address %d", e->retry);
131 if (e->retry >= dl_list_len(&s->addr_list)) {
289 if (itry++ == e->retry)
291 if (itry < e->retry)
/external/wpa_supplicant_8/wpa_supplicant/src/wps/
H A Dwps_upnp_event.c52 unsigned int retry; /* which retry */ member in struct:wps_event_
60 * Leaves data, retry count etc. alone.
128 e->retry++;
129 wpa_printf(MSG_DEBUG, "WPS UPnP: Try address %d", e->retry);
131 if (e->retry >= dl_list_len(&s->addr_list)) {
289 if (itry++ == e->retry)
291 if (itry < e->retry)
/external/autotest/server/cros/multimedia/
H A Dremote_facade_factory.py17 from autotest_lib.client.common_lib.cros import retry namespace
93 self._start_chrome(reconnect=False, retry=True,
179 reconnect=True, retry=False,
218 error.TimeoutException will be raised by retry.retry
222 @retry.retry((socket.error,
251 def _start_chrome(self, reconnect, retry=False, extra_browser_args=None):
255 @param retry: True to retry usin
[all...]
/external/tensorflow/tensorflow/core/platform/posix/
H A Dsubprocess.cc239 if (!retry(errno)) {
254 if (!retry(errno)) {
260 if (!retry(errno)) {
300 if ((cpid < 0) && !retry(errno)) {
409 if ((n < 0) && !retry(errno)) {
426 } else if ((n == 0) || !retry(errno)) {
445 } else if (!retry(errno)) {
/external/autotest/server/cros/
H A Dgoofy_client.py16 from autotest_lib.client.common_lib.cros import retry namespace
40 retry.retry decorator hits it's timeout.
48 want to retry the call after recreating the proxy.
51 the retry decorator. Any of these exceptions will result
54 retry the method ignoring any exception in exception_tuple.
57 """Inner retry decorator applied to the method.
61 @return A wrapper function that implements the retry.
64 @retry.retry(exception_tupl
[all...]
/external/autotest/server/site_tests/network_WiFi_PMKSACaching/
H A Dnetwork_WiFi_PMKSACaching.py40 def retry(self, func, reason, timeout_seconds=TIMEOUT_SECONDS): member in class:network_WiFi_PMKSACaching
87 self.retry(lambda: self.dut_sees_bss(bssid1), 'DUT to see second AP')
99 self.retry(lambda: pinger.simple_ping(

Completed in 1037 milliseconds

1234567891011