Home
last modified time | relevance | path

Searched refs:wasPasNotificationOpened (Results 1 – 8 of 8) sorted by relevance

/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/ui/data/
DUxStatesManager.java191 return wasPasNotificationOpened() || beforeNotificationShown; in pasUxIsActive()
207 private boolean wasPasNotificationOpened() { in wasPasNotificationOpened() method in UxStatesManager
211 return ConsentManager.getInstance().wasPasNotificationOpened(); in wasPasNotificationOpened()
/packages/modules/AdServices/adservices/framework/java/android/app/adservices/
DIAdServicesManager.aidl98 boolean wasPasNotificationOpened(); in wasPasNotificationOpened() method
DAdServicesManager.java228 public boolean wasPasNotificationOpened() { in wasPasNotificationOpened() method in AdServicesManager
230 return mService.wasPasNotificationOpened(); in wasPasNotificationOpened()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/consent/
DConsentManager.java2464 return wasPasNotificationOpened() && getConsent(AdServicesApiType.FLEDGE).isGiven();
2483 return wasPasNotificationOpened()
2562 public Boolean wasPasNotificationOpened() {
2566 () -> mAdServicesManager.wasPasNotificationOpened(),
2573 public void recordPasNotificationOpened(boolean wasPasNotificationOpened) {
2577 ConsentConstants.PAS_NOTIFICATION_OPENED, wasPasNotificationOpened),
2578 () -> mAdServicesManager.recordPasNotificationOpened(wasPasNotificationOpened),
/packages/modules/AdServices/adservices/tests/unittest/ui/src/com/android/adservices/service/consent/
DConsentManagerTest.java5132 assertThat(spyConsentManager.wasPasNotificationOpened()).isFalse(); in testPasNotificationOpenedRecorded_PpApiOnly()
5134 verify(mMockIAdServicesManager, never()).wasPasNotificationOpened(); in testPasNotificationOpenedRecorded_PpApiOnly()
5138 assertThat(spyConsentManager.wasPasNotificationOpened()).isTrue(); in testPasNotificationOpenedRecorded_PpApiOnly()
5140 verify(mMockIAdServicesManager, never()).wasPasNotificationOpened(); in testPasNotificationOpenedRecorded_PpApiOnly()
5151 assertThat(spyConsentManager.wasPasNotificationOpened()).isFalse(); in testPasNotificationOpenedRecorded_SystemServerOnly()
5153 verify(mMockIAdServicesManager).wasPasNotificationOpened(); in testPasNotificationOpenedRecorded_SystemServerOnly()
5155 doReturn(true).when(mMockIAdServicesManager).wasPasNotificationOpened(); in testPasNotificationOpenedRecorded_SystemServerOnly()
5158 assertThat(spyConsentManager.wasPasNotificationOpened()).isTrue(); in testPasNotificationOpenedRecorded_SystemServerOnly()
5160 verify(mMockIAdServicesManager, times(2)).wasPasNotificationOpened(); in testPasNotificationOpenedRecorded_SystemServerOnly()
5174 Boolean wasPasNotificationOpened = spyConsentManager.wasPasNotificationOpened(); in testPasNotificationOpenedRecorded_PpApiAndSystemServer() local
[all …]
/packages/modules/AdServices/adservices/service/java/com/android/server/adservices/consent/
DConsentManager.java265 public boolean wasPasNotificationOpened() { in wasPasNotificationOpened() method in ConsentManager
/packages/modules/AdServices/adservices/service/java/com/android/server/adservices/
DAdServicesManagerService.java565 public boolean wasPasNotificationOpened() { in wasPasNotificationOpened() method in AdServicesManagerService
571 .wasPasNotificationOpened()); in wasPasNotificationOpened()
/packages/modules/AdServices/adservices/tests/unittest/system-service/src/com/android/server/adservices/
DAdServicesManagerServiceTest.java629 assertThat(service.wasPasNotificationOpened()).isFalse(); in testRecordPasNotificationOpened()
631 assertThat(service.wasPasNotificationOpened()).isTrue(); in testRecordPasNotificationOpened()