Home
last modified time | relevance | path

Searched refs:CONSENT_KEY_FOR_ALL (Results 1 – 3 of 3) sorted by relevance

/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/consent/
DConsentConstants.java46 public static final String CONSENT_KEY_FOR_ALL = "CONSENT-ALL"; field in ConsentConstants
DConsentManager.java494 ConsentConstants.CONSENT_KEY_FOR_ALL)), in getConsent()
1948 ConsentConstants.CONSENT_KEY_FOR_ALL, isGiven),
1964 () -> mAppSearchConsentManager.getConsent(ConsentConstants.CONSENT_KEY_FOR_ALL),
/packages/modules/AdServices/adservices/tests/unittest/ui/src/com/android/adservices/service/consent/
DConsentManagerTest.java20 import static com.android.adservices.service.consent.ConsentConstants.CONSENT_KEY_FOR_ALL;
411 verify(mAppSearchConsentManagerMock, atLeastOnce()).getConsent(CONSENT_KEY_FOR_ALL); in testConsentIsGivenAfterEnabling_AppSearchOnly()
596 verify(mAppSearchConsentManagerMock, atLeastOnce()).getConsent(CONSENT_KEY_FOR_ALL); in testConsentIsRevokedAfterDisabling_AppSearchOnly()
3794 doReturn(isGiven).when(mAppSearchConsentManagerMock).getConsent(CONSENT_KEY_FOR_ALL); in getSpiedConsentManagerForMigrationTesting()