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

/frameworks/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.cpp139 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);
/frameworks/base/core/java/android/os/
H A DProcess.java406 /** retry interval for opening a zygote socket */
411 * already open, does nothing. May block and retry.
433 for (int retry = 0
434 ; (sZygoteSocket == null) && (retry < (retryCount + 1))
435 ; retry++ ) {
437 if (retry > 0) {
/frameworks/base/core/java/android/net/
H A DMobileDataStateTracker.java552 for (int retry = 0; retry < 2; retry++) {
561 if (retry == 0) getPhoneService(true);
691 for (int retry = 0; retry < 2; retry++) {
704 if (retry == 0) getPhoneService(true);
/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/opt/telephony/src/java/com/android/internal/telephony/sip/
H A DSipCommandInterface.java226 int retry, int messageRef, Message response) {
230 public void sendImsCdmaSms(byte[] pdu, int retry, int messageRef, argument
225 sendImsGsmSms(String smscPDU, String pdu, int retry, int messageRef, Message response) argument
/frameworks/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 DCommandsInterface.java1022 * @param retry indicates if this is a retry; 0 == not retry, nonzero = retry
1023 * @param messageRef valid field if retry is set to nonzero.
1027 void sendImsGsmSms (String smscPDU, String pdu, int retry, int messageRef, argument
1034 * @param retry indicates if this is a retry; 0 == not retry, nonzero = retry
1039 sendImsCdmaSms(byte[] pdu, int retry, int messageRef, Message response) argument
[all...]
H A DRIL.java494 + " times, continuing to retry silently");
1268 sendImsGsmSms (String smscPDU, String pdu, int retry, int messageRef, argument
1273 rr.mParcel.writeByte((byte)retry);
1284 sendImsCdmaSms(byte[] pdu, int retry, int messageRef, Message result) { argument
1288 rr.mParcel.writeByte((byte)retry);
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
H A DUsimDataDownloadCommands.java360 int retry, int messageRef, Message response) {
364 public void sendImsCdmaSms(byte[] pdu, int retry, int messageRef, argument
359 sendImsGsmSms(String smscPDU, String pdu, int retry, int messageRef, Message response) argument
/frameworks/native/libs/gui/
H A DBufferQueue.cpp647 retry:
673 goto retry;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/
H A DSimulatedCommands.java1671 public void sendImsCdmaSms(byte[] pdu, int retry, int messageRef, argument
1678 int retry, int messageRef, Message response){
1677 sendImsGsmSms(String smscPDU, String pdu, int retry, int messageRef, Message response) argument
/frameworks/native/services/surfaceflinger/
H A DSurfaceFlinger.cpp2314 int retry = 3; local
2315 while (mStateLock.tryLock()<0 && --retry>=0) {
2318 const bool locked(retry >= 0);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
H A DDcTracker.java991 // TODO: Fix retry handling so free DataConnections have empty apnlists.
992 // Probably move retry handling into DataConnections and reduce complexity
1194 boolean retry = true;
1197 retry = false;
1199 return retry;
1300 // connect (trySetup = true) to be sure we retry the connection.
1410 // TODO change our retry manager to use the appropriate numbers for the new APN
1759 // Radio will be turned off. No need to retry data setup

Completed in 355 milliseconds