Searched refs:retry (Results 1 - 17 of 17) 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/opt/bluetooth/src/android/bluetooth/client/map/
H A DBluetoothMasRequestPushMessage.java44 boolean transparent, boolean retry) {
49 oap.add(OAP_TAGID_RETRY, retry ? RETRY_ON : RETRY_OFF);
43 BluetoothMasRequestPushMessage(String folder, String msg, CharsetType charset, boolean transparent, boolean retry) argument
H A DBluetoothMasClient.java1068 * @param retry corresponds to <code>Transparent</code> application
1074 boolean transparent, boolean retry) {
1082 new BluetoothMasRequestPushMessage(folder, bmsgString, charset, transparent, retry);
1073 pushMessage(String folder, BluetoothMapBmessage bmsg, CharsetType charset, boolean transparent, boolean retry) argument
/frameworks/base/services/usb/java/com/android/server/usb/
H A DUsbAudioManager.java103 for (int retry = 0; !exists && retry < kNumRetries; retry++) {
/frameworks/base/core/java/android/net/
H A DMobileDataStateTracker.java546 for (int retry = 0; retry < 2; retry++) {
555 if (retry == 0) getPhoneService(true);
686 for (int retry = 0; retry < 2; retry++) {
699 // 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/imsphone/
H A DImsPhoneCommandInterface.java229 int retry, int messageRef, Message response) {
233 public void sendImsCdmaSms(byte[] pdu, int retry, int messageRef, argument
228 sendImsGsmSms(String smscPDU, String pdu, int retry, int messageRef, Message response) argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
H A DSipCommandInterface.java230 int retry, int messageRef, Message response) {
234 public void sendImsCdmaSms(byte[] pdu, int retry, int messageRef, argument
229 sendImsGsmSms(String smscPDU, String pdu, int retry, int messageRef, Message response) argument
/frameworks/volley/src/com/android/volley/toolbox/
H A DBasicNetwork.java169 * Attempts to prepare the request for a retry. If there are no more attempts remaining in the
170 * request's retry policy, a timeout exception is thrown.
179 retryPolicy.retry(exception);
185 request.addMarker(String.format("%s-retry [timeout=%s]", logPrefix, oldTimeout));
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DCommandsInterface.java1105 * @param retry indicates if this is a retry; 0 == not retry, nonzero = retry
1106 * @param messageRef valid field if retry is set to nonzero.
1110 void sendImsGsmSms (String smscPDU, String pdu, int retry, int messageRef, argument
1117 * @param retry indicates if this is a retry; 0 == not retry, nonzero = retry
1122 sendImsCdmaSms(byte[] pdu, int retry, int messageRef, Message response) argument
[all...]
H A DRIL.java518 + " times, continuing to retry silently");
1352 sendImsGsmSms (String smscPDU, String pdu, int retry, int messageRef, argument
1357 rr.mParcel.writeByte((byte)retry);
1368 sendImsCdmaSms(byte[] pdu, int retry, int messageRef, Message result) { argument
1372 rr.mParcel.writeByte((byte)retry);
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
H A DUsimDataDownloadCommands.java363 int retry, int messageRef, Message response) {
367 public void sendImsCdmaSms(byte[] pdu, int retry, int messageRef, argument
362 sendImsGsmSms(String smscPDU, String pdu, int retry, int messageRef, Message response) argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/
H A DSimulatedCommands.java1708 public void sendImsCdmaSms(byte[] pdu, int retry, int messageRef, argument
1715 int retry, int messageRef, Message response){
1714 sendImsGsmSms(String smscPDU, String pdu, int retry, int messageRef, Message response) argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
H A DDcTracker.java773 // retry failed networks always (the old default)
775 // retry only when a substantial change has occured. Either:
1240 // TODO: Fix retry handling so free DataConnections have empty apnlists.
1241 // Probably move retry handling into DataConnections and reduce complexity
1311 if (DBG) log("setupData: Some calls are disconnecting first. Wait and retry");
1458 boolean retry = true;
1464 retry = false;
1466 return retry;
1575 // connect (trySetup = true) to be sure we retry the connection.
1700 // TODO change our retry manage
[all...]
/frameworks/native/services/surfaceflinger/
H A DSurfaceFlinger.cpp2408 int retry = 3; local
2409 while (mStateLock.tryLock()<0 && --retry>=0) {
2412 const bool locked(retry >= 0);

Completed in 407 milliseconds