Searched refs:FeatureFlagUtils (Results 1 – 16 of 16) sorted by relevance
/frameworks/base/core/tests/featureflagtests/src/android/util/ |
D | FeatureFlagUtilsTest.java | 58 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/ |
D | FeatureFlags.java | 20 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/ |
D | OWNERS | 1 per-file FeatureFlagUtils.java = sbasi@google.com 2 per-file FeatureFlagUtils.java = tmfang@google.com 3 per-file FeatureFlagUtils.java = asapperstein@google.com
|
D | FeatureFlagUtils.java | 36 public class FeatureFlagUtils { class
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/carrier/ |
D | QSCarrierTest.java | 25 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/ |
D | Utils.java | 58 import android.util.FeatureFlagUtils; 85 return FeatureFlagUtils.isEnabled(context, FeatureFlagUtils.SETTINGS_PROVIDER_MODEL); in isProviderModelEnabled()
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsBackupAgent.java | 50 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/ |
D | BluetoothManagerService.java | 81 import android.util.FeatureFlagUtils; 507 …String value = SystemProperties.get(FeatureFlagUtils.PERSIST_PREFIX + FeatureFlagUtils.HEARING_AID… in BluetoothManagerService() 511 … FeatureFlagUtils.setEnabled(context, FeatureFlagUtils.HEARING_AID_SETTINGS, isHearingAidEnabled); in BluetoothManagerService()
|
/frameworks/base/core/api/ |
D | test-lint-baseline.txt | 2142 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:
|
D | test-current.txt | 2605 public class FeatureFlagUtils { 2606 ctor public FeatureFlagUtils();
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
D | UserBackupManagerService.java | 99 import android.util.FeatureFlagUtils; 4388 return FeatureFlagUtils.isEnabled(mContext, in shouldUseNewBackupEligibilityRules() 4389 FeatureFlagUtils.SETTINGS_USE_NEW_BACKUP_ELIGIBILITY_RULES); in shouldUseNewBackupEligibilityRules()
|
/frameworks/base/boot/ |
D | preloaded-classes | 7176 android.util.FeatureFlagUtils
|
D | boot-image-profile.txt | 30819 Landroid/util/FeatureFlagUtils;
|
/frameworks/base/config/ |
D | preloaded-classes | 7198 android.util.FeatureFlagUtils
|
D | boot-image-profile.txt | 40483 Landroid/util/FeatureFlagUtils;
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 61031 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
|