Home
last modified time | relevance | path

Searched refs:FeatureFlagUtils (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/core/tests/featureflagtests/src/android/util/
DFeatureFlagUtilsTest.java58 SystemProperties.set(FeatureFlagUtils.FFLAG_PREFIX + TEST_FEATURE_NAME, ""); in cleanup()
59 SystemProperties.set(FeatureFlagUtils.FFLAG_OVERRIDE_PREFIX + TEST_FEATURE_NAME, ""); in cleanup()
64 FeatureFlagUtils.getAllFeatureFlags().put(TEST_FEATURE_NAME, "true"); in testGetFlag_enabled_shouldReturnTrue()
66 assertTrue(FeatureFlagUtils.isEnabled(mContext, TEST_FEATURE_NAME)); in testGetFlag_enabled_shouldReturnTrue()
71 SystemProperties.set(FeatureFlagUtils.FFLAG_PREFIX + TEST_FEATURE_NAME, "false"); in testGetFlag_adb_override_shouldReturnTrue()
72 SystemProperties.set(FeatureFlagUtils.FFLAG_OVERRIDE_PREFIX + TEST_FEATURE_NAME, "true"); in testGetFlag_adb_override_shouldReturnTrue()
74 assertTrue(FeatureFlagUtils.isEnabled(mContext, TEST_FEATURE_NAME)); in testGetFlag_adb_override_shouldReturnTrue()
79 SystemProperties.set(FeatureFlagUtils.FFLAG_PREFIX + TEST_FEATURE_NAME, "false"); in testGetFlag_settings_override_shouldReturnTrue()
80 SystemProperties.set(FeatureFlagUtils.FFLAG_OVERRIDE_PREFIX + TEST_FEATURE_NAME, "false"); in testGetFlag_settings_override_shouldReturnTrue()
84 assertTrue(FeatureFlagUtils.isEnabled(mContext, TEST_FEATURE_NAME)); in testGetFlag_settings_override_shouldReturnTrue()
[all …]
/frameworks/base/core/java/android/util/
DOWNERS1 per-file FeatureFlagUtils.java = sbasi@google.com
2 per-file FeatureFlagUtils.java = zhfan@google.com
3 per-file FeatureFlagUtils.java = asapperstein@google.com
DFeatureFlagUtils.java34 public class FeatureFlagUtils { class
/frameworks/base/packages/DynamicSystemInstallationService/src/com/android/dynsystem/
DVerificationActivity.java28 import android.util.FeatureFlagUtils;
50 Log.w(TAG, FeatureFlagUtils.DYNAMIC_SYSTEM + " not enabled; activity aborted."); in onCreate()
106 FeatureFlagUtils.PERSIST_PREFIX + FeatureFlagUtils.DYNAMIC_SYSTEM, false); in featureFlagEnabled()
DBootCompletedReceiver.java26 import android.util.FeatureFlagUtils;
64 FeatureFlagUtils.PERSIST_PREFIX + FeatureFlagUtils.DYNAMIC_SYSTEM, false); in featureFlagEnabled()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DMediaTransferManager.java22 import android.util.FeatureFlagUtils;
87 if (!FeatureFlagUtils.isEnabled(mContext, FeatureFlagUtils.SEAMLESS_TRANSFER)) { in applyMediaTransferView()
/frameworks/base/core/java/android/os/image/
DDynamicSystemClient.java40 import android.util.FeatureFlagUtils;
328 Slog.w(TAG, FeatureFlagUtils.DYNAMIC_SYSTEM + " not enabled; bind() aborted."); in bind()
405 Slog.w(TAG, FeatureFlagUtils.DYNAMIC_SYSTEM + " not enabled; start() aborted."); in start()
425 FeatureFlagUtils.PERSIST_PREFIX + FeatureFlagUtils.DYNAMIC_SYSTEM, false); in featureFlagEnabled()
/frameworks/base/services/core/java/com/android/server/
DBluetoothManagerService.java66 import android.util.FeatureFlagUtils;
477 …String value = SystemProperties.get(FeatureFlagUtils.PERSIST_PREFIX + FeatureFlagUtils.HEARING_AID… in BluetoothManagerService()
481FeatureFlagUtils.setEnabled(context, FeatureFlagUtils.HEARING_AID_SETTINGS, isHearingAidEnabled); in BluetoothManagerService()
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsDialog.java59 import android.util.FeatureFlagUtils;
636 if (FeatureFlagUtils.isEnabled(mContext, FeatureFlagUtils.SCREENRECORD_LONG_PRESS)) { in onLongPress()
/frameworks/base/api/
Dtest-lint-baseline.txt1962 MissingNullability: android.util.FeatureFlagUtils#getAllFeatureFlags():
1964 MissingNullability: android.util.FeatureFlagUtils#isEnabled(android.content.Context, String) parame…
1966 MissingNullability: android.util.FeatureFlagUtils#isEnabled(android.content.Context, String) parame…
1968 MissingNullability: android.util.FeatureFlagUtils#setEnabled(android.content.Context, String, boole…
1970 MissingNullability: android.util.FeatureFlagUtils#setEnabled(android.content.Context, String, boole…
2421 PackageLayering: android.util.FeatureFlagUtils:
2671 StaticUtils: android.util.FeatureFlagUtils:
Dtest-current.txt4189 public class FeatureFlagUtils {
4190 ctor public FeatureFlagUtils();
/frameworks/base/config/
Dpreloaded-classes3631 android.util.FeatureFlagUtils
Dhiddenapi-greylist-max-o.txt71731 Landroid/util/FeatureFlagUtils;-><init>()V
71732 Landroid/util/FeatureFlagUtils;->DEFAULT_FLAGS:Ljava/util/Map;
71733 Landroid/util/FeatureFlagUtils;->FFLAG_OVERRIDE_PREFIX:Ljava/lang/String;
71734 Landroid/util/FeatureFlagUtils;->FFLAG_PREFIX:Ljava/lang/String;
71735 Landroid/util/FeatureFlagUtils;->getAllFeatureFlags()Ljava/util/Map;
71736 Landroid/util/FeatureFlagUtils;->isEnabled(Landroid/content/Context;Ljava/lang/String;)Z
71737 Landroid/util/FeatureFlagUtils;->setEnabled(Landroid/content/Context;Ljava/lang/String;Z)V
Dboot-image-profile.txt15424 HSPLandroid/util/FeatureFlagUtils;->isEnabled(Landroid/content/Context;Ljava/lang/String;)Z
36286 Landroid/util/FeatureFlagUtils;