Searched refs:FeatureFlagUtils (Results 1 – 13 of 13) 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 | BootCompletedReceiver.java | 26 import android.util.FeatureFlagUtils; 64 FeatureFlagUtils.PERSIST_PREFIX + FeatureFlagUtils.DYNAMIC_SYSTEM, false); in featureFlagEnabled()
|
D | VerificationActivity.java | 31 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/ |
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; 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/ |
D | BluetoothManagerService.java | 65 import android.util.FeatureFlagUtils; 403 …String value = SystemProperties.get(FeatureFlagUtils.PERSIST_PREFIX + FeatureFlagUtils.HEARING_AID… in BluetoothManagerService() 407 … FeatureFlagUtils.setEnabled(context, FeatureFlagUtils.HEARING_AID_SETTINGS, isHearingAidEnabled); in BluetoothManagerService()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/ |
D | GlobalActionsDialog.java | 60 import android.util.FeatureFlagUtils; 635 if (FeatureFlagUtils.isEnabled(mContext, FeatureFlagUtils.SCREENRECORD_LONG_PRESS)) { in onLongPress()
|
/frameworks/base/api/ |
D | test-current.txt | 3003 public class FeatureFlagUtils { 3004 ctor public FeatureFlagUtils();
|
/frameworks/base/config/ |
D | preloaded-classes | 3631 android.util.FeatureFlagUtils
|
D | hiddenapi-greylist-max-o.txt | 76869 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
|
D | boot-image-profile.txt | 15425 HSPLandroid/util/FeatureFlagUtils;->isEnabled(Landroid/content/Context;Ljava/lang/String;)Z 36287 Landroid/util/FeatureFlagUtils;
|