Home
last modified time | relevance | path

Searched refs:RATE_LIMIT_REACHED_ERROR_MESSAGE (Results 1 – 14 of 14) sorted by relevance

/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/
DFledgeApiThrottleFilter.java19 import static android.adservices.common.AdServicesStatusUtils.RATE_LIMIT_REACHED_ERROR_MESSAGE;
60 throw new LimitExceededException(RATE_LIMIT_REACHED_ERROR_MESSAGE); in assertCallerNotThrottled()
/packages/modules/AdServices/adservices/framework/java/android/adservices/common/
DAdServicesStatusUtils.java254 public static final String RATE_LIMIT_REACHED_ERROR_MESSAGE = "API rate limit exceeded."; field in AdServicesStatusUtils
371 return new LimitExceededException(RATE_LIMIT_REACHED_ERROR_MESSAGE); in asException()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/
DCustomAudienceServiceFilterTest.java19 import static android.adservices.common.AdServicesStatusUtils.RATE_LIMIT_REACHED_ERROR_MESSAGE;
132 doThrow(new LimitExceededException(RATE_LIMIT_REACHED_ERROR_MESSAGE)) in testFilterRequest_throttled_throws()
399 doThrow(new LimitExceededException(RATE_LIMIT_REACHED_ERROR_MESSAGE)) in testFilterRequestAndExtractIdentifier_throttled_throws()
DProtectedSignalsServiceFilterTest.java19 import static android.adservices.common.AdServicesStatusUtils.RATE_LIMIT_REACHED_ERROR_MESSAGE;
124 doThrow(new LimitExceededException(RATE_LIMIT_REACHED_ERROR_MESSAGE)) in testFilterRequestAndExtractIdentifier_throttled_throws()
DAdSelectionServiceFilterTest.java19 import static android.adservices.common.AdServicesStatusUtils.RATE_LIMIT_REACHED_ERROR_MESSAGE;
150 doThrow(new LimitExceededException(RATE_LIMIT_REACHED_ERROR_MESSAGE)) in testFilterRequest_throttled_throwsLimitExceededException()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/customaudience/
DCustomAudienceServiceImplTest.java20 import static android.adservices.common.AdServicesStatusUtils.RATE_LIMIT_REACHED_ERROR_MESSAGE;
1961 doThrow(new LimitExceededException(RATE_LIMIT_REACHED_ERROR_MESSAGE)) in testJoinCustomAudience_throttledFailure()
1975 RATE_LIMIT_REACHED_ERROR_MESSAGE, in testJoinCustomAudience_throttledFailure()
1993 doThrow(new LimitExceededException(RATE_LIMIT_REACHED_ERROR_MESSAGE)) in testLeaveCustomAudience_throttledFailure()
2008 RATE_LIMIT_REACHED_ERROR_MESSAGE, in testLeaveCustomAudience_throttledFailure()
DFetchCustomAudienceImplTest.java20 import static android.adservices.common.AdServicesStatusUtils.RATE_LIMIT_REACHED_ERROR_MESSAGE;
344 doThrow(new LimitExceededException(RATE_LIMIT_REACHED_ERROR_MESSAGE)) in testImpl_throttled_throws()
362 RATE_LIMIT_REACHED_ERROR_MESSAGE, callback.mFledgeErrorResponse.getErrorMessage()); in testImpl_throttled_throws()
DCustomAudienceServiceEndToEndTest.java3012 .isEqualTo(AdServicesStatusUtils.RATE_LIMIT_REACHED_ERROR_MESSAGE); in testCustomAudience_throttledSubsequentCallFails()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/
DReportAndRegisterEventImplTest.java21 import static android.adservices.common.AdServicesStatusUtils.RATE_LIMIT_REACHED_ERROR_MESSAGE;
602 new LimitExceededException(RATE_LIMIT_REACHED_ERROR_MESSAGE))) in testImplFailsWhenThrottled()
637 STATUS_RATE_LIMIT_REACHED, RATE_LIMIT_REACHED_ERROR_MESSAGE); in testImplFailsWhenThrottled()
DReportEventImplTest.java20 import static android.adservices.common.AdServicesStatusUtils.RATE_LIMIT_REACHED_ERROR_MESSAGE;
993 doThrow(new FilterException(new LimitExceededException(RATE_LIMIT_REACHED_ERROR_MESSAGE))) in testImplFailsWhenThrottled()
1030 RATE_LIMIT_REACHED_ERROR_MESSAGE); in testImplFailsWhenThrottled() local
DReportAndRegisterEventFallbackImplTest.java21 import static android.adservices.common.AdServicesStatusUtils.RATE_LIMIT_REACHED_ERROR_MESSAGE;
873 new LimitExceededException(RATE_LIMIT_REACHED_ERROR_MESSAGE))) in testImplFailsWhenThrottled()
934 STATUS_RATE_LIMIT_REACHED, RATE_LIMIT_REACHED_ERROR_MESSAGE); in testImplFailsWhenThrottled()
DOnDeviceAdSelectionRunnerTest.java23 import static android.adservices.common.AdServicesStatusUtils.RATE_LIMIT_REACHED_ERROR_MESSAGE;
2832 doThrow(new FilterException(new LimitExceededException(RATE_LIMIT_REACHED_ERROR_MESSAGE))) in testRunAdSelectionThrottledFailure()
2879 verifyErrorMessageIsCorrect(response.getErrorMessage(), RATE_LIMIT_REACHED_ERROR_MESSAGE); in testRunAdSelectionThrottledFailure() local
DAdSelectionE2ETest.java21 import static android.adservices.common.AdServicesStatusUtils.RATE_LIMIT_REACHED_ERROR_MESSAGE;
7601 doThrow(new FilterException(new LimitExceededException(RATE_LIMIT_REACHED_ERROR_MESSAGE))) in testRunAdSelectionThrottledSubsequentCallFailure()
7638 RATE_LIMIT_REACHED_ERROR_MESSAGE)); in testRunAdSelectionThrottledSubsequentCallFailure()
DAdSelectionServiceImplTest.java23 import static android.adservices.common.AdServicesStatusUtils.RATE_LIMIT_REACHED_ERROR_MESSAGE;
8164 doThrow(new FilterException(new LimitExceededException(RATE_LIMIT_REACHED_ERROR_MESSAGE))) in testReportImpressionSuccessThrottledSubsequentCallFailure()
8197 RATE_LIMIT_REACHED_ERROR_MESSAGE); in testReportImpressionSuccessThrottledSubsequentCallFailure() local