Home
last modified time | relevance | path

Searched refs:FeatureFlags (Results 1 – 25 of 103) sorted by relevance

12345

/packages/apps/Launcher3/src/com/android/launcher3/util/
DPreconditions.java23 import com.android.launcher3.config.FeatureFlags;
31 if (FeatureFlags.IS_DOGFOOD_BUILD && o == null) { in assertNotNull()
37 if (FeatureFlags.IS_DOGFOOD_BUILD && !isSameLooper(MODEL_EXECUTOR.getLooper())) { in assertWorkerThread()
43 if (FeatureFlags.IS_DOGFOOD_BUILD && !isSameLooper(Looper.getMainLooper())) { in assertUIThread()
49 if (FeatureFlags.IS_DOGFOOD_BUILD && isSameLooper(Looper.getMainLooper())) { in assertNonUiThread()
DIOUtils.java23 import com.android.launcher3.config.FeatureFlags;
70 if (!FeatureFlags.IS_DOGFOOD_BUILD) { in createTempFile()
90 if (FeatureFlags.IS_DOGFOOD_BUILD) { in closeSilently()
/packages/apps/Settings/src/com/android/settings/network/
DNetworkDashboardFragment.java30 import com.android.settings.core.FeatureFlags;
63 if (FeatureFlagPersistent.isEnabled(getContext(), FeatureFlags.NETWORK_INTERNET_V2)) { in getPreferenceScreenResId()
74 if (FeatureFlagPersistent.isEnabled(context, FeatureFlags.NETWORK_INTERNET_V2)) { in onAttach()
99 if (!FeatureFlagPersistent.isEnabled(context, FeatureFlags.NETWORK_INTERNET_V2)) { in buildPreferenceControllers()
120 if (FeatureFlagPersistent.isEnabled(context, FeatureFlags.NETWORK_INTERNET_V2)) { in buildPreferenceControllers()
172 FeatureFlags.NETWORK_INTERNET_V2)) {
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/telephony/
DMobileNetworkSettings.java37 import com.android.car.developeroptions.core.FeatureFlags;
120 if (FeatureFlagPersistent.isEnabled(getContext(), FeatureFlags.NETWORK_INTERNET_V2) && in createPreferenceControllers()
133 if (FeatureFlagPersistent.isEnabled(getContext(), FeatureFlags.NETWORK_INTERNET_V2)) { in onAttach()
148 if (!FeatureFlagPersistent.isEnabled(getContext(), FeatureFlags.NETWORK_INTERNET_V2)) { in onAttach()
194 if (FeatureFlagPersistent.isEnabled(getContext(), FeatureFlags.NETWORK_INTERNET_V2)) { in getPreferenceScreenResId()
233 if (FeatureFlagPersistent.isEnabled(getContext(), FeatureFlags.NETWORK_INTERNET_V2) && in onCreateOptionsMenu()
245 if (FeatureFlagPersistent.isEnabled(getContext(), FeatureFlags.NETWORK_INTERNET_V2) && in onOptionsItemSelected()
DMobileNetworkActivity.java40 import com.android.car.developeroptions.core.FeatureFlags;
82 if (FeatureFlagPersistent.isEnabled(this, FeatureFlags.NETWORK_INTERNET_V2)) { in onCreate()
147 if (!FeatureFlagPersistent.isEnabled(this, FeatureFlags.NETWORK_INTERNET_V2)) { in updateSubscriptions()
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherAppWidgetHost.java32 import com.android.launcher3.config.FeatureFlags;
83 if (FeatureFlags.GO_DISABLE_WIDGETS) { in startListening()
110 if (FeatureFlags.GO_DISABLE_WIDGETS) { in stopListening()
169 if (FeatureFlags.GO_DISABLE_WIDGETS) { in allocateAppWidgetId()
266 if (FeatureFlags.GO_DISABLE_WIDGETS) { in startBindFlow()
282 if (FeatureFlags.GO_DISABLE_WIDGETS) { in startConfigActivity()
DLauncherAppState.java33 import com.android.launcher3.config.FeatureFlags;
95 if (FeatureFlags.IS_DOGFOOD_BUILD) { in LauncherAppState()
98 FeatureFlags.APP_SEARCH_IMPROVEMENTS.addChangeListener(context, mModel::forceReload); in LauncherAppState()
DMainProcessInitializer.java21 import com.android.launcher3.config.FeatureFlags;
39 FeatureFlags.initialize(context); in init()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/
DNetworkDashboardFragment.java30 import com.android.car.developeroptions.core.FeatureFlags;
63 if (FeatureFlagPersistent.isEnabled(getContext(), FeatureFlags.NETWORK_INTERNET_V2)) { in getPreferenceScreenResId()
74 if (FeatureFlagPersistent.isEnabled(context, FeatureFlags.NETWORK_INTERNET_V2)) { in onAttach()
99 if (!FeatureFlagPersistent.isEnabled(context, FeatureFlags.NETWORK_INTERNET_V2)) { in buildPreferenceControllers()
120 if (FeatureFlagPersistent.isEnabled(context, FeatureFlags.NETWORK_INTERNET_V2)) { in buildPreferenceControllers()
172 FeatureFlags.NETWORK_INTERNET_V2)) {
/packages/apps/Launcher3/src/com/android/launcher3/config/
DFlagTogglerPrefUi.java52 for (TogglableFlag flag : FeatureFlags.getTogglableFlags()) {
66 for (BaseTogglableFlag flag : FeatureFlags.getTogglableFlags()) {
79 FeatureFlags.FLAGS_PREF_NAME, Context.MODE_PRIVATE); in FlagTogglerPrefUi()
87 for (BaseTogglableFlag flag : FeatureFlags.getTogglableFlags()) { in applyTo()
143 for (TogglableFlag flag : FeatureFlags.getTogglableFlags()) { in anyChanged()
/packages/apps/Launcher3/src/com/android/launcher3/compat/
DAppWidgetManagerCompatVL.java31 import com.android.launcher3.config.FeatureFlags;
54 if (FeatureFlags.GO_DISABLE_WIDGETS) { in getAllProviders()
85 if (FeatureFlags.GO_DISABLE_WIDGETS) { in bindAppWidgetIdIfAllowed()
97 if (FeatureFlags.GO_DISABLE_WIDGETS) { in findProvider()
120 if (FeatureFlags.GO_DISABLE_WIDGETS) { in getAllProvidersMap()
DPackageInstallerCompatVL.java35 import com.android.launcher3.config.FeatureFlags;
147 if (Utilities.ATLEAST_OREO && FeatureFlags.PROMISE_APPS_NEW_INSTALLS.get() in tryQueuePromiseAppIcon()
167 if (FeatureFlags.LAUNCHER3_PROMISE_APPS_IN_ALL_APPS && sessionInfo != null) {
190 if (!success && FeatureFlags.PROMISE_APPS_NEW_INSTALLS.get()
DAppWidgetManagerCompatVO.java24 import com.android.launcher3.config.FeatureFlags;
38 if (FeatureFlags.GO_DISABLE_WIDGETS) { in getAllProviders()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/development/featureflags/
DFeatureFlagPersistent.java26 import com.android.car.developeroptions.core.FeatureFlags;
37 PERSISTENT_FLAGS.add(FeatureFlags.HEARING_AID_SETTINGS);
38 PERSISTENT_FLAGS.add(FeatureFlags.NETWORK_INTERNET_V2);
39 PERSISTENT_FLAGS.add(FeatureFlags.DYNAMIC_SYSTEM);
/packages/apps/Settings/src/com/android/settings/development/featureflags/
DFeatureFlagPersistent.java26 import com.android.settings.core.FeatureFlags;
37 PERSISTENT_FLAGS.add(FeatureFlags.HEARING_AID_SETTINGS);
38 PERSISTENT_FLAGS.add(FeatureFlags.NETWORK_INTERNET_V2);
39 PERSISTENT_FLAGS.add(FeatureFlags.DYNAMIC_SYSTEM);
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/telephony/
DMobileNetworkSettingsTest.java39 import com.android.settings.core.FeatureFlags;
96 FeatureFlagPersistent.setEnabled(mContext, FeatureFlags.NETWORK_INTERNET_V2, false); in onAttach_noV2Flag_noCrash()
102 FeatureFlagPersistent.setEnabled(mContext, FeatureFlags.NETWORK_INTERNET_V2, true); in onAttach_v2Flag_noCrash()
108 FeatureFlagPersistent.setEnabled(mContext, FeatureFlags.NETWORK_INTERNET_V2, false); in createPreferenceControllers_noV2Flag_noDataUsageSummaryController()
119 FeatureFlagPersistent.setEnabled(mContext, FeatureFlags.NETWORK_INTERNET_V2, true); in createPreferenceControllers_v2Flag_createsDataUsageSummaryController()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/
DBinderTracker.java24 import com.android.launcher3.config.FeatureFlags;
34 if (!FeatureFlags.IS_DOGFOOD_BUILD) { in start()
43 if (!FeatureFlags.IS_DOGFOOD_BUILD) { in stop()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/savedaccesspoints/
DSavedAccessPointsWifiSettings.java30 import com.android.car.developeroptions.core.FeatureFlags;
201 return FeatureFlagUtils.isEnabled(context, FeatureFlags.WIFI_DETAILS_SAVED_SCREEN); in usingDetailsFragment()
205 return FeatureFlagUtils.isEnabled(getContext(), FeatureFlags.MOBILE_NETWORK_V2) in isSubscriptionsFeatureEnabled()
206 && FeatureFlagPersistent.isEnabled(getContext(), FeatureFlags.NETWORK_INTERNET_V2); in isSubscriptionsFeatureEnabled()
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/config/
DFlagOverrideRule.java61 FeatureFlags.initialize(RuntimeEnvironment.application.getApplicationContext()); in apply()
98 for (TogglableFlag flag : FeatureFlags.getTogglableFlags()) {
114 for (BaseTogglableFlag flag : FeatureFlags.getTogglableFlags()) {
DFlagOverrideSampleTest.java27 assertTrue(FeatureFlags.EXAMPLE_FLAG.get()); in withFlagOn()
34 assertFalse(FeatureFlags.EXAMPLE_FLAG.get()); in withFlagOff()
/packages/apps/Settings/src/com/android/settings/wifi/savedaccesspoints/
DSavedAccessPointsWifiSettings.java30 import com.android.settings.core.FeatureFlags;
128 return FeatureFlagUtils.isEnabled(getContext(), FeatureFlags.MOBILE_NETWORK_V2) in isSubscriptionsFeatureEnabled()
129 && FeatureFlagPersistent.isEnabled(getContext(), FeatureFlags.NETWORK_INTERNET_V2); in isSubscriptionsFeatureEnabled()
/packages/apps/Settings/tests/robotests/src/com/android/settings/sound/
DAudioOutputSwitchPreferenceControllerTest.java48 import com.android.settings.core.FeatureFlags;
186 FeatureFlagUtils.setEnabled(mContext, FeatureFlags.AUDIO_SWITCHER_SETTINGS, false); in getAvailabilityStatus_disableFlagNoBluetoothFeature_returnUnavailable()
194 FeatureFlagUtils.setEnabled(mContext, FeatureFlags.AUDIO_SWITCHER_SETTINGS, false); in getAvailabilityStatus_disableFlagWithBluetoothFeature_returnUnavailable()
203 FeatureFlagUtils.setEnabled(mContext, FeatureFlags.AUDIO_SWITCHER_SETTINGS, true); in getAvailabilityStatus_enableFlagWithBluetoothFeature_returnAvailable()
211 FeatureFlagUtils.setEnabled(mContext, FeatureFlags.AUDIO_SWITCHER_SETTINGS, true); in getAvailabilityStatus_enableFlagNoBluetoothFeature_returnUnavailable()
/packages/apps/Settings/src/com/android/settings/network/telephony/
DMobileNetworkSettings.java41 import com.android.settings.core.FeatureFlags;
140 if (FeatureFlagPersistent.isEnabled(getContext(), FeatureFlags.NETWORK_INTERNET_V2)) { in onAttach()
161 if (!FeatureFlagPersistent.isEnabled(getContext(), FeatureFlags.NETWORK_INTERNET_V2)) { in onAttach()
218 if (FeatureFlagPersistent.isEnabled(getContext(), FeatureFlags.NETWORK_INTERNET_V2)) { in getPreferenceScreenResId()
/packages/apps/Launcher3/src_flags/com/android/launcher3/config/
DFeatureFlags.java24 public final class FeatureFlags extends BaseFlags { class
25 private FeatureFlags() { in FeatureFlags() method in FeatureFlags
/packages/apps/Launcher3/go/src/com/android/launcher3/config/
DFeatureFlags.java24 public final class FeatureFlags extends BaseFlags { class
25 private FeatureFlags() { in FeatureFlags() method in FeatureFlags

12345