/cts/hostsidetests/theme/ |
generate_images.sh | 19 # retry <command> <tries> <message> <delay> 20 function retry { function 21 RETRY="0" 23 if (("$RETRY" >= "$2")); then 36 RETRY=$[$RETRY + 1]
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/retry-decorator/retry_decorator/ |
retry_decorator.py | 11 def retry(ExceptionToCheck, tries=10, timeout_secs=1.0, logger=None): function 13 Retry calling the decorated function using an exponential backoff.
|
/external/testng/src/main/java/org/testng/ |
IRetryAnalyzer.java | 4 * Interface to implement to be able to have a chance to retry a failed test. 17 public boolean retry(ITestResult result); method in interface:IRetryAnalyzer
|
/external/testng/src/test/java/test/tmp/ |
RetryAnalyzer.java | 9 public boolean retry(ITestResult result) { method in class:RetryAnalyzer 10 System.out.println("retry()");
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/integration/gs/ |
util.py | 43 def retry(ExceptionToCheck, tries=4, delay=3, backoff=2, logger=None): function 44 """Retry calling the decorated function using an exponential backoff. 47 https://github.com/saltycrane/retry-decorator 49 https://github.com/saltycrane/retry-decorator/blob/master/LICENSE 54 :param tries: number of times to try (not retry) before giving up 59 each retry
|
/external/autotest/server/site_tests/network_WiFi_RoamDbus/ |
network_WiFi_RoamDbus.py | 41 def retry(self, func, reason, timeout_seconds=TIMEOUT_SECONDS): member in class:network_WiFi_RoamDbus 43 Retry a function until it returns true or we time out. 85 self.retry(lambda: self.dut_sees_bss(bssid1), 'DUT to see second AP')
|
/frameworks/volley/src/main/java/com/android/volley/ |
RetryPolicy.java | 20 * Retry policy for a request. 30 * Returns the current retry count (used for logging). 35 * Prepares for the next retry by applying a backoff to the timeout. 37 * @throws VolleyError In the event that the retry could not be performed (for example if we 40 public void retry(VolleyError error) throws VolleyError; method in interface:RetryPolicy
|
DefaultRetryPolicy.java | 20 * Default retry policy for requests. 26 /** The current retry count. */ 45 * Constructs a new retry policy using the default timeouts. 52 * Constructs a new retry policy. 72 * Returns the current retry count. 87 * Prepares for the next retry by applying a backoff to the timeout. 91 public void retry(VolleyError error) throws VolleyError { method in class:DefaultRetryPolicy
|
/external/autotest/client/common_lib/cros/ |
retry.py | 114 def retry(ExceptionToCheck, timeout_min=1.0, delay_sec=3, blacklist=None): function 115 """Retry calling the decorated function using a delay with jitter. 121 If the retry is done in a child thread, timeout may not be enforced as 122 signal only works in main thread. Therefore, the retry inside a child 126 http://www.saltycrane.com/blog/2009/11/trying-out-retry-decorator-python/
|
/external/autotest/server/site_tests/network_WiFi_PMKSACaching/ |
network_WiFi_PMKSACaching.py | 40 def retry(self, func, reason, timeout_seconds=TIMEOUT_SECONDS): member in class:network_WiFi_PMKSACaching 42 Retry a function until it returns true or we time out. 87 self.retry(lambda: self.dut_sees_bss(bssid1), 'DUT to see second AP') 99 self.retry(lambda: pinger.simple_ping(
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/mws/ |
exception.py | 38 retry = False variable in class:ResponseError 48 self.retry and '(Retriable)' or '', doc) 52 retry = True variable in class:RetriableResponseError
|
/external/testng/src/main/java/org/testng/util/ |
RetryAnalyzerCount.java | 16 // Default retry once.
38 public boolean retry(ITestResult result) {
method in class:RetryAnalyzerCount
|
/hardware/qcom/bt/msm8909/libbt-vendor/src/ |
hci_smd.c | 60 int retry = 0; local 69 while ((-1 == fd) && (retry < 7)) { 70 ALOGE("init_transport: Cannot open %s: %s\n. Retry after 2 seconds", 74 retry++;
|
/hardware/qcom/bt/msm8960/libbt-vendor/src/ |
userial_vendor.c | 86 int retry = 0; local 93 while ((-1 == fd) && (retry < 7)) { 94 ALOGE("init_transport: Cannot open %s: %s\n. Retry after 2 seconds", 98 retry++;
|
/hardware/qcom/bt/msm8992/libbt-vendor/src/ |
hci_smd.c | 59 int retry = 0; local 68 while ((-1 == fd) && (retry < 7)) { 69 ALOGE("init_transport: Cannot open %s: %s\n. Retry after 2 seconds", 73 retry++;
|
/hardware/qcom/bt/msm8996/libbt-vendor/src/ |
hci_smd.c | 62 int retry = 0; local 71 while ((-1 == fd) && (retry < 7)) { 72 ALOGE("init_transport: Cannot open %s: %s\n. Retry after 2 seconds", 76 retry++;
|
/device/linaro/hikey/gralloc/ |
gralloc_module.cpp | 329 int retry; local
|
/external/fio/ |
filelock.c | 52 static struct fio_filelock *get_filelock(int trylock, int *retry) 64 *retry = 1; 139 int retry = 0; local 141 ff = get_filelock(trylock, &retry); 150 if (retry) {
|
/frameworks/compile/libbcc/lib/Support/ |
FileBase.cpp | 139 unsigned retry = 0; local 179 retry++; 188 // it's retry-able. 191 // decrement the retry counter. 195 // retry. 196 retry++; 200 // without further retry. 204 } while (retry <= pMaxRetry);
|
/libcore/luni/src/main/java/java/util/concurrent/ |
ConcurrentMap.java | 242 * The default implementation may retry these steps when multiple 390 retry: for (;;) { 406 continue retry; local 452 retry: for (;;) { 464 continue retry; local
|
/libcore/ojluni/src/main/native/ |
DatagramChannelImpl.c | 140 jboolean retry = JNI_FALSE; local 151 retry = JNI_FALSE; 162 retry = JNI_TRUE; 172 } while (retry == JNI_TRUE);
|
/external/ims/rcs/presencepolling/src/com/android/service/ims/presence/ |
PollingAction.java | 190 mPollingTask.retry();
|
/external/testng/src/test/java/test/retryAnalyzer/ |
InvocationCountTest.java | 115 public boolean retry(ITestResult result) {
method in class:InvocationCountTest 124 public boolean retry(ITestResult result) {
method in class:InvocationCountTest.ThreeRetries
|
/external/wpa_supplicant_8/src/wps/ |
wps_upnp_event.c | 52 unsigned int retry; /* which retry */ member in struct:wps_event_ 60 * Leaves data, retry count etc. alone. 122 wpa_printf(MSG_DEBUG, "WPS UPnP: Retry event %p for subscription %p", 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)
|
/packages/services/Car/tests/carservice_test/src/com/android/support/car/test/ |
CarPackageManagerTest.java | 145 int retry = 0; local 147 while (!checked && (retry < maxRetry)) { 149 retry++;
|