/packages/modules/AdServices/adservices/framework/java/android/adservices/common/ |
D | AdServicesStatusUtils.java | 79 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/ |
D | MeasurementServiceImpl.java | 19 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/ |
D | FledgeApiThrottleFilter.java | 59 apiName, callerPackageName, AdServicesStatusUtils.STATUS_RATE_LIMIT_REACHED, 0); in assertCallerNotThrottled()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/appsetid/ |
D | AppSetIdServiceImpl.java | 21 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/ |
D | FilterException.java | 56 return AdServicesStatusUtils.STATUS_RATE_LIMIT_REACHED; in getResultCode()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adid/ |
D | AdIdServiceImpl.java | 22 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/ |
D | FledgeApiThrottleFilterTest.java | 84 eq(AdServicesStatusUtils.STATUS_RATE_LIMIT_REACHED), in testAssertCallerNotThrottled_throttled_throwsAndLogsError()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/ |
D | AppInstallAdvertisersSetterTest.java | 268 verifyLog(AdServicesStatusUtils.STATUS_RATE_LIMIT_REACHED, never()); in testSetAppInstallAdvertisersLimitExceeded() 270 verifyLog(AdServicesStatusUtils.STATUS_RATE_LIMIT_REACHED); in testSetAppInstallAdvertisersLimitExceeded()
|
D | ReportAndRegisterEventImplTest.java | 27 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()
|
D | ReportEventImplTest.java | 25 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()
|
D | ReportAndRegisterEventFallbackImplTest.java | 27 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()
|
D | OnDeviceAdSelectionRunnerTest.java | 26 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()
|
D | FrequencyCapFilteringE2ETest.java | 577 .isEqualTo(AdServicesStatusUtils.STATUS_RATE_LIMIT_REACHED); in testUpdateHistogramExceedingRateLimitNotifiesError()
|
D | AdSelectionServiceImplTest.java | 28 import static android.adservices.common.AdServicesStatusUtils.STATUS_RATE_LIMIT_REACHED; 8193 STATUS_RATE_LIMIT_REACHED, in testReportImpressionSuccessThrottledSubsequentCallFailure()
|
D | AdSelectionE2ETest.java | 7630 AdServicesStatusUtils.STATUS_RATE_LIMIT_REACHED, in testRunAdSelectionThrottledSubsequentCallFailure()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/appsetid/src/com/android/adservices/service/appsetid/ |
D | AppSetIdServiceImplTest.java | 20 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/ |
D | MeasurementServiceImplTest.java | 23 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/ |
D | TopicsServiceImpl.java | 27 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/ |
D | AdIdServiceImplTest.java | 22 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/ |
D | TopicsServiceImplTest.java | 27 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/ |
D | FetchCustomAudienceImplTest.java | 29 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()
|
D | CustomAudienceServiceImplTest.java | 27 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/ |
D | ProtectedSignalsServiceImplTest.java | 295 assertEquals(AdServicesStatusUtils.STATUS_RATE_LIMIT_REACHED, actual.getStatusCode()); in testUpdateSignalsFilterException()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/customaudience/ |
D | CustomAudienceServiceImpl.java | 367 resultCode = AdServicesStatusUtils.STATUS_RATE_LIMIT_REACHED; in notifyFailure()
|