Home
last modified time | relevance | path

Searched refs:FeatureFlagUtils (Results 1 – 13 of 13) 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/
DBootCompletedReceiver.java26 import android.util.FeatureFlagUtils;
64 FeatureFlagUtils.PERSIST_PREFIX + FeatureFlagUtils.DYNAMIC_SYSTEM, false); in featureFlagEnabled()
DVerificationActivity.java31 import android.util.FeatureFlagUtils;
55 Log.w(TAG, FeatureFlagUtils.DYNAMIC_SYSTEM + " not enabled; activity aborted."); in onCreate()
115 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;
327 Slog.w(TAG, FeatureFlagUtils.DYNAMIC_SYSTEM + " not enabled; bind() aborted."); in bind()
404 Slog.w(TAG, FeatureFlagUtils.DYNAMIC_SYSTEM + " not enabled; start() aborted."); in start()
424 FeatureFlagUtils.PERSIST_PREFIX + FeatureFlagUtils.DYNAMIC_SYSTEM, false); in featureFlagEnabled()
/frameworks/base/services/core/java/com/android/server/
DBluetoothManagerService.java65 import android.util.FeatureFlagUtils;
403 …String value = SystemProperties.get(FeatureFlagUtils.PERSIST_PREFIX + FeatureFlagUtils.HEARING_AID… in BluetoothManagerService()
407FeatureFlagUtils.setEnabled(context, FeatureFlagUtils.HEARING_AID_SETTINGS, isHearingAidEnabled); in BluetoothManagerService()
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsDialog.java60 import android.util.FeatureFlagUtils;
635 if (FeatureFlagUtils.isEnabled(mContext, FeatureFlagUtils.SCREENRECORD_LONG_PRESS)) { in onLongPress()
/frameworks/base/api/
Dtest-current.txt3003 public class FeatureFlagUtils {
3004 ctor public FeatureFlagUtils();
/frameworks/base/config/
Dpreloaded-classes3631 android.util.FeatureFlagUtils
Dhiddenapi-greylist-max-o.txt76869 Landroid/util/FeatureFlagUtils;
76870 Landroid/util/FeatureFlagUtils;-><init>()V
76871 Landroid/util/FeatureFlagUtils;->DEFAULT_FLAGS:Ljava/util/Map;
76872 Landroid/util/FeatureFlagUtils;->FFLAG_OVERRIDE_PREFIX:Ljava/lang/String;
76873 Landroid/util/FeatureFlagUtils;->FFLAG_PREFIX:Ljava/lang/String;
76874 Landroid/util/FeatureFlagUtils;->getAllFeatureFlags()Ljava/util/Map;
76875 Landroid/util/FeatureFlagUtils;->isEnabled(Landroid/content/Context;Ljava/lang/String;)Z
76876 Landroid/util/FeatureFlagUtils;->setEnabled(Landroid/content/Context;Ljava/lang/String;Z)V
Dboot-image-profile.txt15425 HSPLandroid/util/FeatureFlagUtils;->isEnabled(Landroid/content/Context;Ljava/lang/String;)Z
36287 Landroid/util/FeatureFlagUtils;