HomeSort by relevance Sort by last modified time
    Searched defs:retry (Results 1 - 25 of 210) sorted by null

1 2 3 4 5 6 7 8 9

  /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/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/autotest/tko/
db_mysql.py 4 from autotest_lib.client.common_lib.cros import retry namespace
7 @retry.retry(db._get_error_class("OperationalError"), timeout_min=2,
  /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
testcase.py 33 from tests.integration.gs.util import retry namespace
48 # Retry with an exponential backoff if a server error is received. This
50 @retry(GSResponseError)
  /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/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/util/
RetryAnalyzerCount.java 16 // Default retry once.
38 public boolean retry(ITestResult result) { method in class:RetryAnalyzerCount
  /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/
retry_unittest.py 7 """Unit tests for client/common_lib/cros/retry.py."""
15 from autotest_lib.client.common_lib.cros import retry namespace
20 """Unit tests for retry decorators.
34 @retry.retry(Exception)
44 """Tests that a wrapped function can retry and succeed."""
46 @retry.retry(Exception, delay_sec=delay_sec)
62 @retry.retry(Exception, delay_sec=delay_sec
    [all...]
  /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')
  /external/autotest/site_utils/rpm_control_system/
rpm_client.py 15 from autotest_lib.client.common_lib.cros import retry namespace
39 timeout, result = retry.timeout(client.queue_request,
  /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
  /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 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++;
  /external/autotest/client/cros/multimedia/
facade_resource.py 10 from autotest_lib.client.common_lib.cros import retry namespace
16 retry_chrome_call = retry.retry(
83 # Trigger retry_chrome_call to retry to retrieve the
  /external/autotest/server/cros/dynamic_suite/
frontend_wrappers.py 10 from autotest_lib.client.common_lib.cros import retry namespace
18 """Compute the number of retry attempts for use with chromite.retry_util.
24 @return: The number of retry attempts in the case of exponential backoff.
54 # exc_retry: We retry if this exception is raised.
79 # call. In that case, use a basic retry which does not enforce timeout
81 @retry.retry(Exception, timeout_min=self.timeout_min,
116 @retry.retry(Exception, timeout_min=self.timeout_min,
  /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(
  /device/linaro/hikey/gralloc/
gralloc_module.cpp 329 int retry; local
  /external/autotest/server/hosts/
rpc_server_tracker.py 14 from autotest_lib.client.common_lib.cros import retry namespace
147 # retry.retry logs each attempt; calculate delay_sec to
149 @retry.retry((socket.error,
  /external/autotest/server/
site_crashcollect.py 10 from autotest_lib.client.common_lib.cros import retry namespace
109 is_timeout, _ = retry.timeout(

Completed in 2153 milliseconds

1 2 3 4 5 6 7 8 9