Home
last modified time | relevance | path

Searched refs:STATUS_USER_CONSENT_REVOKED (Results 1 – 25 of 27) sorted by relevance

12

/packages/modules/AdServices/adservices/framework/java/android/adservices/common/
DAdServicesStatusUtils.java93 public static final int STATUS_USER_CONSENT_REVOKED = 7; field in AdServicesStatusUtils
339 case STATUS_USER_CONSENT_REVOKED: // Intentional fallthrough in asException()
406 STATUS_USER_CONSENT_REVOKED,
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/devapi/
DAdSelectionOverrider.java415 return AdServicesStatusUtils.STATUS_USER_CONSENT_REVOKED; in callAddOverride()
434 return AdServicesStatusUtils.STATUS_USER_CONSENT_REVOKED; in callRemoveOverride()
450 return AdServicesStatusUtils.STATUS_USER_CONSENT_REVOKED;
468 return AdServicesStatusUtils.STATUS_USER_CONSENT_REVOKED;
485 return AdServicesStatusUtils.STATUS_USER_CONSENT_REVOKED;
501 return AdServicesStatusUtils.STATUS_USER_CONSENT_REVOKED;
DCustomAudienceOverrider.java270 return AdServicesStatusUtils.STATUS_USER_CONSENT_REVOKED; in callAddOverride()
291 return AdServicesStatusUtils.STATUS_USER_CONSENT_REVOKED;
305 return AdServicesStatusUtils.STATUS_USER_CONSENT_REVOKED;
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/
DFledgeConsentFilter.java62 AdServicesStatusUtils.STATUS_USER_CONSENT_REVOKED, in assertCallerHasApiUserConsent()
89 AdServicesStatusUtils.STATUS_USER_CONSENT_REVOKED, in assertAndPersistCallerHasUserConsentForApp()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/
DFledgeConsentFilterTest.java81 eq(AdServicesStatusUtils.STATUS_USER_CONSENT_REVOKED), in testAssertCallerHasApiUserConsent_revokedConsent_throwsAndLogsError()
113 eq(AdServicesStatusUtils.STATUS_USER_CONSENT_REVOKED), in testAssertAndPersistCallerHasUserConsentForApp_revokedConsent_throwsAndLogsError()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/topics/
DTopicsServiceImpl.java31 import static android.adservices.common.AdServicesStatusUtils.STATUS_USER_CONSENT_REVOKED;
353 callback, STATUS_USER_CONSENT_REVOKED, "User consent revoked."); in canCallerInvokeTopicsService()
354 return STATUS_USER_CONSENT_REVOKED; in canCallerInvokeTopicsService()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/
DAppInstallAdvertisersSetter.java20 import static android.adservices.common.AdServicesStatusUtils.STATUS_USER_CONSENT_REVOKED;
161 STATUS_USER_CONSENT_REVOKED, in setAppInstallAdvertisers()
DUpdateAdCounterHistogramWorker.java24 import static android.adservices.common.AdServicesStatusUtils.STATUS_USER_CONSENT_REVOKED;
224 STATUS_USER_CONSENT_REVOKED, in invokeFailure()
DImpressionReporterLegacy.java344 AdServicesStatusUtils.STATUS_USER_CONSENT_REVOKED); in reportImpression()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/access/
DUserConsentAccessResolver.java53 : AdServicesStatusUtils.STATUS_USER_CONSENT_REVOKED; in getAccessInfo()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/exception/
DFilterException.java47 return AdServicesStatusUtils.STATUS_USER_CONSENT_REVOKED; in getResultCode()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/signals/
DProtectedSignalsServiceImplTest.java340 verifyUpdateSignalsApiUsageLog(AdServicesStatusUtils.STATUS_USER_CONSENT_REVOKED, PACKAGE); in testUpdateSignalsNoConsentIfCallerNotHaveConsent()
356 verifyUpdateSignalsApiUsageLog(AdServicesStatusUtils.STATUS_USER_CONSENT_REVOKED, PACKAGE); in testUpdateSignalsNoConsentIfUserNotSeenPASNotification()
372 verifyUpdateSignalsApiUsageLog(AdServicesStatusUtils.STATUS_USER_CONSENT_REVOKED, PACKAGE); in testUpdateSignalsNoConsent()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/
DUpdateAdCounterHistogramWorkerTest.java23 import static android.adservices.common.AdServicesStatusUtils.STATUS_USER_CONSENT_REVOKED;
245 eq(STATUS_USER_CONSENT_REVOKED), in testWorkerConsentFailureStopsAndNotifiesSuccess()
DOutcomeSelectionRunnerTest.java22 import static android.adservices.common.AdServicesStatusUtils.STATUS_USER_CONSENT_REVOKED;
282 eq(STATUS_USER_CONSENT_REVOKED), in testRunOutcomeSelectionRevokedUserConsentEmptyResult()
DAppInstallAdvertisersSetterTest.java184 verifyLog(AdServicesStatusUtils.STATUS_USER_CONSENT_REVOKED); in testSetAppInstallAdvertisersRevokedConsent()
DReportAndRegisterEventImplTest.java30 import static android.adservices.common.AdServicesStatusUtils.STATUS_USER_CONSENT_REVOKED;
715 eq(STATUS_USER_CONSENT_REVOKED), in testImplFailsSilentlyWithoutConsent()
DReportEventImplTest.java28 import static android.adservices.common.AdServicesStatusUtils.STATUS_USER_CONSENT_REVOKED;
1162 eq(STATUS_USER_CONSENT_REVOKED), in testImplFailsSilentlyWithoutConsent()
DReportAndRegisterEventFallbackImplTest.java30 import static android.adservices.common.AdServicesStatusUtils.STATUS_USER_CONSENT_REVOKED;
1032 eq(STATUS_USER_CONSENT_REVOKED), in testImplFailsSilentlyWithoutConsent()
DAdSelectionServiceImplTest.java31 import static android.adservices.common.AdServicesStatusUtils.STATUS_USER_CONSENT_REVOKED;
4802 eq(STATUS_USER_CONSENT_REVOKED), in testReportImpressionWithRevokedUserConsentSuccess()
6040 eq(STATUS_USER_CONSENT_REVOKED), in testOverrideAdSelectionConfigRemoteInfoWithRevokedUserConsentSuccess()
6266 eq(STATUS_USER_CONSENT_REVOKED), in testRemoveAdSelectionConfigRemoteInfoOverrideWithRevokedUserConsentSuccess()
6796 eq(STATUS_USER_CONSENT_REVOKED), in testResetAllAdSelectionConfigRemoteOverridesWithRevokedUserConsentSuccess()
9102 eq(STATUS_USER_CONSENT_REVOKED), in testOverrideAdSelectionFromOutcomesConfigRemoteInfoWithRevokedUserConsentSuccess()
9332 eq(STATUS_USER_CONSENT_REVOKED), in testRemoveAdSelectionFromOutcomesConfigRemoteInfoOverrideWithRevokedUserConsentSuccess()
9745 eq(STATUS_USER_CONSENT_REVOKED), in testResetAllAdSelectionFromOutcomesConfigRemoteOverridesWithRevokedUserConsentSuccess()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/
DMeasurementServiceImplTest.java27 import static android.adservices.common.AdServicesStatusUtils.STATUS_USER_CONSENT_REVOKED;
340 () -> registerSourceAndAssertFailure(STATUS_USER_CONSENT_REVOKED)); in testRegisterSource_failureByConsentResolver()
542 () -> registerTriggerAndAssertFailure(STATUS_USER_CONSENT_REVOKED)); in testRegisterTrigger_failureByConsentResolver()
1372 () -> registerSourcesAndAssertFailure(STATUS_USER_CONSENT_REVOKED)); in testRegisterSources_failureByConsentResolver()
1487 () -> registerWebSourceAndAssertFailure(STATUS_USER_CONSENT_REVOKED)); in testRegisterWebSource_failureByConsentResolver()
1746 () -> registerWebTriggerAndAssertFailure(STATUS_USER_CONSENT_REVOKED)); in testRegisterWebTrigger_failureByConsentResolver()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/customaudience/
DCustomAudienceServiceImpl.java274 resultCode = AdServicesStatusUtils.STATUS_USER_CONSENT_REVOKED; in doJoinCustomAudience()
509 resultCode = AdServicesStatusUtils.STATUS_USER_CONSENT_REVOKED; in doLeaveCustomAudience()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/signals/
DProtectedSignalsServiceImpl.java336 resultCode = AdServicesStatusUtils.STATUS_USER_CONSENT_REVOKED; in doUpdateSignals()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/customaudience/
DCustomAudienceServiceImplTest.java30 import static android.adservices.common.AdServicesStatusUtils.STATUS_USER_CONSENT_REVOKED;
293 STATUS_USER_CONSENT_REVOKED); in testJoinCustomAudienceWithRevokedUserConsentSuccess()
752 STATUS_USER_CONSENT_REVOKED); in testLeaveCustomAudienceWithRevokedUserConsent()
DFetchCustomAudienceImplTest.java33 import static android.adservices.common.AdServicesStatusUtils.STATUS_USER_CONSENT_REVOKED;
498 eq(STATUS_USER_CONSENT_REVOKED), in testImpl_revokedConsent_failsSilently()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/topics/
DTopicsServiceImplTest.java30 import static android.adservices.common.AdServicesStatusUtils.STATUS_USER_CONSENT_REVOKED;
342 mSpyContext, STATUS_USER_CONSENT_REVOKED, /* checkLoggingStatus */ true); in checkNoUserConsent_gaUxFeatureEnabled()

12