Home
last modified time | relevance | path

Searched refs:FeatureFlagUtils (Results 1 – 16 of 16) 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/packages/SystemUI/src/com/android/systemui/statusbar/
DFeatureFlags.java20 import android.util.FeatureFlagUtils;
108 return FeatureFlagUtils.isEnabled(mContext, FeatureFlagUtils.SETTINGS_PROVIDER_MODEL); in isProviderModelSettingEnabled()
113 return FeatureFlagUtils.isEnabled(context, FeatureFlagUtils.SETTINGS_PROVIDER_MODEL); in isProviderModelSettingEnabled()
/frameworks/base/core/java/android/util/
DOWNERS1 per-file FeatureFlagUtils.java = sbasi@google.com
2 per-file FeatureFlagUtils.java = tmfang@google.com
3 per-file FeatureFlagUtils.java = asapperstein@google.com
DFeatureFlagUtils.java36 public class FeatureFlagUtils { class
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/carrier/
DQSCarrierTest.java25 import android.util.FeatureFlagUtils;
56 if (FeatureFlagUtils.isEnabled(mContext, FeatureFlagUtils.SETTINGS_PROVIDER_MODEL)) { in setUp()
/frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/
DUtils.java58 import android.util.FeatureFlagUtils;
85 return FeatureFlagUtils.isEnabled(context, FeatureFlagUtils.SETTINGS_PROVIDER_MODEL); in isProviderModelEnabled()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsBackupAgent.java50 import android.util.FeatureFlagUtils;
643 if (!FeatureFlagUtils.isEnabled(getBaseContext(), in getSettingsToPreserveInRestore()
644 FeatureFlagUtils.SETTINGS_DO_NOT_RESTORE_PRESERVED)) { in getSettingsToPreserveInRestore()
/frameworks/base/services/core/java/com/android/server/
DBluetoothManagerService.java81 import android.util.FeatureFlagUtils;
507 …String value = SystemProperties.get(FeatureFlagUtils.PERSIST_PREFIX + FeatureFlagUtils.HEARING_AID… in BluetoothManagerService()
511FeatureFlagUtils.setEnabled(context, FeatureFlagUtils.HEARING_AID_SETTINGS, isHearingAidEnabled); in BluetoothManagerService()
/frameworks/base/core/api/
Dtest-lint-baseline.txt2142 MissingNullability: android.util.FeatureFlagUtils#getAllFeatureFlags():
2144 MissingNullability: android.util.FeatureFlagUtils#isEnabled(android.content.Context, String) parame…
2146 MissingNullability: android.util.FeatureFlagUtils#isEnabled(android.content.Context, String) parame…
2148 MissingNullability: android.util.FeatureFlagUtils#setEnabled(android.content.Context, String, boole…
2150 MissingNullability: android.util.FeatureFlagUtils#setEnabled(android.content.Context, String, boole…
2660 PackageLayering: android.util.FeatureFlagUtils:
2908 StaticUtils: android.util.FeatureFlagUtils:
Dtest-current.txt2605 public class FeatureFlagUtils {
2606 ctor public FeatureFlagUtils();
/frameworks/base/services/backup/java/com/android/server/backup/
DUserBackupManagerService.java99 import android.util.FeatureFlagUtils;
4388 return FeatureFlagUtils.isEnabled(mContext, in shouldUseNewBackupEligibilityRules()
4389 FeatureFlagUtils.SETTINGS_USE_NEW_BACKUP_ELIGIBILITY_RULES); in shouldUseNewBackupEligibilityRules()
/frameworks/base/boot/
Dpreloaded-classes7176 android.util.FeatureFlagUtils
Dboot-image-profile.txt30819 Landroid/util/FeatureFlagUtils;
/frameworks/base/config/
Dpreloaded-classes7198 android.util.FeatureFlagUtils
Dboot-image-profile.txt40483 Landroid/util/FeatureFlagUtils;
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt61031 Landroid/util/FeatureFlagUtils;-><init>()V
61032 Landroid/util/FeatureFlagUtils;->DEFAULT_FLAGS:Ljava/util/Map;
61033 Landroid/util/FeatureFlagUtils;->FFLAG_OVERRIDE_PREFIX:Ljava/lang/String;
61034 Landroid/util/FeatureFlagUtils;->FFLAG_PREFIX:Ljava/lang/String;
61035 Landroid/util/FeatureFlagUtils;->getAllFeatureFlags()Ljava/util/Map;
61036 Landroid/util/FeatureFlagUtils;->isEnabled(Landroid/content/Context;Ljava/lang/String;)Z
61037 Landroid/util/FeatureFlagUtils;->setEnabled(Landroid/content/Context;Ljava/lang/String;Z)V