/packages/modules/AdServices/adservices/tests/unittest/ui/src/com/android/adservices/service/ui/ |
D | UxEngineTest.java | 162 verify(mConsentManager, never()).isEntryPointEnabled(); in startTest_uxDisabled() 190 doReturn(false).when(mConsentManager).isEntryPointEnabled(); in startTest_entryPointDisabled() 198 verify(mConsentManager).isEntryPointEnabled(); in startTest_entryPointDisabled() 228 doReturn(entryPointEnabled).when(mConsentManager).isEntryPointEnabled(); in startTest_u18FeatureDisabled() 237 verify(mConsentManager).isEntryPointEnabled(); in startTest_u18FeatureDisabled() 266 doReturn(entryPointEnabled).when(mConsentManager).isEntryPointEnabled(); in startTest_isNotU18Account() 277 verify(mConsentManager).isEntryPointEnabled(); in startTest_isNotU18Account() 307 doReturn(entryPointEnabled).when(mConsentManager).isEntryPointEnabled(); in startTest_u18UxEligible() 317 verify(mConsentManager).isEntryPointEnabled(); in startTest_u18UxEligible() 357 doReturn(entryPointEnabled).when(mConsentManager).isEntryPointEnabled(); in startTest_rvcSelected() [all …]
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/appsearch/ |
D | AppSearchUxStatesDao.java | 77 boolean isEntryPointEnabled, in AppSearchUxStatesDao() argument 89 this.mIsEntryPointEnabled = isEntryPointEnabled; in AppSearchUxStatesDao() 176 public boolean isEntryPointEnabled() { in isEntryPointEnabled() method in AppSearchUxStatesDao 181 public void setEntryPointEnabled(boolean isEntryPointEnabled) { in setEntryPointEnabled() argument 182 mIsEntryPointEnabled = isEntryPointEnabled; in setEntryPointEnabled() 363 return dao.isEntryPointEnabled(); in readIsEntryPointEnabled()
|
D | AppSearchConsentManager.java | 574 public void setEntryPointEnabled(boolean isEntryPointEnabled) { in setEntryPointEnabled() argument 575 mAppSearchConsentWorker.setEntryPointEnabled(isEntryPointEnabled); in setEntryPointEnabled() 579 public Boolean isEntryPointEnabled() { in isEntryPointEnabled() method in AppSearchConsentManager 580 return mAppSearchConsentWorker.isEntryPointEnabled(); in isEntryPointEnabled()
|
D | AppSearchConsentStorageManager.java | 277 public boolean isEntryPointEnabled() { in isEntryPointEnabled() method in AppSearchConsentStorageManager 278 return mAppSearchConsentWorker.isEntryPointEnabled(); in isEntryPointEnabled() 541 public void setEntryPointEnabled(boolean isEntryPointEnabled) { in setEntryPointEnabled() argument 542 mAppSearchConsentWorker.setEntryPointEnabled(isEntryPointEnabled); in setEntryPointEnabled()
|
D | AppSearchConsentWorker.java | 631 boolean isEntryPointEnabled() { in isEntryPointEnabled() method in AppSearchConsentWorker 642 void setEntryPointEnabled(boolean isEntryPointEnabled) { in setEntryPointEnabled() argument 655 dao.setEntryPointEnabled(isEntryPointEnabled); in setEntryPointEnabled()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/consent/ |
D | AdServicesStorageManager.java | 231 public boolean isEntryPointEnabled() { in isEntryPointEnabled() method in AdServicesStorageManager 232 return mAdServicesManager.isEntryPointEnabled(); in isEntryPointEnabled() 341 public void setEntryPointEnabled(boolean isEntryPointEnabled) { in setEntryPointEnabled() argument 342 mAdServicesManager.setEntryPointEnabled(isEntryPointEnabled); in setEntryPointEnabled()
|
D | IConsentStorage.java | 159 boolean isEntryPointEnabled() throws IOException; in isEntryPointEnabled() method 246 void setEntryPointEnabled(boolean isEntryPointEnabled) throws IOException; in setEntryPointEnabled() argument
|
D | AppConsentStorageManager.java | 263 public boolean isEntryPointEnabled() { in isEntryPointEnabled() method in AppConsentStorageManager 270 public void setEntryPointEnabled(boolean isEntryPointEnabled) throws IOException { in setEntryPointEnabled() argument 271 mDatastore.put(ConsentConstants.IS_ENTRY_POINT_ENABLED, isEntryPointEnabled); in setEntryPointEnabled()
|
D | ConsentCompositeStorage.java | 475 public boolean isEntryPointEnabled() { in isEntryPointEnabled() method in ConsentCompositeStorage 478 return storage.isEntryPointEnabled(); in isEntryPointEnabled() 493 public void setEntryPointEnabled(boolean isEntryPointEnabled) { in setEntryPointEnabled() argument 496 storage.setEntryPointEnabled(isEntryPointEnabled); in setEntryPointEnabled()
|
D | ConsentManager.java | 2261 public Boolean isEntryPointEnabled() { 2263 return ConsentManagerV2.getInstance().isEntryPointEnabled(); 2268 () -> mAdServicesManager.isEntryPointEnabled(), 2269 () -> mAppSearchConsentManager.isEntryPointEnabled(), 2275 public void setEntryPointEnabled(boolean isEntryPointEnabled) { 2277 ConsentManagerV2.getInstance().setEntryPointEnabled(isEntryPointEnabled); 2281 () -> mDatastore.put(ConsentConstants.IS_ENTRY_POINT_ENABLED, isEntryPointEnabled), 2282 () -> mAdServicesManager.setEntryPointEnabled(isEntryPointEnabled), 2283 () -> mAppSearchConsentManager.setEntryPointEnabled(isEntryPointEnabled), 2285 () -> mDatastore.put(ConsentConstants.IS_ENTRY_POINT_ENABLED, isEntryPointEnabled),
|
D | ConsentManagerV2.java | 1314 public boolean isEntryPointEnabled() { in isEntryPointEnabled() method in ConsentManagerV2 1315 return mConsentCompositeStorage.isEntryPointEnabled(); in isEntryPointEnabled() 1319 public void setEntryPointEnabled(boolean isEntryPointEnabled) { in setEntryPointEnabled() argument 1320 mConsentCompositeStorage.setEntryPointEnabled(isEntryPointEnabled); in setEntryPointEnabled()
|
/packages/modules/AdServices/adservices/framework/java/android/app/adservices/ |
D | IAdServicesManager.aidl | 236 boolean isEntryPointEnabled(); in isEntryPointEnabled() method 239 void setEntryPointEnabled(boolean isEntryPointEnabled); in setEntryPointEnabled() argument
|
D | AdServicesManager.java | 592 public boolean isEntryPointEnabled() { in isEntryPointEnabled() method in AdServicesManager 594 return mService.isEntryPointEnabled(); in isEntryPointEnabled() 602 public void setEntryPointEnabled(boolean isEntryPointEnabled) { in setEntryPointEnabled() argument 604 mService.setEntryPointEnabled(isEntryPointEnabled); in setEntryPointEnabled()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/appsearch/src/com/android/adservices/service/appsearch/ |
D | AppSearchConsentStorageManagerTest.java | 611 private void setEntryPointEnabledTest(boolean isEntryPointEnabled) { in setEntryPointEnabledTest() argument 612 mAppSearchConsentStorageManager.setEntryPointEnabled(isEntryPointEnabled); in setEntryPointEnabledTest() 613 verify(mAppSearchConsentWorker).setEntryPointEnabled(isEntryPointEnabled); in setEntryPointEnabledTest() 618 when(mAppSearchConsentWorker.isEntryPointEnabled()).thenReturn(false); in isEntryPointEnabledTest_defaultFalseBit() 619 expect.that(mAppSearchConsentStorageManager.isEntryPointEnabled()).isFalse(); in isEntryPointEnabledTest_defaultFalseBit() 620 verify(mAppSearchConsentWorker).isEntryPointEnabled(); in isEntryPointEnabledTest_defaultFalseBit()
|
D | AppSearchConsentWorkerTest.java | 1074 private void isEntryPointEnabledTest(boolean isEntryPointEnabled) { in isEntryPointEnabledTest() argument 1075 ExtendedMockito.doReturn(isEntryPointEnabled) in isEntryPointEnabledTest() 1082 assertThat(appSearchConsentWorker.isEntryPointEnabled()).isEqualTo(isEntryPointEnabled); in isEntryPointEnabledTest() 1118 private void setEntryPointEnabledTest(boolean isEntryPointEnabled) { in setEntryPointEnabledTest() argument 1125 () -> worker.setEntryPointEnabled(isEntryPointEnabled)); in setEntryPointEnabledTest()
|
D | AppSearchConsentManagerTest.java | 614 when(mAppSearchConsentWorker.isEntryPointEnabled()).thenReturn(false); in isEntryPointEnabledTest_defaultFalseBit() 615 assertThat(mAppSearchConsentManager.isEntryPointEnabled()).isFalse(); in isEntryPointEnabledTest_defaultFalseBit() 616 verify(mAppSearchConsentWorker).isEntryPointEnabled(); in isEntryPointEnabledTest_defaultFalseBit()
|
D | AppSearchUxStatesDaoTest.java | 163 Mockito.when(dao.isEntryPointEnabled()).thenReturn(false); in isEntryPointEnabledTest_trueBit() 178 Mockito.when(dao2.isEntryPointEnabled()).thenReturn(true); in isEntryPointEnabledTest_trueBit()
|
/packages/modules/AdServices/adservices/tests/unittest/ui/src/com/android/adservices/service/consent/ |
D | ConsentCompositeStorageTest.java | 87 consentCompositeStorage.isEntryPointEnabled(); in testAllReadMethods() 128 Mockito.verify(consentStorage).isEntryPointEnabled(); in verifyReadMethods()
|
D | ConsentManagerV2Test.java | 3964 assertThat(spyConsentManager.isEntryPointEnabled()).isTrue(); in isEntryPointEnabledTest_ppapiAndAdExtDataServiceOnly() 3966 assertThat(spyConsentManager.isEntryPointEnabled()).isFalse(); in isEntryPointEnabledTest_ppapiAndAdExtDataServiceOnly() 3976 assertThat(spyConsentManager.isEntryPointEnabled()).isFalse(); in isEntryPointEnabledTest_SystemServerOnly() 3978 verify(mMockIAdServicesManager).isEntryPointEnabled(); in isEntryPointEnabledTest_SystemServerOnly() 3980 doReturn(true).when(mMockIAdServicesManager).isEntryPointEnabled(); in isEntryPointEnabledTest_SystemServerOnly() 3983 assertThat(spyConsentManager.isEntryPointEnabled()).isTrue(); in isEntryPointEnabledTest_SystemServerOnly() 3985 verify(mMockIAdServicesManager, times(2)).isEntryPointEnabled(); in isEntryPointEnabledTest_SystemServerOnly() 3996 Boolean isEntryPointEnabled = spyConsentManager.isEntryPointEnabled(); in isEntryPointEnabledTest_PpApiAndSystemServer() local 3998 assertThat(isEntryPointEnabled).isFalse(); in isEntryPointEnabledTest_PpApiAndSystemServer() 4000 verify(mMockIAdServicesManager).isEntryPointEnabled(); in isEntryPointEnabledTest_PpApiAndSystemServer() [all …]
|
D | ConsentManagerTest.java | 4239 assertThat(spyConsentManager.isEntryPointEnabled()).isTrue(); in isEntryPointEnabledTest_ppapiAndAdExtDataServiceOnly() 4241 assertThat(spyConsentManager.isEntryPointEnabled()).isFalse(); in isEntryPointEnabledTest_ppapiAndAdExtDataServiceOnly() 4251 assertThat(spyConsentManager.isEntryPointEnabled()).isFalse(); in isEntryPointEnabledTest_SystemServerOnly() 4253 verify(mMockIAdServicesManager).isEntryPointEnabled(); in isEntryPointEnabledTest_SystemServerOnly() 4255 doReturn(true).when(mMockIAdServicesManager).isEntryPointEnabled(); in isEntryPointEnabledTest_SystemServerOnly() 4258 assertThat(spyConsentManager.isEntryPointEnabled()).isTrue(); in isEntryPointEnabledTest_SystemServerOnly() 4260 verify(mMockIAdServicesManager, times(2)).isEntryPointEnabled(); in isEntryPointEnabledTest_SystemServerOnly() 4271 Boolean isEntryPointEnabled = spyConsentManager.isEntryPointEnabled(); in isEntryPointEnabledTest_PpApiAndSystemServer() local 4273 assertThat(isEntryPointEnabled).isFalse(); in isEntryPointEnabledTest_PpApiAndSystemServer() 4275 verify(mMockIAdServicesManager).isEntryPointEnabled(); in isEntryPointEnabledTest_PpApiAndSystemServer() [all …]
|
/packages/modules/AdServices/adservices/service/java/com/android/server/adservices/consent/ |
D | ConsentManager.java | 488 public boolean isEntryPointEnabled() { in isEntryPointEnabled() method in ConsentManager 493 public void setEntryPointEnabled(boolean isEntryPointEnabled) { in setEntryPointEnabled() argument 496 isEntryPointEnabled, /* callerName */ in setEntryPointEnabled()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/ui/ux/impl/ |
D | UnsupportedUx.java | 42 || !consentManager.isEntryPointEnabled(); in isEligible()
|
/packages/modules/AdServices/adservices/tests/unittest/ui/src/com/android/adservices/service/ui/ux/ |
D | UnsupportedUxTest.java | 76 doReturn(false).when(mConsentManager).isEntryPointEnabled(); in isEligibleTest_adultUserWithGaFlagOff()
|
/packages/modules/AdServices/adservices/service/java/com/android/server/adservices/ |
D | AdServicesManagerService.java | 1224 public boolean isEntryPointEnabled() { in isEntryPointEnabled() method in AdServicesManagerService 1227 userId).isEntryPointEnabled()); in isEntryPointEnabled() 1232 public void setEntryPointEnabled(boolean isEntryPointEnabled) { in setEntryPointEnabled() argument 1241 .setEntryPointEnabled(isEntryPointEnabled); in setEntryPointEnabled()
|
/packages/modules/AdServices/adservices/tests/unittest/ui/src/com/android/adservices/service/ui/util/ |
D | UxEngineUtilTest.java | 103 doReturn(true).when(mConsentManager).isEntryPointEnabled(); in setup() 142 doReturn(false).when(mConsentManager).isEntryPointEnabled(); in getEligibleUxCollectionTest_entryPointDisabled()
|