Searched refs:createRevokedConsent (Results 1 – 8 of 8) sorted by relevance
160 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()
106 public static ConsentParcel createRevokedConsent(@ConsentApiType int consentApiType) { in createRevokedConsent() method in ConsentParcel
532 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()
149 return ConsentParcel.createRevokedConsent(consentApiType); in getConsent()
1058 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()
1111 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()
236 ConsentParcel.createRevokedConsent(consentApiType), in getConsent()
1758 adServicesManager.setConsent(ConsentParcel.createRevokedConsent(consentApiType));