Home
last modified time | relevance | path

Searched refs:getRetryAfter (Results 1 – 9 of 9) sorted by relevance

/packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/exceptions/
DRetryableAdServicesNetworkExceptionTest.java52 expect.that(exception.getRetryAfter()).isEqualTo(VALID_RETRY_AFTER); in testExceptionWithErrorCodeAndRetryAfter_valid()
102 assertThat(exception.getRetryAfter().toMillis()).isEqualTo(validMs); in testSetRetryAfterToValidDurationStaysSame()
114 assertThat(exception.getRetryAfter().toMillis()).isEqualTo(MIN_RETRY_AFTER_DURATION_MS); in testSetRetryAfterToValidDurationGetsCappedToDefault()
126 assertThat(exception.getRetryAfter().toMillis()).isEqualTo(MAX_RETRY_AFTER_DURATION_MS); in testSetRetryAfterToValidDurationGetsCappedToMax()
/packages/modules/AdServices/adservices/framework/java/android/adservices/exceptions/
DRetryableAdServicesNetworkException.java85 public Duration getRetryAfter() { in getRetryAfter() method in RetryableAdServicesNetworkException
99 this.getRetryAfter().toMillis()); in toString()
/packages/apps/ImsServiceEntitlement/src/com/android/imsserviceentitlement/
DImsEntitlementApi.java153 e.getRetryAfter())) { in checkEntitlementStatus()
156 Log.d(TAG, "Server asking for retry. retryAfter = " + e.getRetryAfter()); in checkEntitlementStatus()
159 .setRetryAfterSeconds(parseDelaySecondsByRetryAfter(e.getRetryAfter())) in checkEntitlementStatus()
/packages/services/Telephony/src/com/android/phone/satellite/entitlement/
DSatelliteEntitlementController.java292 long retryAfterSeconds = parseSecondsFromRetryAfter(e.getRetryAfter()); in handleCmdStartQueryEntitlement()
366 long retryAfterSeconds = parseSecondsFromRetryAfter(e.getRetryAfter()); in handleCmdRetryQueryEntitlement()
401 if (responseCode == HTTP_RESPONSE_503 && e.getRetryAfter() != null in isRetryAfterError()
402 && !e.getRetryAfter().isEmpty()) { in isRetryAfterError()
403 long retryAfterSeconds = parseSecondsFromRetryAfter(e.getRetryAfter()); in isRetryAfterError()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/entitlement/http/
DHttpClientTest.java161 assertThat(exception.getRetryAfter()).isEqualTo(RETRY_AFTER); in request_httpGetResponseBadRequest_throwsException()
330 assertThat(exception.getRetryAfter()).isEmpty(); in request_getResponseCodeFailed_expectThrowsException()
356 assertThat(exception.getRetryAfter()).isEmpty(); in request_getResponseBodyFailed_expectThrowsException()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/customaudience/
DFetchCustomAudienceImpl.java523 .getRetryAfter()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/httpclient/
DAdServicesHttpsClientTest.java846 assertThat(exception.getRetryAfter()).isEqualTo(Duration.ofMillis(1000)); in testFailedResponseWithStatusCodeAndRetryAfter()
868 assertThat(exception.getRetryAfter()).isEqualTo(DEFAULT_RETRY_AFTER_VALUE); in testFailedResponseWithStatusCodeAndRetryAfterWithNoRetryHeader()
/packages/apps/Car/DebuggingRestrictionController/libs/
Dgoogle-http-client-1.36.0.jarMETA-INF/MANIFEST.MF META-INF/ com/ com/google/ com/ ...
/packages/services/Car/tests/BugReportApp/libs/
Dgoogle-http-client-1.30.1.jarMETA-INF/MANIFEST.MF META-INF/ com/ com/google/ com/ ...