Home
last modified time | relevance | path

Searched refs:wasPasNotificationDisplayed (Results 1 – 20 of 20) sorted by relevance

/packages/modules/AdServices/adservices/tests/unittest/ui/src/com/android/adservices/service/ui/enrollment/
DPasReconsentNotificationChannelTest.java101 doReturn(true).when(mConsentManager).wasPasNotificationDisplayed(); in isEligibleTest_pasNotificationAlreadyDisplayed()
117 doReturn(false).when(mConsentManager).wasPasNotificationDisplayed(); in isEligibleTest_NoManualInteraction_consentRevoked_pas()
136 doReturn(false).when(mConsentManager).wasPasNotificationDisplayed(); in isEligibleTest_hasManualInteraction_consentRevoked_pas()
157 doReturn(false).when(mConsentManager).wasPasNotificationDisplayed(); in isEligibleTest_consentGiven_pas()
176 doReturn(false).when(mConsentManager).wasPasNotificationDisplayed(); in isEligibleTest_adultRvcUser_ConsentRevoked_pas()
196 doReturn(false).when(mConsentManager).wasPasNotificationDisplayed(); in isEligibleTest_adultRvcUser_ConsentGiven_pas()
DPasFirstConsentNotificationChannelTest.java90 doReturn(true).when(mConsentManager).wasPasNotificationDisplayed(); in isEligibleTest_pasNotificationAlreadyDisplayed()
105 doReturn(false).when(mConsentManager).wasPasNotificationDisplayed(); in isEligibleTest_NoManualInteraction_consentRevoked_pas()
124 doReturn(false).when(mConsentManager).wasPasNotificationDisplayed(); in isEligibleTest_hasManualInteraction_consentRevoked_pas()
140 doReturn(false).when(mConsentManager).wasPasNotificationDisplayed(); in isEligibleTest_consentGiven_pas()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/ui/data/
DUxStatesManager.java150 && mConsentManager.wasPasNotificationDisplayed()); in isEnrolledUser()
195 && (wasPasNotificationDisplayed() || beforeNotificationShown); in pasUxIsActive()
199 private boolean wasPasNotificationDisplayed() { in wasPasNotificationDisplayed() method in UxStatesManager
203 return ConsentManager.getInstance().wasPasNotificationDisplayed(); in wasPasNotificationDisplayed()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/consent/
DConsentCompositeStorage.java834 public boolean wasPasNotificationDisplayed() { in wasPasNotificationDisplayed() method in ConsentCompositeStorage
837 return storage.wasPasNotificationDisplayed(); in wasPasNotificationDisplayed()
851 public void recordPasNotificationDisplayed(boolean wasPasNotificationDisplayed) { in recordPasNotificationDisplayed() argument
854 storage.recordPasNotificationDisplayed(wasPasNotificationDisplayed); in recordPasNotificationDisplayed()
DAdServicesStorageManager.java390 public boolean wasPasNotificationDisplayed() throws IOException { in wasPasNotificationDisplayed() method in AdServicesStorageManager
391 return mAdServicesManager.wasPasNotificationDisplayed(); in wasPasNotificationDisplayed()
DIConsentStorage.java275 boolean wasPasNotificationDisplayed() throws IOException; in wasPasNotificationDisplayed() method
DConsentManagerV2.java1405 && mConsentCompositeStorage.wasPasNotificationDisplayed() in isPasFledgeConsentGiven()
1426 public boolean wasPasNotificationDisplayed() { in wasPasNotificationDisplayed() method in ConsentManagerV2
1427 return mConsentCompositeStorage.wasPasNotificationDisplayed(); in wasPasNotificationDisplayed()
1445 && wasPasNotificationDisplayed() in isPasMeasurementConsentGiven()
DConsentManager.java1207 public Boolean wasPasNotificationDisplayed() {
1209 return ConsentManagerV2.getInstance().wasPasNotificationDisplayed();
1214 () -> mAdServicesManager.wasPasNotificationDisplayed(),
2469 && wasPasNotificationDisplayed()
2488 && wasPasNotificationDisplayed()
DAppConsentStorageManager.java425 public boolean wasPasNotificationDisplayed() throws IOException { in wasPasNotificationDisplayed() method in AppConsentStorageManager
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/ui/enrollment/impl/
DPasFirstConsentNotificationChannel.java45 if (consentManager.wasPasNotificationDisplayed()) { in isEligible()
DPasReconsentNotificationChannel.java47 if (consentManager.wasPasNotificationDisplayed()) { in isEligible()
DAlreadyEnrolledChannel.java49 return consentManager.wasPasNotificationDisplayed() in isEligible()
/packages/modules/AdServices/adservices/tests/unittest/ui/src/com/android/adservices/service/consent/
DConsentManagerTest.java4807 assertThat(spyConsentManager.wasPasNotificationDisplayed()).isFalse(); in testPasNotificationDisplayedRecorded_PpApiOnly()
4809 verify(mMockIAdServicesManager, never()).wasPasNotificationDisplayed(); in testPasNotificationDisplayedRecorded_PpApiOnly()
4813 assertThat(spyConsentManager.wasPasNotificationDisplayed()).isTrue(); in testPasNotificationDisplayedRecorded_PpApiOnly()
4815 verify(mMockIAdServicesManager, never()).wasPasNotificationDisplayed(); in testPasNotificationDisplayedRecorded_PpApiOnly()
4826 assertThat(spyConsentManager.wasPasNotificationDisplayed()).isFalse(); in testPasNotificationDisplayedRecorded_SystemServerOnly()
4828 verify(mMockIAdServicesManager).wasPasNotificationDisplayed(); in testPasNotificationDisplayedRecorded_SystemServerOnly()
4830 doReturn(true).when(mMockIAdServicesManager).wasPasNotificationDisplayed(); in testPasNotificationDisplayedRecorded_SystemServerOnly()
4833 assertThat(spyConsentManager.wasPasNotificationDisplayed()).isTrue(); in testPasNotificationDisplayedRecorded_SystemServerOnly()
4835 verify(mMockIAdServicesManager, times(2)).wasPasNotificationDisplayed(); in testPasNotificationDisplayedRecorded_SystemServerOnly()
4849 Boolean wasPasNotificationDisplayed = spyConsentManager.wasPasNotificationDisplayed(); in testPasNotificationDisplayedRecorded_PpApiAndSystemServer() local
[all …]
/packages/modules/AdServices/adservices/framework/java/android/app/adservices/
DIAdServicesManager.aidl85 boolean wasPasNotificationDisplayed(); in wasPasNotificationDisplayed() method
DAdServicesManager.java201 public boolean wasPasNotificationDisplayed() { in wasPasNotificationDisplayed() method in AdServicesManager
203 return mService.wasPasNotificationDisplayed(); in wasPasNotificationDisplayed()
/packages/modules/AdServices/adservices/service/java/com/android/server/adservices/consent/
DConsentManager.java247 public boolean wasPasNotificationDisplayed() { in wasPasNotificationDisplayed() method in ConsentManager
/packages/modules/AdServices/adservices/service/java/com/android/server/adservices/
DAdServicesManagerService.java538 public boolean wasPasNotificationDisplayed() { in wasPasNotificationDisplayed() method in AdServicesManagerService
544 .wasPasNotificationDisplayed()); in wasPasNotificationDisplayed()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/appsearch/
DAppSearchConsentStorageManager.java595 public boolean wasPasNotificationDisplayed() throws IOException { in wasPasNotificationDisplayed() method in AppSearchConsentStorageManager
/packages/modules/AdServices/adservices/apk/tests/notification/src/com/android/adservices/ui/notifications/
DConsentNotificationTriggerTest.java716 doReturn(false).when(mConsentManager).wasPasNotificationDisplayed(); in testPasNotifications_PasUxEnabled_FirstNotice()
774 doReturn(false).when(mConsentManager).wasPasNotificationDisplayed(); in testPasNotifications_PasUxEnabled_RenotifyNotice()
/packages/modules/AdServices/adservices/tests/unittest/system-service/src/com/android/server/adservices/
DAdServicesManagerServiceTest.java616 assertThat(service.wasPasNotificationDisplayed()).isFalse(); in testRecordPasNotificationDisplayed()
618 assertThat(service.wasPasNotificationDisplayed()).isTrue(); in testRecordPasNotificationDisplayed()