Searched refs:retry (Results 1 - 14 of 14) 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/av/media/libaah_rtp/
H A Daah_tx_sender.cpp101 ALOGW("%s unable to start retry thread", __PRETTY_FUNCTION__);
119 ALOGW("%s shutdown of retry receiver failed", __PRETTY_FUNCTION__);
158 // trimming retry buffers and a message to start sending heartbeats.
237 // add the packet to the retry buffer
238 RetryBuffer& retry = eps->retry; local
239 retry.push_back(packet);
268 RetryBuffer& retry = eps->retry; local
270 while (!retry
434 RetryBuffer& retry = eps->retry; local
[all...]
H A Daah_tx_sender.h99 RetryBuffer retry; member in struct:android::AAH_TXSender::EndpointState
/frameworks/base/core/java/android/net/
H A DMobileDataStateTracker.java451 for (int retry = 0; retry < 2; retry++) {
460 if (retry == 0) getPhoneService(true);
531 for (int retry = 0; retry < 2; retry++) {
544 if (retry == 0) getPhoneService(true);
/frameworks/base/core/java/android/os/
H A DProcess.java385 /** retry interval for opening a zygote socket */
390 * already open, does nothing. May block and retry.
412 for (int retry = 0
413 ; (sZygoteSocket == null) && (retry < (retryCount + 1))
414 ; retry++ ) {
416 if (retry > 0) {
/frameworks/base/core/jni/
H A Dandroid_bluetooth_BluetoothSocket.cpp178 int retry = 0; local
238 if (ret && errno == EALREADY && retry < 2) {
240 * retry the connect. Unfortunately we have to create a new fd.
245 retry++;
254 if (!ret && retry > 0)
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
H A DConnectivityManagerTestActivity.java592 for (int retry = 0; retry < 5; retry++) {
600 log("retry: " + retry);
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/
H A DConnectionUtil.java567 for (int retry = 0; retry < 5; retry++) {
575 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/base/telephony/java/com/android/internal/telephony/
H A DDataConnection.java414 * The retry manager is currently owned by the DataConnectionTracker but is stored
422 * @return retry manager retryCount
429 * set retry manager retryCount
437 * @return retry manager retryTimer
444 * increaseRetryCount of retry manager
451 * @return retry manager isRetryNeeded
458 * resetRetryCount of retry manager
465 * set retryForeverUsingLasttimeout of retry manager
472 * @return retry manager isRetryForever
479 * @return whether the retry confi
[all...]
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/
H A DCdmaDataConnectionTracker.java536 boolean retry = true;
539 retry = false;
541 return retry;
548 * error and instead just continue to retry
726 if (DBG) log("No retry is suggested.");
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
H A DGsmDataConnectionTracker.java666 // retry. Reset ApnContext state to IDLE.
671 // update retry config for existing calls to match up
687 // Be sure retry counts for Apncontexts and DC's are sync'd.
1006 // TODO: Fix retry handling so free DataConnections have empty apnlists.
1007 // Probably move retry handling into DataConnections and reduce complexity
1104 // configure retry count if no other Apn is using the same connection.
1116 // fired so that we don't disruppt data retry pattern engaged.
1616 boolean retry = true;
1619 retry = false;
1621 return retry;
[all...]
/frameworks/native/services/surfaceflinger/
H A DSurfaceFlinger.cpp1439 int retry = 3;
1440 while (mStateLock.tryLock()<0 && --retry>=0) {
1443 const bool locked(retry >= 0);

Completed in 1897 milliseconds