/external/volley/src/test/java/com/android/volley/toolbox/ |
H A D | BasicNetworkTest.java | 165 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 D | tftp.c | 219 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 D | hb-shape.cc | 71 retry: 91 goto retry;
|
H A D | hb-shaper.cc | 55 retry: 102 goto retry;
|
H A D | hb-shaper-private.hh | 97 retry: \ 106 goto retry; \ 117 goto retry; \
|
/external/autotest/client/cros/multimedia/ |
H A D | facade_resource.py | 13 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 D | frontend_wrappers.py | 13 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 D | filelock.c | 52 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 D | teststation_host.py | 14 from autotest_lib.client.common_lib.cros import retry namespace 138 @retry.retry(error.GenericHostRunError, timeout_min=10)
|
H A D | rpc_server_tracker.py | 15 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 D | svga_resource_buffer.h | 262 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 D | svga_pipe_draw.c | 69 goto retry; 85 goto retry; 89 retry: 121 goto retry; 134 goto retry; 138 retry:
|
/external/autotest/site_utils/ |
H A D | pubsub_utils_unittest.py | 26 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 D | vmw_surface.c | 41 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 D | vmw_surface.h | 92 unsigned flags, boolean *retry);
|
/external/syslinux/gpxe/src/include/gpxe/ |
H A D | ib_cm.h | 13 #include <gpxe/retry.h>
|
/external/autotest/site_utils/rpm_control_system/ |
H A D | rpm_client.py | 15 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 D | posix_fadvise02.c | 154 retry: 159 goto retry;
|
/external/wpa_supplicant_8/hostapd/src/wps/ |
H A D | wps_upnp_event.c | 52 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 D | wps_upnp_event.c | 52 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 D | wps_upnp_event.c | 52 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 D | remote_facade_factory.py | 17 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 D | subprocess.cc | 239 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 D | goofy_client.py | 16 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 D | network_WiFi_PMKSACaching.py | 40 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(
|