Home
last modified time | relevance | path

Searched refs:retryAfter (Results 1 – 11 of 11) sorted by relevance

/packages/modules/AdServices/adservices/framework/java/android/adservices/exceptions/
DRetryableAdServicesNetworkException.java56 @ErrorCode int errorCode, @NonNull Duration retryAfter) { in RetryableAdServicesNetworkException() argument
59 Objects.requireNonNull(retryAfter); in RetryableAdServicesNetworkException()
61 retryAfter.compareTo(UNSET_RETRY_AFTER_VALUE) > 0, INVALID_RETRY_AFTER_MESSAGE); in RetryableAdServicesNetworkException()
63 mRetryAfter = retryAfter; in RetryableAdServicesNetworkException()
/packages/apps/ImsServiceEntitlement/src/com/android/imsserviceentitlement/
DImsEntitlementApi.java172 private long parseDelaySecondsByRetryAfter(String retryAfter) { in parseDelaySecondsByRetryAfter() argument
174 return Long.parseLong(retryAfter); in parseDelaySecondsByRetryAfter()
180 Instant.now(sClock), RFC_1123_DATE_TIME.parse(retryAfter, Instant::from)); in parseDelaySecondsByRetryAfter()
184 Log.w(TAG, "Unable to parse retry-after: " + retryAfter + ", ignore it."); in parseDelaySecondsByRetryAfter()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/entitlement/http/
DFakeURLStreamHandler.java138 return mResponse.retryAfter(); in getHeaderField()
190 public abstract String retryAfter(); in retryAfter() method in FakeURLStreamHandler.FakeResponse
217 public abstract Builder setRetryAfter(String retryAfter); in setRetryAfter() argument
/packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/exceptions/
DRetryableAdServicesNetworkExceptionTest.java129 private String getHumanReadableRetryableNetworkException(int errorCode, Duration retryAfter) { in getHumanReadableRetryableNetworkException() argument
135 retryAfter.toMillis()); in getHumanReadableRetryableNetworkException()
/packages/apps/UniversalMediaPlayer/java/com/android/pump/util/
DHttp.java93 String retryAfter = e.getHeaders().getField("Retry-After"); in getOrPost()
94 if (retryAfter != null) { in getOrPost()
95 retryDelaySec = Math.max(0, Long.valueOf(retryAfter)); in getOrPost()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadThread.java811 long retryAfter = conn.getHeaderFieldInt("Retry-After", -1); in parseUnavailableHeaders() local
812 retryAfter = MathUtils.constrain(retryAfter, Constants.MIN_RETRY_AFTER, in parseUnavailableHeaders()
814 mInfoDelta.mRetryAfter = (int) (retryAfter * SECOND_IN_MILLIS); in parseUnavailableHeaders()
/packages/services/Telephony/src/com/android/phone/satellite/entitlement/
DSatelliteEntitlementController.java414 private long parseSecondsFromRetryAfter(String retryAfter) { in parseSecondsFromRetryAfter() argument
416 return Long.parseLong(retryAfter); in parseSecondsFromRetryAfter()
422 Instant.now(), RFC_1123_DATE_TIME.parse(retryAfter, Instant::from)); in parseSecondsFromRetryAfter()
/packages/apps/ImsServiceEntitlement/src/com/android/imsserviceentitlement/entitlement/
DEntitlementResult.java120 public abstract Builder setRetryAfterSeconds(long retryAfter); in setRetryAfterSeconds() argument
/packages/apps/Car/DebuggingRestrictionController/libs/
Dgoogle-http-client-1.36.0.jarMETA-INF/MANIFEST.MF META-INF/ com/ com/google/ com/ ...
Dokhttp-3.12.1.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/proguard/ okhttp3/ ...
/packages/services/Car/tests/BugReportApp/libs/
Dgoogle-http-client-1.30.1.jarMETA-INF/MANIFEST.MF META-INF/ com/ com/google/ com/ ...