Home
last modified time | relevance | path

Searched refs:GA_UX_NOTIFICATION_DISPLAYED_ONCE (Results 1 – 11 of 11) sorted by relevance

/packages/modules/AdServices/adservices/service/java/com/android/server/adservices/consent/
DConsentManager.java50 static final String GA_UX_NOTIFICATION_DISPLAYED_ONCE = "GA-UX-NOTIFICATION-DISPLAYED-ONCE"; field in ConsentManager
125 if (datastore.get(GA_UX_NOTIFICATION_DISPLAYED_ONCE) == null) { in createAndInitBooleanFileDatastore()
126 datastore.put(GA_UX_NOTIFICATION_DISPLAYED_ONCE, false); in createAndInitBooleanFileDatastore()
217 GA_UX_NOTIFICATION_DISPLAYED_ONCE, in recordGaUxNotificationDisplayed()
228 return getValueWithLock(GA_UX_NOTIFICATION_DISPLAYED_ONCE); in wasGaUxNotificationDisplayed()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/consent/
DConsentConstants.java26 public static final String GA_UX_NOTIFICATION_DISPLAYED_ONCE = field in ConsentConstants
DAppConsentStorageManager.java292 mDatastore.put(ConsentConstants.GA_UX_NOTIFICATION_DISPLAYED_ONCE, wasGaUxDisplayed); in recordGaUxNotificationDisplayed()
403 mDatastore.get(ConsentConstants.GA_UX_NOTIFICATION_DISPLAYED_ONCE), false); in wasGaUxNotificationDisplayed()
DConsentManager.java1140 ConsentConstants.GA_UX_NOTIFICATION_DISPLAYED_ONCE,
1165 () -> mDatastore.get(ConsentConstants.GA_UX_NOTIFICATION_DISPLAYED_ONCE),
1590 if (booleanFileDatastore.get(ConsentConstants.GA_UX_NOTIFICATION_DISPLAYED_ONCE)
1592 booleanFileDatastore.put(ConsentConstants.GA_UX_NOTIFICATION_DISPLAYED_ONCE, false);
DConsentManagerV2.java845 if (booleanFileDatastore.get(ConsentConstants.GA_UX_NOTIFICATION_DISPLAYED_ONCE) in createAndInitializeDataStore()
847 booleanFileDatastore.put(ConsentConstants.GA_UX_NOTIFICATION_DISPLAYED_ONCE, false); in createAndInitializeDataStore()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/appsearch/
DAppSearchConsentManager.java399 || datastore.get(ConsentConstants.GA_UX_NOTIFICATION_DISPLAYED_ONCE) in shouldInitConsentDataFromAppSearch()
473 datastore.put(ConsentConstants.GA_UX_NOTIFICATION_DISPLAYED_ONCE, true); in migrateConsentDataIfNeeded()
DAppSearchConsentStorageManager.java343 datastore.put(ConsentConstants.GA_UX_NOTIFICATION_DISPLAYED_ONCE, true); in migrateConsentDataIfNeeded()
730 || datastore.get(ConsentConstants.GA_UX_NOTIFICATION_DISPLAYED_ONCE) in shouldInitConsentDataFromAppSearch()
/packages/modules/AdServices/adservices/tests/unittest/service-core/appsearch/src/com/android/adservices/service/appsearch/
DAppSearchConsentManagerTest.java499 verify(mDatastore).put(eq(ConsentConstants.GA_UX_NOTIFICATION_DISPLAYED_ONCE), eq(true)); in testMigrateConsentData()
DAppSearchConsentStorageManagerTest.java492 verify(mDatastore).put(eq(ConsentConstants.GA_UX_NOTIFICATION_DISPLAYED_ONCE), eq(true)); in testMigrateConsentData()
/packages/modules/AdServices/adservices/tests/unittest/ui/src/com/android/adservices/service/consent/
DConsentManagerV2Test.java20 …t static com.android.adservices.service.consent.ConsentConstants.GA_UX_NOTIFICATION_DISPLAYED_ONCE;
2344 assertThat(mConsentDatastore.get(GA_UX_NOTIFICATION_DISPLAYED_ONCE)).isFalse(); in testGaUxNotificationDisplayedRecorded_SystemServerOnly()
2370 assertThat(mConsentDatastore.get(GA_UX_NOTIFICATION_DISPLAYED_ONCE)).isTrue(); in testGaUxNotificationDisplayedRecorded_PpApiAndSystemServer()
DConsentManagerTest.java22 …t static com.android.adservices.service.consent.ConsentConstants.GA_UX_NOTIFICATION_DISPLAYED_ONCE;
2424 assertThat(mConsentDatastore.get(GA_UX_NOTIFICATION_DISPLAYED_ONCE)).isFalse(); in testGaUxNotificationDisplayedRecorded_SystemServerOnly()
2450 assertThat(mConsentDatastore.get(GA_UX_NOTIFICATION_DISPLAYED_ONCE)).isTrue(); in testGaUxNotificationDisplayedRecorded_PpApiAndSystemServer()