Home
last modified time | relevance | path

Searched refs:getDefaultConsent (Results 1 – 17 of 17) sorted by relevance

/packages/modules/AdServices/adservices/apk/tests/notification/src/com/android/adservices/ui/notifications/
DConsentNotificationTriggerTest.java173 verify(mConsentManager, times(2)).getDefaultConsent(); in testEuNotification_gaUxFlagEnabled()
246 verify(mConsentManager, times(2)).getDefaultConsent(); in testNonEuNotifications_gaUxEnabled()
287 verify(mConsentManager, times(2)).getDefaultConsent(); in testEuNotifications_gaUxEnabled_nonDismissable()
373 verify(mConsentManager, times(2)).getDefaultConsent(); in testEuNotifications_gaUxEnabled_nonDismissable_dismissedOnConfirmationPage()
463 verify(mConsentManager, times(2)).getDefaultConsent(); in testNotificationsDisabled()
507 assertThat(argument.getValue().getDefaultConsent()) in testRvcUxNotification()
513 assertThat(argument.getValue().getDefaultConsent()) in testRvcUxNotification()
622 assertThat(argument.getValue().getDefaultConsent()) in testRvcPostOtaNotification()
628 assertThat(argument.getValue().getDefaultConsent()) in testRvcPostOtaNotification()
641 verify(mConsentManager, times(2)).getDefaultConsent(); in testRvcPostOtaNotification()
[all …]
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/stats/
DUIStats.java44 && mDefaultConsent == uiStats.getDefaultConsent() in equals()
78 public int getDefaultConsent() { in getDefaultConsent() method in UIStats
DUiStatsLogger.java578 private static int getDefaultConsent() { in getDefaultConsent() method in UiStatsLogger
580 return getDefaultConsent(AdServicesApiType.MEASUREMENTS); in getDefaultConsent()
582 Boolean defaultConsent = ConsentManager.getInstance().getDefaultConsent(); in getDefaultConsent()
605 private static int getDefaultConsent(AdServicesApiType apiType) { in getDefaultConsent() method in UiStatsLogger
734 .setDefaultConsent(getDefaultConsent()) in getBaseUiStats()
745 .setDefaultConsent(getDefaultConsent(apiType)) in getBaseUiStats()
DStatsdAdServicesLogger.java170 uiStats.getDefaultConsent(), in logUIStats()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/consent/
DAdServicesStorageManager.java414 public Boolean getDefaultConsent() throws IOException { in getDefaultConsent() method in AdServicesStorageManager
415 return mAdServicesManager.getDefaultConsent(); in getDefaultConsent()
DIConsentStorage.java293 Boolean getDefaultConsent() throws IOException; in getDefaultConsent() method
DConsentCompositeStorage.java902 public Boolean getDefaultConsent() { in getDefaultConsent() method in ConsentCompositeStorage
905 return storage.getDefaultConsent(); in getDefaultConsent()
DAppConsentStorageManager.java450 public Boolean getDefaultConsent() throws IOException { in getDefaultConsent() method in AppConsentStorageManager
DConsentManagerV2.java1454 public boolean getDefaultConsent() { in getDefaultConsent() method in ConsentManagerV2
1455 return mConsentCompositeStorage.getDefaultConsent(); in getDefaultConsent()
DConsentManager.java1225 public Boolean getDefaultConsent() {
1227 return ConsentManagerV2.getInstance().getDefaultConsent();
1232 () -> mAdServicesManager.getDefaultConsent(),
/packages/modules/AdServices/adservices/framework/java/android/app/adservices/
DIAdServicesManager.aidl173 boolean getDefaultConsent(); in getDefaultConsent() method
DAdServicesManager.java466 public boolean getDefaultConsent() { in getDefaultConsent() method in AdServicesManager
468 return mService.getDefaultConsent(); in getDefaultConsent()
/packages/modules/AdServices/adservices/tests/unittest/ui/src/com/android/adservices/service/consent/
DConsentManagerV2Test.java4423 assertThat(spyConsentManager.getDefaultConsent()).isFalse(); in getDefaultConsentTest_SystemServerOnly()
4425 verify(mMockIAdServicesManager).getDefaultConsent(); in getDefaultConsentTest_SystemServerOnly()
4427 doReturn(true).when(mMockIAdServicesManager).getDefaultConsent(); in getDefaultConsentTest_SystemServerOnly()
4430 assertThat(spyConsentManager.getDefaultConsent()).isTrue(); in getDefaultConsentTest_SystemServerOnly()
4432 verify(mMockIAdServicesManager, times(2)).getDefaultConsent(); in getDefaultConsentTest_SystemServerOnly()
4443 assertThat(spyConsentManager.getDefaultConsent()).isFalse(); in getDefaultConsentTest_PpApiAndSystemServer()
4445 verify(mMockIAdServicesManager).getDefaultConsent(); in getDefaultConsentTest_PpApiAndSystemServer()
4447 doReturn(true).when(mMockIAdServicesManager).getDefaultConsent(); in getDefaultConsentTest_PpApiAndSystemServer()
4450 assertThat(spyConsentManager.getDefaultConsent()).isTrue(); in getDefaultConsentTest_PpApiAndSystemServer()
4452 verify(mMockIAdServicesManager, times(2)).getDefaultConsent(); in getDefaultConsentTest_PpApiAndSystemServer()
[all …]
DConsentManagerTest.java3331 assertThat(spyConsentManager.getDefaultConsent()).isFalse(); in testGetDefaultConsent_AppSearchOnly()
3342 assertThat(spyConsentManager.getDefaultConsent()).isFalse(); in testGetDefaultConsent_ppapiAndAdExtDataServiceOnly()
4398 assertThat(spyConsentManager.getDefaultConsent()).isNull(); in testDefaultConsentRecorded_PpApiOnly()
4400 verify(mMockIAdServicesManager, never()).getDefaultConsent(); in testDefaultConsentRecorded_PpApiOnly()
4404 assertThat(spyConsentManager.getDefaultConsent()).isTrue(); in testDefaultConsentRecorded_PpApiOnly()
4406 verify(mMockIAdServicesManager, never()).getDefaultConsent(); in testDefaultConsentRecorded_PpApiOnly()
4417 assertThat(spyConsentManager.getDefaultConsent()).isFalse(); in testDefaultConsentRecorded_SystemServerOnly()
4419 verify(mMockIAdServicesManager).getDefaultConsent(); in testDefaultConsentRecorded_SystemServerOnly()
4421 doReturn(true).when(mMockIAdServicesManager).getDefaultConsent(); in testDefaultConsentRecorded_SystemServerOnly()
4424 assertThat(spyConsentManager.getDefaultConsent()).isTrue(); in testDefaultConsentRecorded_SystemServerOnly()
[all …]
/packages/modules/AdServices/adservices/service/java/com/android/server/adservices/consent/
DConsentManager.java356 public boolean getDefaultConsent() { in getDefaultConsent() method in ConsentManager
/packages/modules/AdServices/adservices/service/java/com/android/server/adservices/
DAdServicesManagerService.java576 public boolean getDefaultConsent() { in getDefaultConsent() method in AdServicesManagerService
580 .getDefaultConsent()); in getDefaultConsent()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/appsearch/
DAppSearchConsentStorageManager.java620 public Boolean getDefaultConsent() throws IOException { in getDefaultConsent() method in AppSearchConsentStorageManager