/packages/modules/AdServices/adservices/tests/unittest/ui/src/com/android/adservices/service/ui/enrollment/ |
D | PasReconsentNotificationChannelTest.java | 101 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()
|
D | PasFirstConsentNotificationChannelTest.java | 90 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/ |
D | UxStatesManager.java | 150 && 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/ |
D | ConsentCompositeStorage.java | 834 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()
|
D | AdServicesStorageManager.java | 390 public boolean wasPasNotificationDisplayed() throws IOException { in wasPasNotificationDisplayed() method in AdServicesStorageManager 391 return mAdServicesManager.wasPasNotificationDisplayed(); in wasPasNotificationDisplayed()
|
D | IConsentStorage.java | 275 boolean wasPasNotificationDisplayed() throws IOException; in wasPasNotificationDisplayed() method
|
D | ConsentManagerV2.java | 1405 && mConsentCompositeStorage.wasPasNotificationDisplayed() in isPasFledgeConsentGiven() 1426 public boolean wasPasNotificationDisplayed() { in wasPasNotificationDisplayed() method in ConsentManagerV2 1427 return mConsentCompositeStorage.wasPasNotificationDisplayed(); in wasPasNotificationDisplayed() 1445 && wasPasNotificationDisplayed() in isPasMeasurementConsentGiven()
|
D | ConsentManager.java | 1207 public Boolean wasPasNotificationDisplayed() { 1209 return ConsentManagerV2.getInstance().wasPasNotificationDisplayed(); 1214 () -> mAdServicesManager.wasPasNotificationDisplayed(), 2469 && wasPasNotificationDisplayed() 2488 && wasPasNotificationDisplayed()
|
D | AppConsentStorageManager.java | 425 public boolean wasPasNotificationDisplayed() throws IOException { in wasPasNotificationDisplayed() method in AppConsentStorageManager
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/ui/enrollment/impl/ |
D | PasFirstConsentNotificationChannel.java | 45 if (consentManager.wasPasNotificationDisplayed()) { in isEligible()
|
D | PasReconsentNotificationChannel.java | 47 if (consentManager.wasPasNotificationDisplayed()) { in isEligible()
|
D | AlreadyEnrolledChannel.java | 49 return consentManager.wasPasNotificationDisplayed() in isEligible()
|
/packages/modules/AdServices/adservices/tests/unittest/ui/src/com/android/adservices/service/consent/ |
D | ConsentManagerTest.java | 4807 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/ |
D | IAdServicesManager.aidl | 85 boolean wasPasNotificationDisplayed(); in wasPasNotificationDisplayed() method
|
D | AdServicesManager.java | 201 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/ |
D | ConsentManager.java | 247 public boolean wasPasNotificationDisplayed() { in wasPasNotificationDisplayed() method in ConsentManager
|
/packages/modules/AdServices/adservices/service/java/com/android/server/adservices/ |
D | AdServicesManagerService.java | 538 public boolean wasPasNotificationDisplayed() { in wasPasNotificationDisplayed() method in AdServicesManagerService 544 .wasPasNotificationDisplayed()); in wasPasNotificationDisplayed()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/appsearch/ |
D | AppSearchConsentStorageManager.java | 595 public boolean wasPasNotificationDisplayed() throws IOException { in wasPasNotificationDisplayed() method in AppSearchConsentStorageManager
|
/packages/modules/AdServices/adservices/apk/tests/notification/src/com/android/adservices/ui/notifications/ |
D | ConsentNotificationTriggerTest.java | 716 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/ |
D | AdServicesManagerServiceTest.java | 616 assertThat(service.wasPasNotificationDisplayed()).isFalse(); in testRecordPasNotificationDisplayed() 618 assertThat(service.wasPasNotificationDisplayed()).isTrue(); in testRecordPasNotificationDisplayed()
|