Home
last modified time | relevance | path

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

/packages/modules/AdServices/adservices/framework/java/android/adservices/exceptions/
DAdServicesNetworkException.java50 public static final int ERROR_TOO_MANY_REQUESTS = 429; field in AdServicesNetworkException
67 ERROR_TOO_MANY_REQUESTS,
118 case ERROR_TOO_MANY_REQUESTS: in checkErrorCode()
/packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/exceptions/
DAdServicesNetworkExceptionTest.java19 import static android.adservices.exceptions.AdServicesNetworkException.ERROR_TOO_MANY_REQUESTS;
34 private static final int VALID_ERROR_CODE = ERROR_TOO_MANY_REQUESTS;
DRetryableAdServicesNetworkExceptionTest.java19 import static android.adservices.exceptions.AdServicesNetworkException.ERROR_TOO_MANY_REQUESTS;
38 private static final int VALID_ERROR_CODE = ERROR_TOO_MANY_REQUESTS;
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/httpclient/
DAdServicesHttpsClientTest.java823 .isEqualTo(AdServicesNetworkException.ERROR_TOO_MANY_REQUESTS); in testFailedResponseWithStatusCode()
845 .isEqualTo(AdServicesNetworkException.ERROR_TOO_MANY_REQUESTS); in testFailedResponseWithStatusCodeAndRetryAfter()
867 .isEqualTo(AdServicesNetworkException.ERROR_TOO_MANY_REQUESTS); in testFailedResponseWithStatusCodeAndRetryAfterWithNoRetryHeader()
1013 .isEqualTo(AdServicesNetworkException.ERROR_TOO_MANY_REQUESTS); in performRequestGetResponseBytes_failedStatusCode_shouldThrowErrorWithCorrectCode()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/kanon/
DKAnonCallerImpl.java21 import static android.adservices.exceptions.AdServicesNetworkException.ERROR_TOO_MANY_REQUESTS;
1219 if (networkException.getErrorCode() == ERROR_TOO_MANY_REQUESTS
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/httpclient/
DAdServicesHttpsClient.java768 errorCode = AdServicesNetworkException.ERROR_TOO_MANY_REQUESTS; in throwError()