Home
last modified time | relevance | path

Searched refs:getAdServicesEnabled (Results 1 – 9 of 9) sorted by relevance

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/
DAdServicesCommonServiceImplTest.java147 doReturn(true).when(mFlags).getAdServicesEnabled(); in setup()
197 assertThat(getAdservicesStatusResult.getAdServicesEnabled()).isTrue(); in isAdServiceEnabledTest_userNotEnrolledEntryPointLogicV1()
219 assertThat(getAdservicesStatusResult.getAdServicesEnabled()).isFalse(); in isAdServiceEnabledTest_userNotEnrolledEntryPointLogicV2()
236 assertThat(getAdservicesStatusResult.getAdServicesEnabled()).isTrue(); in getAdserviceStatusTest()
239 doReturn(false).when(mFlags).getAdServicesEnabled(); in getAdserviceStatusTest()
243 assertThat(getAdservicesStatusResult.getAdServicesEnabled()).isFalse(); in getAdserviceStatusTest()
265 assertThat(getAdservicesStatusResult.getAdServicesEnabled()).isTrue(); in getAdserviceStatusWithCheckActivityTest()
273 assertThat(getAdservicesStatusResult.getAdServicesEnabled()).isFalse(); in getAdserviceStatusWithCheckActivityTest()
285 assertThat(getAdservicesStatusResult.getAdServicesEnabled()).isTrue(); in isAdservicesEnabledReconsentTest_happycase()
301 assertThat(getAdservicesStatusResult.getAdServicesEnabled()).isTrue(); in isAdservicesEnabledReconsentTest_gaUxFeatureDisabled()
[all …]
DAdServicesBackCompatInitTest.java321 doReturn(isEnabled).when(mMockFlags).getAdServicesEnabled(); in mockAdServicesFlags()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/
DAdServicesCommonServiceImpl.java155 boolean isAdServicesEnabled = mFlags.getAdServicesEnabled(); in isAdServicesEnabled()
236 + mFlags.getAdServicesEnabled()); in setAdServicesEnabled()
241 if (mFlags.getAdServicesEnabled() && adServicesEntryPointEnabled) { in setAdServicesEnabled()
273 boolean adserviceEnabled = mFlags.getAdServicesEnabled(); in reconsentIfNeededForEU()
DAdServicesBackCompatInit.java89 && mFlags.getAdServicesEnabled() in initializeComponents()
/packages/modules/AdServices/adservices/framework/java/android/adservices/common/
DIsAdServicesEnabledResult.java79 public boolean getAdServicesEnabled() { in getAdServicesEnabled() method in IsAdServicesEnabledResult
DAdServicesCommonManager.java145 callback.onResult(result.getAdServicesEnabled()); in isAdServicesEnabled()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/
DPhFlags.java2109 public boolean getAdServicesEnabled() { in getAdServicesEnabled() method in PhFlags
5027 "\t" + FlagsConstants.KEY_ADSERVICES_ENABLED + " = " + getAdServicesEnabled()); in dump()
5772 uxMap.put(FlagsConstants.KEY_ADSERVICES_ENABLED, getAdServicesEnabled()); in getUxFlags()
DFlags.java1870 default boolean getAdServicesEnabled() { in getAdServicesEnabled() method
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/
DPhFlagsTest.java2637 Flags::getAdServicesEnabled); in testGetAdServicesEnabled()