/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/tests/src/com/android/systemui/media/dialog/ |
D | MediaOutputDialogTest.java | 42 import android.util.FeatureFlagUtils; 211 FeatureFlagUtils.setEnabled(mContext, in getStopButtonVisibility_remoteNonBLEDevice_returnGone() 212 FeatureFlagUtils.SETTINGS_NEED_CONNECTED_BLE_DEVICE_FOR_BROADCAST, true); in getStopButtonVisibility_remoteNonBLEDevice_returnGone() 231 FeatureFlagUtils.setEnabled(mContext, in isBroadcastSupported_flagOnAndConnectBleDevice_returnsTrue() 232 FeatureFlagUtils.SETTINGS_NEED_CONNECTED_BLE_DEVICE_FOR_BROADCAST, true); in isBroadcastSupported_flagOnAndConnectBleDevice_returnsTrue() 244 FeatureFlagUtils.setEnabled(mContext, in isBroadcastSupported_flagOnAndNoBleDevice_returnsFalse() 245 FeatureFlagUtils.SETTINGS_NEED_CONNECTED_BLE_DEVICE_FOR_BROADCAST, true); in isBroadcastSupported_flagOnAndNoBleDevice_returnsFalse() 254 FeatureFlagUtils.setEnabled(mContext, in isBroadcastSupported_notSupportBroadcastAndflagOn_returnsFalse() 255 FeatureFlagUtils.SETTINGS_NEED_CONNECTED_BLE_DEVICE_FOR_BROADCAST, true); in isBroadcastSupported_notSupportBroadcastAndflagOn_returnsFalse() 266 FeatureFlagUtils.setEnabled(mContext, in isBroadcastSupported_flagOffAndConnectToBleDevice_returnsTrue() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/domain/interactor/ |
D | VolumePanelNavigationInteractor.kt | 20 import android.util.FeatureFlagUtils 37 FeatureFlagUtils.isEnabled( in getVolumePanelRoute() 39 FeatureFlagUtils.SETTINGS_VOLUME_PANEL_IN_SYSTEMUI in getVolumePanelRoute()
|
/frameworks/base/core/java/android/util/ |
D | OWNERS | 2 per-file FeatureFlagUtils.java = sbasi@google.com 3 per-file FeatureFlagUtils.java = edgarwang@google.com
|
D | FeatureFlagUtils.java | 36 public class FeatureFlagUtils { class
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/dialog/ |
D | MediaOutputDialog.java | 23 import android.util.FeatureFlagUtils; 116 if (FeatureFlagUtils.isEnabled(mContext, in isBroadcastSupported() 117 FeatureFlagUtils.SETTINGS_NEED_CONNECTED_BLE_DEVICE_FOR_BROADCAST)) { in isBroadcastSupported()
|
/frameworks/base/services/core/java/com/android/server/input/ |
D | KeyRemapper.java | 25 import android.util.FeatureFlagUtils; 177 return FeatureFlagUtils.isEnabled(mContext, in supportRemapping() 178 FeatureFlagUtils.SETTINGS_NEW_KEYBOARD_MODIFIER_KEY); in supportRemapping()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
D | HearingAidDeviceManager.java | 31 import android.util.FeatureFlagUtils; 271 if (FeatureFlagUtils.isEnabled(mContext, FeatureFlagUtils.SETTINGS_AUDIO_ROUTING)) { in onActiveDeviceChanged()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | PhantomProcessList.java | 21 import static android.util.FeatureFlagUtils.SETTINGS_ENABLE_MONITOR_PHANTOM_PROCS; 32 import android.util.FeatureFlagUtils; 424 if (!mService.mSystemReady || !FeatureFlagUtils.isEnabled(mService.mContext, in trimPhantomProcessesIfNecessary()
|
D | AppProfiler.java | 22 import static android.util.FeatureFlagUtils.SETTINGS_ENABLE_MONITOR_PHANTOM_PROCS; 84 import android.util.FeatureFlagUtils; 2149 final boolean monitorPhantomProcs = mService.mSystemReady && FeatureFlagUtils.isEnabled( in updateCpuStatsNow()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/ |
D | UserBackupManagerServiceTest.java | 51 import android.util.FeatureFlagUtils; 112 .mockStatic(FeatureFlagUtils.class) in setUp()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | FlashNotificationsController.java | 56 import android.util.FeatureFlagUtils; 341 boolean isFeatureOn = FeatureFlagUtils.isEnabled(mContext, in requestStartFlashNotification() 342 FeatureFlagUtils.SETTINGS_FLASH_NOTIFICATIONS); in requestStartFlashNotification()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/ |
D | HearingAidDeviceManagerTest.java | 54 import android.util.FeatureFlagUtils; 130 FeatureFlagUtils.setEnabled(mContext, FeatureFlagUtils.SETTINGS_AUDIO_ROUTING, true); in setUp()
|
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/ |
D | RecoverableKeyStoreManager.java | 47 import android.util.FeatureFlagUtils; 135 if (FeatureFlagUtils.isEnabled(context, in getInstance() 136 FeatureFlagUtils.SETTINGS_ENABLE_LOCKSCREEN_TRANSFER_API)) { in getInstance()
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsBackupAgent.java | 53 import android.util.FeatureFlagUtils; 703 if (!FeatureFlagUtils.isEnabled(getBaseContext(), in getSettingsToPreserveInRestore() 704 FeatureFlagUtils.SETTINGS_DO_NOT_RESTORE_PRESERVED)) { in getSettingsToPreserveInRestore()
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
D | UserBackupManagerService.java | 99 import android.util.FeatureFlagUtils; 4405 return FeatureFlagUtils.isEnabled(mContext, in shouldUseNewBackupEligibilityRules() 4406 FeatureFlagUtils.SETTINGS_USE_NEW_BACKUP_ELIGIBILITY_RULES); in shouldUseNewBackupEligibilityRules()
|
/frameworks/base/core/api/ |
D | test-current.txt | 3499 public class FeatureFlagUtils { 3500 ctor public FeatureFlagUtils();
|
/frameworks/base/boot/ |
D | boot-image-profile.txt | 15417 HSPLandroid/util/FeatureFlagUtils;->getAllFeatureFlags()Ljava/util/Map; 15418 HSPLandroid/util/FeatureFlagUtils;->getSystemPropertyPrefix(Ljava/lang/String;)Ljava/lang/String; 15419 HSPLandroid/util/FeatureFlagUtils;->isEnabled(Landroid/content/Context;Ljava/lang/String;)Z 30805 Landroid/util/FeatureFlagUtils;
|
D | preloaded-classes | 8395 android.util.FeatureFlagUtils
|
/frameworks/base/config/ |
D | preloaded-classes | 8426 android.util.FeatureFlagUtils
|
D | boot-image-profile.txt | 15481 HSPLandroid/util/FeatureFlagUtils;->getAllFeatureFlags()Ljava/util/Map; 15482 HSPLandroid/util/FeatureFlagUtils;->getSystemPropertyPrefix(Ljava/lang/String;)Ljava/lang/String; 15483 HSPLandroid/util/FeatureFlagUtils;->isEnabled(Landroid/content/Context;Ljava/lang/String;)Z 40966 Landroid/util/FeatureFlagUtils;
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 57065 Landroid/util/FeatureFlagUtils;-><init>()V 57066 Landroid/util/FeatureFlagUtils;->DEFAULT_FLAGS:Ljava/util/Map; 57067 Landroid/util/FeatureFlagUtils;->FFLAG_OVERRIDE_PREFIX:Ljava/lang/String; 57068 Landroid/util/FeatureFlagUtils;->FFLAG_PREFIX:Ljava/lang/String; 57069 Landroid/util/FeatureFlagUtils;->getAllFeatureFlags()Ljava/util/Map; 57070 Landroid/util/FeatureFlagUtils;->isEnabled(Landroid/content/Context;Ljava/lang/String;)Z 57071 Landroid/util/FeatureFlagUtils;->setEnabled(Landroid/content/Context;Ljava/lang/String;Z)V
|