Home
last modified time | relevance | path

Searched refs:KEY_ADSERVICES_ENABLED (Results 1 – 16 of 16) sorted by relevance

/packages/modules/AdServices/adservices/tests/unittest/ui/src/com/android/adservices/service/ui/
DUxEngineTest.java19 import static com.android.adservices.service.FlagsConstants.KEY_ADSERVICES_ENABLED;
123 doReturn(true).when(mUxStatesManager).getFlag(KEY_ADSERVICES_ENABLED); in setup()
146 doReturn(false).when(mUxStatesManager).getFlag(KEY_ADSERVICES_ENABLED); in startTest_uxDisabled()
161 verify(mUxStatesManager).getFlag(KEY_ADSERVICES_ENABLED); in startTest_uxDisabled()
197 verify(mUxStatesManager).getFlag(KEY_ADSERVICES_ENABLED); in startTest_entryPointDisabled()
236 verify(mUxStatesManager).getFlag(KEY_ADSERVICES_ENABLED); in startTest_u18FeatureDisabled()
276 verify(mUxStatesManager).getFlag(KEY_ADSERVICES_ENABLED); in startTest_isNotU18Account()
316 verify(mUxStatesManager).getFlag(KEY_ADSERVICES_ENABLED); in startTest_u18UxEligible()
365 verify(mUxStatesManager).getFlag(KEY_ADSERVICES_ENABLED); in startTest_rvcSelected()
424 verify(mUxStatesManager).getFlag(KEY_ADSERVICES_ENABLED); in startTest_gaUxFeatureDisabled()
[all …]
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/ui/ux/impl/
DUnsupportedUx.java18 import static com.android.adservices.service.FlagsConstants.KEY_ADSERVICES_ENABLED;
41 return !uxStatesManager.getFlag(KEY_ADSERVICES_ENABLED) in isEligible()
/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/cts/
DAdServicesCommonManagerTest.java19 import static com.android.adservices.service.FlagsConstants.KEY_ADSERVICES_ENABLED;
67 @SetFlagFalse(KEY_ADSERVICES_ENABLED)
89 @SetFlagFalse(KEY_ADSERVICES_ENABLED)
/packages/modules/AdServices/adservices/tests/cts/ui/gaux/debugchannel/src/com/android/adservices/tests/ui/gaux/debugchannel/
DAdServicesGaUxDebugChannelCtsRootTestCase.java19 import static com.android.adservices.service.FlagsConstants.KEY_ADSERVICES_ENABLED;
39 @SetFlagEnabled(KEY_ADSERVICES_ENABLED)
/packages/modules/AdServices/adservices/tests/cts/ui/gaux/graduationchannel/src/com/android/adservices/tests/ui/gaux/graduationchannel/
DAdServicesGaUxGraduationChannelTestCase.java19 import static com.android.adservices.service.FlagsConstants.KEY_ADSERVICES_ENABLED;
39 @SetFlagEnabled(KEY_ADSERVICES_ENABLED)
/packages/modules/AdServices/adservices/tests/cts/ui/gaux/alreadyenrolledchannel/src/com/android/adservices/tests/ui/gaux/alreadyenrolledchannel/
DAdServicesGaUxAlreadyEnrolledChannelTestCase.java19 import static com.android.adservices.service.FlagsConstants.KEY_ADSERVICES_ENABLED;
39 @SetFlagEnabled(KEY_ADSERVICES_ENABLED)
/packages/modules/AdServices/adservices/tests/cts/hosttests/src/com/android/adservices/cts/
DAdExtServicesBootCompleteReceiverHostTest.java19 import static com.android.adservices.service.FlagsConstants.KEY_ADSERVICES_ENABLED;
45 @SetFlagEnabled(KEY_ADSERVICES_ENABLED)
DTopicsApiLoggingHostTest.java20 import static com.android.adservices.service.FlagsConstants.KEY_ADSERVICES_ENABLED;
71 @SetFlagEnabled(KEY_ADSERVICES_ENABLED)
DUiApiLoggingHostTest.java20 import static com.android.adservices.service.FlagsConstants.KEY_ADSERVICES_ENABLED;
69 @SetFlagEnabled(KEY_ADSERVICES_ENABLED)
/packages/modules/AdServices/adservices/tests/unittest/ui/src/com/android/adservices/service/ui/ux/
DUnsupportedUxTest.java19 import static com.android.adservices.service.FlagsConstants.KEY_ADSERVICES_ENABLED;
69 doReturn(false).when(mUxStatesManager).getFlag(KEY_ADSERVICES_ENABLED); in isEligibleTest_uiKillSwitchOn()
/packages/modules/AdServices/adservices/tests/cts/ui/gaux/rpostotachannel/src/com/android/adservices/tests/ui/gaux/rpostotachannel/
DAdServicesRvcPostOTAChannelTestCase.java19 import static com.android.adservices.service.FlagsConstants.KEY_ADSERVICES_ENABLED;
42 @SetFlagEnabled(KEY_ADSERVICES_ENABLED)
/packages/modules/AdServices/adservices/tests/unittest/ui/src/com/android/adservices/service/ui/util/
DUxEngineUtilTest.java19 import static com.android.adservices.service.FlagsConstants.KEY_ADSERVICES_ENABLED;
104 doReturn(true).when(mUxStatesManager).getFlag(KEY_ADSERVICES_ENABLED); in setup()
134 doReturn(false).when(mUxStatesManager).getFlag(KEY_ADSERVICES_ENABLED); in getEligibleUxCollectionTest_adServicesDisabled()
/packages/modules/AdServices/adservices/tests/test-util/side-less/com/android/adservices/common/
DAbstractAdServicesFlagsSetterRule.java195 return setFlag(FlagsConstants.KEY_ADSERVICES_ENABLED, value); in setAdServicesEnabled()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/
DFlagsConstants.java981 public static final String KEY_ADSERVICES_ENABLED = "adservice_enabled"; field in FlagsConstants
DPhFlags.java2114 return getDeviceConfigFlag(FlagsConstants.KEY_ADSERVICES_ENABLED, ADSERVICES_ENABLED); in getAdServicesEnabled()
5027 "\t" + FlagsConstants.KEY_ADSERVICES_ENABLED + " = " + getAdServicesEnabled()); in dump()
5772 uxMap.put(FlagsConstants.KEY_ADSERVICES_ENABLED, getAdServicesEnabled()); in getUxFlags()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/
DPhFlagsTest.java524 import static com.android.adservices.service.FlagsConstants.KEY_ADSERVICES_ENABLED;
2633 KEY_ADSERVICES_ENABLED, in testGetAdServicesEnabled()