Home
last modified time | relevance | path

Searched refs:createRevokedConsent (Results 1 – 8 of 8) sorted by relevance

/packages/modules/AdServices/adservices/tests/unittest/system-service/src/com/android/server/adservices/consent/
DConsentManagerTest.java160 consentManager0.setConsent(ConsentParcel.createRevokedConsent(ConsentParcel.ALL_API)); in testGetAndSetConsent_nonNull()
166 consentManager0.setConsent(ConsentParcel.createRevokedConsent(ConsentParcel.TOPICS)); in testGetAndSetConsent_nonNull()
172 consentManager0.setConsent(ConsentParcel.createRevokedConsent(ConsentParcel.FLEDGE)); in testGetAndSetConsent_nonNull()
178 consentManager0.setConsent(ConsentParcel.createRevokedConsent(ConsentParcel.MEASUREMENT)); in testGetAndSetConsent_nonNull()
192 consentManager0.setConsent(ConsentParcel.createRevokedConsent(ConsentParcel.ALL_API)); in testGetAndSetConsent_nonNull()
210 consentManager.setConsent(ConsentParcel.createRevokedConsent(ConsentParcel.ALL_API)); in testGetAndSetConsent_upgrade()
231 consentManager.setConsent(ConsentParcel.createRevokedConsent(ConsentParcel.TOPICS)); in testGetAndSetConsent_downgrade()
238 consentManager.setConsent(ConsentParcel.createRevokedConsent(ConsentParcel.FLEDGE)); in testGetAndSetConsent_downgrade()
245 consentManager.setConsent(ConsentParcel.createRevokedConsent(ConsentParcel.MEASUREMENT)); in testGetAndSetConsent_downgrade()
/packages/modules/AdServices/adservices/framework/java/android/app/adservices/consent/
DConsentParcel.java106 public static ConsentParcel createRevokedConsent(@ConsentApiType int consentApiType) { in createRevokedConsent() method in ConsentParcel
/packages/modules/AdServices/adservices/tests/unittest/system-service/src/com/android/server/adservices/
DAdServicesManagerServiceTest.java532 service.setConsent(ConsentParcel.createRevokedConsent(ConsentParcel.ALL_API)); in testGetAndSetConsent_nonNull()
538 service.setConsent(ConsentParcel.createRevokedConsent(ConsentParcel.TOPICS)); in testGetAndSetConsent_nonNull()
544 service.setConsent(ConsentParcel.createRevokedConsent(ConsentParcel.FLEDGE)); in testGetAndSetConsent_nonNull()
550 service.setConsent(ConsentParcel.createRevokedConsent(ConsentParcel.MEASUREMENT)); in testGetAndSetConsent_nonNull()
/packages/modules/AdServices/adservices/service/java/com/android/server/adservices/consent/
DConsentManager.java149 return ConsentParcel.createRevokedConsent(consentApiType); in getConsent()
/packages/modules/AdServices/adservices/tests/unittest/ui/src/com/android/adservices/service/consent/
DConsentManagerV2Test.java1058 doReturn(ConsentParcel.createRevokedConsent(ConsentParcel.FLEDGE)) in testIsFledgeConsentRevokedForAppWithoutPrivacySandboxConsentGaUxEnabled_sysServer()
1076 doReturn(ConsentParcel.createRevokedConsent(ConsentParcel.FLEDGE)) in testIsFledgeConsentRevokedForAppWithoutPrivacySandboxConsentGaUxEnabled_bothSrc()
1318 doReturn(ConsentParcel.createRevokedConsent(ConsentParcel.FLEDGE)) in testIsFledgeConsentRevokedForAppSetFledgeUseNoPrivacySandboxConsentGaUxEnabled_sysSer()
1337 doReturn(ConsentParcel.createRevokedConsent(ConsentParcel.FLEDGE)) in testIsFledgeConsentRevokedForAppSetFledgeUseNoPrivacySandboxConsentGaUxEnabled_both()
3500 : ConsentParcel.createRevokedConsent(ConsentParcel.ALL_API); in getSpiedConsentManagerForMigrationTesting()
3527 : ConsentParcel.createRevokedConsent(consentApiType); in getSpiedConsentManagerForConsentPerApiTesting()
DConsentManagerTest.java1111 doReturn(ConsentParcel.createRevokedConsent(ConsentParcel.FLEDGE)) in testIsFledgeConsentRevokedForAppWithoutPrivacySandboxConsentGaUxEnabled_sysServer()
1129 doReturn(ConsentParcel.createRevokedConsent(ConsentParcel.FLEDGE)) in testIsFledgeConsentRevokedForAppWithoutPrivacySandboxConsentGaUxEnabled_bothSrc()
1375 doReturn(ConsentParcel.createRevokedConsent(ConsentParcel.FLEDGE)) in testIsFledgeConsentRevokedForAppSetFledgeUseNoPrivacySandboxConsentGaUxEnabled_sysSer()
1394 doReturn(ConsentParcel.createRevokedConsent(ConsentParcel.FLEDGE)) in testIsFledgeConsentRevokedForAppSetFledgeUseNoPrivacySandboxConsentGaUxEnabled_both()
3786 : ConsentParcel.createRevokedConsent(ConsentParcel.ALL_API); in getSpiedConsentManagerForMigrationTesting()
3815 : ConsentParcel.createRevokedConsent(consentApiType); in getSpiedConsentManagerForConsentPerApiTesting()
/packages/modules/AdServices/adservices/service/java/com/android/server/adservices/
DAdServicesManagerService.java236 ConsentParcel.createRevokedConsent(consentApiType), in getConsent()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/consent/
DConsentManager.java1758 adServicesManager.setConsent(ConsentParcel.createRevokedConsent(consentApiType));