Home
last modified time | relevance | path

Searched refs:STATUS_RATE_LIMIT_REACHED (Results 1 – 24 of 24) sorted by relevance

/packages/modules/AdServices/adservices/framework/java/android/adservices/common/
DAdServicesStatusUtils.java79 public static final int STATUS_RATE_LIMIT_REACHED = 5; field in AdServicesStatusUtils
370 case STATUS_RATE_LIMIT_REACHED: in asException()
402 STATUS_RATE_LIMIT_REACHED,
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/
DMeasurementServiceImpl.java19 import static android.adservices.common.AdServicesStatusUtils.STATUS_RATE_LIMIT_REACHED;
171 STATUS_RATE_LIMIT_REACHED); in register()
231 STATUS_RATE_LIMIT_REACHED); in registerWebSource()
297 STATUS_RATE_LIMIT_REACHED); in registerSource()
357 STATUS_RATE_LIMIT_REACHED); in registerWebTrigger()
419 STATUS_RATE_LIMIT_REACHED); in deleteRegistrations()
551 .setStatusCode(STATUS_RATE_LIMIT_REACHED) in isThrottled()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/
DFledgeApiThrottleFilter.java59 apiName, callerPackageName, AdServicesStatusUtils.STATUS_RATE_LIMIT_REACHED, 0); in assertCallerNotThrottled()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/appsetid/
DAppSetIdServiceImpl.java21 import static android.adservices.common.AdServicesStatusUtils.STATUS_RATE_LIMIT_REACHED;
161 callback.onError(STATUS_RATE_LIMIT_REACHED); in isThrottled()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/exception/
DFilterException.java56 return AdServicesStatusUtils.STATUS_RATE_LIMIT_REACHED; in getResultCode()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adid/
DAdIdServiceImpl.java22 import static android.adservices.common.AdServicesStatusUtils.STATUS_RATE_LIMIT_REACHED;
169 callback.onError(STATUS_RATE_LIMIT_REACHED); in isThrottled()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/
DFledgeApiThrottleFilterTest.java84 eq(AdServicesStatusUtils.STATUS_RATE_LIMIT_REACHED), in testAssertCallerNotThrottled_throttled_throwsAndLogsError()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/
DAppInstallAdvertisersSetterTest.java268 verifyLog(AdServicesStatusUtils.STATUS_RATE_LIMIT_REACHED, never()); in testSetAppInstallAdvertisersLimitExceeded()
270 verifyLog(AdServicesStatusUtils.STATUS_RATE_LIMIT_REACHED); in testSetAppInstallAdvertisersLimitExceeded()
DReportAndRegisterEventImplTest.java27 import static android.adservices.common.AdServicesStatusUtils.STATUS_RATE_LIMIT_REACHED;
637 STATUS_RATE_LIMIT_REACHED, RATE_LIMIT_REACHED_ERROR_MESSAGE); in testImplFailsWhenThrottled()
645 eq(STATUS_RATE_LIMIT_REACHED), in testImplFailsWhenThrottled()
DReportEventImplTest.java25 import static android.adservices.common.AdServicesStatusUtils.STATUS_RATE_LIMIT_REACHED;
1026 STATUS_RATE_LIMIT_REACHED, in testImplFailsWhenThrottled()
1038 eq(STATUS_RATE_LIMIT_REACHED), in testImplFailsWhenThrottled()
DReportAndRegisterEventFallbackImplTest.java27 import static android.adservices.common.AdServicesStatusUtils.STATUS_RATE_LIMIT_REACHED;
934 STATUS_RATE_LIMIT_REACHED, RATE_LIMIT_REACHED_ERROR_MESSAGE); in testImplFailsWhenThrottled()
942 eq(STATUS_RATE_LIMIT_REACHED), in testImplFailsWhenThrottled()
DOnDeviceAdSelectionRunnerTest.java26 import static android.adservices.common.AdServicesStatusUtils.STATUS_RATE_LIMIT_REACHED;
2882 STATUS_RATE_LIMIT_REACHED, in testRunAdSelectionThrottledFailure()
2884 verifyLogForFailurePriorPersistAdSelection(STATUS_RATE_LIMIT_REACHED); in testRunAdSelectionThrottledFailure()
2892 eq(STATUS_RATE_LIMIT_REACHED), in testRunAdSelectionThrottledFailure()
DFrequencyCapFilteringE2ETest.java577 .isEqualTo(AdServicesStatusUtils.STATUS_RATE_LIMIT_REACHED); in testUpdateHistogramExceedingRateLimitNotifiesError()
DAdSelectionServiceImplTest.java28 import static android.adservices.common.AdServicesStatusUtils.STATUS_RATE_LIMIT_REACHED;
8193 STATUS_RATE_LIMIT_REACHED, in testReportImpressionSuccessThrottledSubsequentCallFailure()
DAdSelectionE2ETest.java7630 AdServicesStatusUtils.STATUS_RATE_LIMIT_REACHED, in testRunAdSelectionThrottledSubsequentCallFailure()
/packages/modules/AdServices/adservices/tests/unittest/service-core/appsetid/src/com/android/adservices/service/appsetid/
DAppSetIdServiceImplTest.java20 import static android.adservices.common.AdServicesStatusUtils.STATUS_RATE_LIMIT_REACHED;
161 mContext, STATUS_RATE_LIMIT_REACHED, request, /* checkLoggingStatus */ false); in checkThrottler_rateLimitReached_forAppPackageName()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/
DMeasurementServiceImplTest.java23 import static android.adservices.common.AdServicesStatusUtils.STATUS_RATE_LIMIT_REACHED;
385 () -> registerSourceAndAssertFailure(STATUS_RATE_LIMIT_REACHED)); in testRegisterSource_failureByThrottler()
577 () -> registerTriggerAndAssertFailure(STATUS_RATE_LIMIT_REACHED)); in testRegisterTrigger_failureByThrottler()
775 () -> deleteRegistrationsAndAssertFailure(STATUS_RATE_LIMIT_REACHED)); in testDeleteRegistrations_failureByThrottler()
1407 () -> registerSourcesAndAssertFailure(STATUS_RATE_LIMIT_REACHED)); in testRegisterSources_failureByThrottler()
1522 () -> registerWebSourceAndAssertFailure(STATUS_RATE_LIMIT_REACHED)); in testRegisterWebSource_failureByThrottler()
1781 () -> registerWebTriggerAndAssertFailure(STATUS_RATE_LIMIT_REACHED)); in testRegisterWebTrigger_failureByThrottler()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/topics/
DTopicsServiceImpl.java27 import static android.adservices.common.AdServicesStatusUtils.STATUS_RATE_LIMIT_REACHED;
256 callback.onFailure(STATUS_RATE_LIMIT_REACHED); in isThrottled()
/packages/modules/AdServices/adservices/tests/unittest/service-core/adid/src/com/android/adservices/service/adid/
DAdIdServiceImplTest.java22 import static android.adservices.common.AdServicesStatusUtils.STATUS_RATE_LIMIT_REACHED;
171 mSpyContext, STATUS_RATE_LIMIT_REACHED, request, /* checkLoggingStatus= */ false); in checkThrottler_rateLimitReached_forAppPackageName()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/topics/
DTopicsServiceImplTest.java27 import static android.adservices.common.AdServicesStatusUtils.STATUS_RATE_LIMIT_REACHED;
377 mSpyContext, STATUS_RATE_LIMIT_REACHED, /* checkLoggingStatus */ false); in checkThrottler_rateLimitReached_forSdkName()
396 mSpyContext, STATUS_RATE_LIMIT_REACHED, request, /* checkLoggingStatus */ false); in checkThrottler_rateLimitReached_forAppPackageName()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/customaudience/
DFetchCustomAudienceImplTest.java29 import static android.adservices.common.AdServicesStatusUtils.STATUS_RATE_LIMIT_REACHED;
360 assertEquals(STATUS_RATE_LIMIT_REACHED, callback.mFledgeErrorResponse.getStatusCode()); in testImpl_throttled_throws()
370 eq(STATUS_RATE_LIMIT_REACHED), in testImpl_throttled_throws()
DCustomAudienceServiceImplTest.java27 import static android.adservices.common.AdServicesStatusUtils.STATUS_RATE_LIMIT_REACHED;
1973 assertEquals(STATUS_RATE_LIMIT_REACHED, actualResponseCaptor.getValue().getStatusCode()); in testJoinCustomAudience_throttledFailure()
2006 assertEquals(STATUS_RATE_LIMIT_REACHED, actualResponseCaptor.getValue().getStatusCode()); in testLeaveCustomAudience_throttledFailure()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/signals/
DProtectedSignalsServiceImplTest.java295 assertEquals(AdServicesStatusUtils.STATUS_RATE_LIMIT_REACHED, actual.getStatusCode()); in testUpdateSignalsFilterException()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/customaudience/
DCustomAudienceServiceImpl.java367 resultCode = AdServicesStatusUtils.STATUS_RATE_LIMIT_REACHED; in notifyFailure()