Searched refs:FeatureFlagUtils (Results 1 – 14 of 14) 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/core/java/android/util/ |
D | OWNERS | 1 per-file FeatureFlagUtils.java = sbasi@google.com 2 per-file FeatureFlagUtils.java = zhfan@google.com 3 per-file FeatureFlagUtils.java = asapperstein@google.com
|
D | FeatureFlagUtils.java | 34 public class FeatureFlagUtils { class
|
/frameworks/base/packages/DynamicSystemInstallationService/src/com/android/dynsystem/ |
D | VerificationActivity.java | 28 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()
|
D | BootCompletedReceiver.java | 26 import android.util.FeatureFlagUtils; 64 FeatureFlagUtils.PERSIST_PREFIX + FeatureFlagUtils.DYNAMIC_SYSTEM, false); in featureFlagEnabled()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | MediaTransferManager.java | 22 import android.util.FeatureFlagUtils; 87 if (!FeatureFlagUtils.isEnabled(mContext, FeatureFlagUtils.SEAMLESS_TRANSFER)) { in applyMediaTransferView()
|
/frameworks/base/core/java/android/os/image/ |
D | DynamicSystemClient.java | 40 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/ |
D | BluetoothManagerService.java | 66 import android.util.FeatureFlagUtils; 477 …String value = SystemProperties.get(FeatureFlagUtils.PERSIST_PREFIX + FeatureFlagUtils.HEARING_AID… in BluetoothManagerService() 481 … FeatureFlagUtils.setEnabled(context, FeatureFlagUtils.HEARING_AID_SETTINGS, isHearingAidEnabled); in BluetoothManagerService()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/ |
D | GlobalActionsDialog.java | 59 import android.util.FeatureFlagUtils; 636 if (FeatureFlagUtils.isEnabled(mContext, FeatureFlagUtils.SCREENRECORD_LONG_PRESS)) { in onLongPress()
|
/frameworks/base/api/ |
D | test-lint-baseline.txt | 1962 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:
|
D | test-current.txt | 4189 public class FeatureFlagUtils { 4190 ctor public FeatureFlagUtils();
|
/frameworks/base/config/ |
D | preloaded-classes | 3631 android.util.FeatureFlagUtils
|
D | hiddenapi-greylist-max-o.txt | 71731 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
|
D | boot-image-profile.txt | 15424 HSPLandroid/util/FeatureFlagUtils;->isEnabled(Landroid/content/Context;Ljava/lang/String;)Z 36286 Landroid/util/FeatureFlagUtils;
|