Searched refs:retry (Results 1 - 11 of 11) sorted by relevance

/frameworks/support/volley/src/com/android/volley/
H A DRetryPolicy.java30 * 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
H A DDefaultRetryPolicy.java20 * 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.
80 * Prepares for the next retry by applying a backoff to the timeout.
84 public void retry(VolleyError error) throws VolleyError { method in class:DefaultRetryPolicy
/frameworks/compile/libbcc/lib/Support/
H A DFileBase.cpp119 unsigned retry = 0; local
159 retry++;
168 // it's retry-able.
171 // decrement the retry counter.
175 // retry.
176 retry++;
180 // without further retry.
184 } while (retry <= pMaxRetry);
/frameworks/base/core/java/android/net/
H A DMobileDataStateTracker.java465 for (int retry = 0; retry < 2; retry++) {
474 if (retry == 0) getPhoneService(true);
547 for (int retry = 0; retry < 2; retry++) {
560 if (retry == 0) getPhoneService(true);
/frameworks/base/core/java/android/os/
H A DProcess.java408 /** retry interval for opening a zygote socket */
413 * already open, does nothing. May block and retry.
435 for (int retry = 0
436 ; (sZygoteSocket == null) && (retry < (retryCount + 1))
437 ; retry++ ) {
439 if (retry > 0) {
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/
H A DConnectionUtil.java565 for (int retry = 0; retry < 5; retry++) {
573 Log.v(LOG_TAG, "Retry: " + retry);
/frameworks/support/volley/src/com/android/volley/toolbox/
H A DBasicNetwork.java160 * Attempts to prepare the request for a retry. If there are no more attempts remaining in the
161 * request's retry policy, a timeout exception is thrown.
170 retryPolicy.retry(exception);
176 request.addMarker(String.format("%s-retry [timeout=%s]", logPrefix, oldTimeout));
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DDataConnection.java434 * The retry manager is currently owned by the DataConnectionTracker but is stored
442 * @return retry manager retryCount
449 * set retry manager retryCount
457 * @return retry manager retryTimer
464 * increaseRetryCount of retry manager
471 * @return retry manager isRetryNeeded
478 * resetRetryCount of retry manager
485 * set retryForeverUsingLasttimeout of retry manager
492 * @return retry manager isRetryForever
499 * @return whether the retry confi
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
H A DCdmaDataConnectionTracker.java436 boolean retry = true;
439 retry = false;
441 return retry;
448 * error and instead just continue to retry
626 if (DBG) log("No retry is suggested.");
/frameworks/native/services/surfaceflinger/
H A DSurfaceFlinger.cpp2181 int retry = 3; local
2182 while (mStateLock.tryLock()<0 && --retry>=0) {
2185 const bool locked(retry >= 0);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DGsmDataConnectionTracker.java659 // retry. Reset ApnContext state to IDLE.
664 // update retry config for existing calls to match up
680 // Be sure retry counts for Apncontexts and DC's are sync'd.
1001 // TODO: Fix retry handling so free DataConnections have empty apnlists.
1002 // Probably move retry handling into DataConnections and reduce complexity
1099 // configure retry count if no other Apn is using the same connection.
1111 // fired so that we don't disruppt data retry pattern engaged.
1427 boolean retry = true;
1430 retry = false;
1432 return retry;
[all...]

Completed in 589 milliseconds