Home
last modified time | relevance | path

Searched refs:RetryableAdServicesNetworkException (Results 1 – 6 of 6) sorted by relevance

/packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/exceptions/
DRetryableAdServicesNetworkExceptionTest.java20 import static android.adservices.exceptions.RetryableAdServicesNetworkException.INVALID_ERROR_CODE_…
21 import static android.adservices.exceptions.RetryableAdServicesNetworkException.INVALID_RETRY_AFTER…
48 RetryableAdServicesNetworkException exception = in testExceptionWithErrorCodeAndRetryAfter_valid()
49 new RetryableAdServicesNetworkException(VALID_ERROR_CODE, VALID_RETRY_AFTER); in testExceptionWithErrorCodeAndRetryAfter_valid()
66 new RetryableAdServicesNetworkException( in testExceptionWithErrorCodeAndRetryAfter_errorCodeInvalid()
77 new RetryableAdServicesNetworkException( in testExceptionWithErrorCodeAndRetryAfter_retryAfterUnset()
88 new RetryableAdServicesNetworkException( in testExceptionWithErrorCodeAndRetryAfter_retryAfterNegative()
96 RetryableAdServicesNetworkException exception = in testSetRetryAfterToValidDurationStaysSame()
97 new RetryableAdServicesNetworkException( in testSetRetryAfterToValidDurationStaysSame()
108 RetryableAdServicesNetworkException exception = in testSetRetryAfterToValidDurationGetsCappedToDefault()
[all …]
/packages/modules/AdServices/adservices/framework/java/android/adservices/exceptions/
DRetryableAdServicesNetworkException.java34 public class RetryableAdServicesNetworkException extends AdServicesNetworkException { class
55 public RetryableAdServicesNetworkException( in RetryableAdServicesNetworkException() method in RetryableAdServicesNetworkException
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/customaudience/
DFetchCustomAudienceImpl.java34 import android.adservices.exceptions.RetryableAdServicesNetworkException;
286 if (t instanceof RetryableAdServicesNetworkException) { in doFetchCustomAudience()
288 ((RetryableAdServicesNetworkException) t), in doFetchCustomAudience()
509 RetryableAdServicesNetworkException retryableAdServicesNetworkException,
566 } else if (t instanceof RetryableAdServicesNetworkException
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/httpclient/
DAdServicesHttpsClient.java19 import static android.adservices.exceptions.RetryableAdServicesNetworkException.DEFAULT_RETRY_AFTER…
27 import android.adservices.exceptions.RetryableAdServicesNetworkException;
758 Duration retryAfterDuration = RetryableAdServicesNetworkException.UNSET_RETRY_AFTER_VALUE; in throwError()
788 RetryableAdServicesNetworkException.UNSET_RETRY_AFTER_VALUE) in throwError()
792 exception = new RetryableAdServicesNetworkException(errorCode, retryAfterDuration); in throwError()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/httpclient/
DAdServicesHttpsClientTest.java19 import static android.adservices.exceptions.RetryableAdServicesNetworkException.DEFAULT_RETRY_AFTER…
55 import android.adservices.exceptions.RetryableAdServicesNetworkException;
839 .isInstanceOf(RetryableAdServicesNetworkException.class); in testFailedResponseWithStatusCodeAndRetryAfter()
842 RetryableAdServicesNetworkException exception = in testFailedResponseWithStatusCodeAndRetryAfter()
843 (RetryableAdServicesNetworkException) wrapperException.getCause(); in testFailedResponseWithStatusCodeAndRetryAfter()
861 .isInstanceOf(RetryableAdServicesNetworkException.class); in testFailedResponseWithStatusCodeAndRetryAfterWithNoRetryHeader()
864 RetryableAdServicesNetworkException exception = in testFailedResponseWithStatusCodeAndRetryAfterWithNoRetryHeader()
865 (RetryableAdServicesNetworkException) wrapperException.getCause(); in testFailedResponseWithStatusCodeAndRetryAfterWithNoRetryHeader()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/customaudience/
DFetchCustomAudienceImplTest.java47 import static android.adservices.exceptions.RetryableAdServicesNetworkException.DEFAULT_RETRY_AFTER…