Searched refs:FeatureFlagUtils (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/core/tests/featureflagtests/src/android/util/ |
D | FeatureFlagUtilsTest.java | 57 SystemProperties.set(FeatureFlagUtils.FFLAG_PREFIX + TEST_FEATURE_NAME, ""); in cleanup() 58 SystemProperties.set(FeatureFlagUtils.FFLAG_OVERRIDE_PREFIX + TEST_FEATURE_NAME, ""); in cleanup() 63 FeatureFlagUtils.getAllFeatureFlags().put(TEST_FEATURE_NAME, "true"); in testGetFlag_enabled_shouldReturnTrue() 65 assertTrue(FeatureFlagUtils.isEnabled(mContext, TEST_FEATURE_NAME)); in testGetFlag_enabled_shouldReturnTrue() 70 SystemProperties.set(FeatureFlagUtils.FFLAG_PREFIX + TEST_FEATURE_NAME, "false"); in testGetFlag_adb_override_shouldReturnTrue() 71 SystemProperties.set(FeatureFlagUtils.FFLAG_OVERRIDE_PREFIX + TEST_FEATURE_NAME, "true"); in testGetFlag_adb_override_shouldReturnTrue() 73 assertTrue(FeatureFlagUtils.isEnabled(mContext, TEST_FEATURE_NAME)); in testGetFlag_adb_override_shouldReturnTrue() 78 SystemProperties.set(FeatureFlagUtils.FFLAG_PREFIX + TEST_FEATURE_NAME, "false"); in testGetFlag_settings_override_shouldReturnTrue() 79 SystemProperties.set(FeatureFlagUtils.FFLAG_OVERRIDE_PREFIX + TEST_FEATURE_NAME, "false"); in testGetFlag_settings_override_shouldReturnTrue() 83 assertTrue(FeatureFlagUtils.isEnabled(mContext, TEST_FEATURE_NAME)); in testGetFlag_settings_override_shouldReturnTrue() [all …]
|
/frameworks/base/core/java/android/util/ |
D | OWNERS | 1 per-file FeatureFlagUtils.java = sbasi@google.com 2 per-file FeatureFlagUtils.java = zhfan@google.com
|
D | FeatureFlagUtils.java | 32 public class FeatureFlagUtils { class
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 31975 HSPLandroid/util/FeatureFlagUtils;->isEnabled(Landroid/content/Context;Ljava/lang/String;)Z 58489 Landroid/util/FeatureFlagUtils;
|