Home
last modified time | relevance | path

Searched refs:consentSourceOfTruth (Results 1 – 5 of 5) sorted by relevance

/packages/modules/AdServices/adservices/tests/unittest/ui/src/com/android/adservices/service/consent/
DConsentManagerTest.java334 int consentSourceOfTruth = Flags.PPAPI_ONLY; in testConsentIsGivenAfterEnabling_PpApiOnly() local
336 getSpiedConsentManagerForMigrationTesting(isGiven, consentSourceOfTruth); in testConsentIsGivenAfterEnabling_PpApiOnly()
355 int consentSourceOfTruth = Flags.SYSTEM_SERVER_ONLY; in testConsentIsGivenAfterEnabling_SystemServerOnly() local
357 getSpiedConsentManagerForMigrationTesting(isGiven, consentSourceOfTruth); in testConsentIsGivenAfterEnabling_SystemServerOnly()
376 int consentSourceOfTruth = Flags.PPAPI_AND_SYSTEM_SERVER; in testConsentIsGivenAfterEnabling_PPAPIAndSystemServer() local
378 getSpiedConsentManagerForMigrationTesting(isGiven, consentSourceOfTruth); in testConsentIsGivenAfterEnabling_PPAPIAndSystemServer()
396 int consentSourceOfTruth = Flags.APPSEARCH_ONLY; in testConsentIsGivenAfterEnabling_AppSearchOnly() local
399 getSpiedConsentManagerForMigrationTesting(isGiven, consentSourceOfTruth); in testConsentIsGivenAfterEnabling_AppSearchOnly()
419 int consentSourceOfTruth = Flags.PPAPI_AND_SYSTEM_SERVER; in testConsentManager_LazyEnable() local
421 getSpiedConsentManagerForMigrationTesting(isGiven, consentSourceOfTruth); in testConsentManager_LazyEnable()
[all …]
DConsentManagerV2Test.java356 int consentSourceOfTruth = Flags.PPAPI_ONLY; in testConsentIsGivenAfterEnabling_PpApiOnly() local
358 getSpiedConsentManagerForMigrationTesting(isGiven, consentSourceOfTruth); in testConsentIsGivenAfterEnabling_PpApiOnly()
376 int consentSourceOfTruth = Flags.SYSTEM_SERVER_ONLY; in testConsentIsGivenAfterEnabling_SystemServerOnly() local
378 getSpiedConsentManagerForMigrationTesting(isGiven, consentSourceOfTruth); in testConsentIsGivenAfterEnabling_SystemServerOnly()
396 int consentSourceOfTruth = Flags.PPAPI_AND_SYSTEM_SERVER; in testConsentIsGivenAfterEnabling_PPAPIAndSystemServer() local
398 getSpiedConsentManagerForMigrationTesting(isGiven, consentSourceOfTruth); in testConsentIsGivenAfterEnabling_PPAPIAndSystemServer()
415 int consentSourceOfTruth = Flags.APPSEARCH_ONLY; in testConsentIsGivenAfterEnabling_AppSearchOnly() local
418 getSpiedConsentManagerForMigrationTesting(isGiven, consentSourceOfTruth); in testConsentIsGivenAfterEnabling_AppSearchOnly()
436 int consentSourceOfTruth = Flags.PPAPI_AND_SYSTEM_SERVER; in testConsentManager_LazyEnable() local
438 getSpiedConsentManagerForMigrationTesting(isGiven, consentSourceOfTruth); in testConsentManager_LazyEnable()
[all …]
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/consent/
DConsentManagerV2.java156 @Flags.ConsentSourceOfTruth int consentSourceOfTruth, in ConsentManagerV2() argument
169 if (consentSourceOfTruth != Flags.PPAPI_ONLY in ConsentManagerV2()
170 && consentSourceOfTruth != Flags.APPSEARCH_ONLY) { in ConsentManagerV2()
200 new ConsentCompositeStorage(getStorageListBySourceOfTruth(consentSourceOfTruth)); in ConsentManagerV2()
204 @Flags.ConsentSourceOfTruth int consentSourceOfTruth) { in getStorageListBySourceOfTruth()
205 switch (consentSourceOfTruth) { in getStorageListBySourceOfTruth()
237 int consentSourceOfTruth = FlagsFactory.getFlags().getConsentSourceOfTruth(); in getInstance() local
247 if (SdkLevel.isAtLeastT() && consentSourceOfTruth == Flags.APPSEARCH_ONLY) { in getInstance()
248 consentSourceOfTruth = Flags.DEFAULT_CONSENT_SOURCE_OF_TRUTH; in getInstance()
305 consentSourceOfTruth); in getInstance()
[all …]
DConsentManager.java166 @Flags.ConsentSourceOfTruth int consentSourceOfTruth, in ConsentManager() argument
179 if (consentSourceOfTruth == Flags.SYSTEM_SERVER_ONLY in ConsentManager()
180 || consentSourceOfTruth == Flags.PPAPI_AND_SYSTEM_SERVER) { in ConsentManager()
208 mConsentSourceOfTruth = consentSourceOfTruth; in ConsentManager()
226 int consentSourceOfTruth = FlagsFactory.getFlags().getConsentSourceOfTruth(); in getInstance() local
235 if (SdkLevel.isAtLeastT() && consentSourceOfTruth == Flags.APPSEARCH_ONLY) { in getInstance()
236 consentSourceOfTruth = Flags.DEFAULT_CONSENT_SOURCE_OF_TRUTH; in getInstance()
284 consentSourceOfTruth); in getInstance()
304 consentSourceOfTruth, in getInstance()
1622 @Flags.ConsentSourceOfTruth int consentSourceOfTruth) {
[all …]
/packages/modules/AdServices/adservices/apk/tests/settings/src/com/android/adservices/ui/settings/
DAppConsentSettingsUiAutomatorTest.java210 private void appConsentTest(int consentSourceOfTruth, boolean dialogsOn) in appConsentTest() argument
213 "device_config put adservices consent_source_of_truth " + consentSourceOfTruth); in appConsentTest()