Home
last modified time | relevance | path

Searched refs:isCurrentlyEnabled (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/flags/
DFeatureFlagsTest.java70 assertThat(mFeatureFlags.isCurrentlyEnabled(flag)).isFalse(); in testDynamicBooleanFlag_DefaultDisabled()
76 assertThat(mFeatureFlags.isCurrentlyEnabled(flag)).isTrue(); in testDynamicBooleanFlag_DefaultEnabled()
121 assertThat(mFeatureFlags.isCurrentlyEnabled(flag)).isTrue(); in testDynamicFlag_OverrideBeforeRead()
131 assertThat(mFeatureFlags.isCurrentlyEnabled(flag)).isFalse(); in testDynamicFlag_OverrideAfterRead()
136 assertThat(mFeatureFlags.isCurrentlyEnabled(flag)).isTrue(); in testDynamicFlag_OverrideAfterRead()
/frameworks/base/core/java/android/flags/
DFeatureFlagsFake.java63 public boolean isCurrentlyEnabled(@NonNull DynamicBooleanFlag flag) { in isCurrentlyEnabled() method in FeatureFlagsFake
DFeatureFlags.java227 public boolean isCurrentlyEnabled(@NonNull DynamicBooleanFlag flag) { in isCurrentlyEnabled() method in FeatureFlags
/frameworks/base/services/core/java/com/android/server/display/
DLogicalDisplayMapper.java753 final boolean isCurrentlyEnabled = display.isEnabledLocked(); in updateLogicalDisplaysLocked()
802 && wasPreviouslyEnabled != isCurrentlyEnabled) { in updateLogicalDisplaysLocked()
803 int event = isCurrentlyEnabled ? LOGICAL_DISPLAY_EVENT_ADDED : in updateLogicalDisplaysLocked()