Searched refs:getRetryAfter (Results 1 – 9 of 9) sorted by relevance
52 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()
85 public Duration getRetryAfter() { in getRetryAfter() method in RetryableAdServicesNetworkException99 this.getRetryAfter().toMillis()); in toString()
153 e.getRetryAfter())) { in checkEntitlementStatus()156 Log.d(TAG, "Server asking for retry. retryAfter = " + e.getRetryAfter()); in checkEntitlementStatus()159 .setRetryAfterSeconds(parseDelaySecondsByRetryAfter(e.getRetryAfter())) in checkEntitlementStatus()
292 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()
161 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()
523 .getRetryAfter()
846 assertThat(exception.getRetryAfter()).isEqualTo(Duration.ofMillis(1000)); in testFailedResponseWithStatusCodeAndRetryAfter()868 assertThat(exception.getRetryAfter()).isEqualTo(DEFAULT_RETRY_AFTER_VALUE); in testFailedResponseWithStatusCodeAndRetryAfterWithNoRetryHeader()
META-INF/MANIFEST.MF META-INF/ com/ com/google/ com/ ...