Searched refs:createGivenConsent (Results 1 – 7 of 7) sorted by relevance
163 consentManager0.setConsent(ConsentParcel.createGivenConsent(ConsentParcel.ALL_API)); in testGetAndSetConsent_nonNull()169 consentManager0.setConsent(ConsentParcel.createGivenConsent(ConsentParcel.TOPICS)); in testGetAndSetConsent_nonNull()175 consentManager0.setConsent(ConsentParcel.createGivenConsent(ConsentParcel.FLEDGE)); in testGetAndSetConsent_nonNull()181 consentManager0.setConsent(ConsentParcel.createGivenConsent(ConsentParcel.MEASUREMENT)); in testGetAndSetConsent_nonNull()196 consentManager1.setConsent(ConsentParcel.createGivenConsent(ConsentParcel.ALL_API)); in testGetAndSetConsent_nonNull()215 consentManager.setConsent(ConsentParcel.createGivenConsent(ConsentParcel.ALL_API)); in testGetAndSetConsent_upgrade()228 consentManager.setConsent(ConsentParcel.createGivenConsent(ConsentParcel.ALL_API)); in testGetAndSetConsent_downgrade()235 consentManager.setConsent(ConsentParcel.createGivenConsent(ConsentParcel.ALL_API)); in testGetAndSetConsent_downgrade()242 consentManager.setConsent(ConsentParcel.createGivenConsent(ConsentParcel.ALL_API)); in testGetAndSetConsent_downgrade()249 consentManager.setConsent(ConsentParcel.createGivenConsent(ConsentParcel.TOPICS)); in testGetAndSetConsent_downgrade()[all …]
114 doReturn(ConsentParcel.createGivenConsent(ConsentParcel.ALL_API)) in testGetKnownAppsWithConsent()158 doReturn(ConsentParcel.createGivenConsent(ConsentParcel.ALL_API)) in testIsFledgeConsentRevokedForAppAfterSetFledgeUseWithFullApiConsent()204 doReturn(ConsentParcel.createGivenConsent(ConsentParcel.ALL_API)) in testIsFledgeConsentRevokedForAppWithFullApiConsentGaUxDisabled()244 doReturn(ConsentParcel.createGivenConsent(ConsentParcel.FLEDGE)) in testIsFledgeConsentRevokedForAppWithFullApiConsentGaUxEnabled()284 doReturn(ConsentParcel.createGivenConsent(ConsentParcel.ALL_API)) in testIsFledgeConsentRevokedForNotFoundAppGaUxDisabledThrows()300 doReturn(ConsentParcel.createGivenConsent(ConsentParcel.FLEDGE)) in testIsFledgeConsentRevokedForNotFoundAppGaUxEnabledThrows()
439 doReturn(ConsentParcel.createGivenConsent(ConsentParcel.ALL_API)) in testConsentManager_LazyEnable()457 doReturn(ConsentParcel.createGivenConsent(ConsentParcel.ALL_API)) in testConsentManager_LazyDisabled()474 doReturn(ConsentParcel.createGivenConsent(ConsentParcel.MEASUREMENT)) in testConsentManagerPreApi_LazyEnable()493 doReturn(ConsentParcel.createGivenConsent(ConsentParcel.MEASUREMENT)) in testConsentManagerPreApi_LazyDisabled()922 doReturn(ConsentParcel.createGivenConsent(ConsentParcel.FLEDGE)) in testIsFledgeConsentRevokedForAppWithFullApiConsentGaUxEnabled_systemServerOnly()1000 doReturn(ConsentParcel.createGivenConsent(ConsentParcel.FLEDGE)) in testIsFledgeConsentRevokedForAppWithFullApiConsentGaUxEnabled_ppApiAndSystemServer()1111 doReturn(ConsentParcel.createGivenConsent(ConsentParcel.FLEDGE)) in testIsFledgeConsentRevokedForNotFoundAppGaUxEnabledThrows_systemServerOnly()1129 doReturn(ConsentParcel.createGivenConsent(ConsentParcel.FLEDGE)) in testIsFledgeConsentRevokedForNotFoundAppGaUxEnabledThrows_ppApiAndSystemServer()1208 doReturn(ConsentParcel.createGivenConsent(ConsentParcel.FLEDGE)) in testIsFledgeConsentRevokedForAppAfterSetFledgeUseWithFullApiConsentGaUxEnabled_sysSer()1253 doReturn(ConsentParcel.createGivenConsent(ConsentParcel.FLEDGE)) in testIsFledgeConsentRevokedForAppAfterSetFledgeUseWithFullApiConsentGaUxEnabled_both()[all …]
422 doReturn(ConsentParcel.createGivenConsent(ConsentParcel.ALL_API)) in testConsentManager_LazyEnable()440 doReturn(ConsentParcel.createGivenConsent(ConsentParcel.ALL_API)) in testConsentManager_LazyDisabled()457 doReturn(ConsentParcel.createGivenConsent(ConsentParcel.MEASUREMENT)) in testConsentManagerPreApi_LazyEnable()481 doReturn(ConsentParcel.createGivenConsent(ConsentParcel.MEASUREMENT)) in testConsentManagerPreApi_LazyDisabled()975 doReturn(ConsentParcel.createGivenConsent(ConsentParcel.FLEDGE)) in testIsFledgeConsentRevokedForAppWithFullApiConsentGaUxEnabled_systemServerOnly()1053 doReturn(ConsentParcel.createGivenConsent(ConsentParcel.FLEDGE)) in testIsFledgeConsentRevokedForAppWithFullApiConsentGaUxEnabled_ppApiAndSystemServer()1164 doReturn(ConsentParcel.createGivenConsent(ConsentParcel.FLEDGE)) in testIsFledgeConsentRevokedForNotFoundAppGaUxEnabledThrows_systemServerOnly()1182 doReturn(ConsentParcel.createGivenConsent(ConsentParcel.FLEDGE)) in testIsFledgeConsentRevokedForNotFoundAppGaUxEnabledThrows_ppApiAndSystemServer()1265 doReturn(ConsentParcel.createGivenConsent(ConsentParcel.FLEDGE)) in testIsFledgeConsentRevokedForAppAfterSetFledgeUseWithFullApiConsentGaUxEnabled_sysSer()1310 doReturn(ConsentParcel.createGivenConsent(ConsentParcel.FLEDGE)) in testIsFledgeConsentRevokedForAppAfterSetFledgeUseWithFullApiConsentGaUxEnabled_both()[all …]
114 public static ConsentParcel createGivenConsent(@ConsentApiType int consentApiType) { in createGivenConsent() method in ConsentParcel
535 service.setConsent(ConsentParcel.createGivenConsent(ConsentParcel.ALL_API)); in testGetAndSetConsent_nonNull()541 service.setConsent(ConsentParcel.createGivenConsent(ConsentParcel.TOPICS)); in testGetAndSetConsent_nonNull()547 service.setConsent(ConsentParcel.createGivenConsent(ConsentParcel.FLEDGE)); in testGetAndSetConsent_nonNull()553 service.setConsent(ConsentParcel.createGivenConsent(ConsentParcel.MEASUREMENT)); in testGetAndSetConsent_nonNull()
1756 adServicesManager.setConsent(ConsentParcel.createGivenConsent(consentApiType));