Home
last modified time | relevance | path

Searched refs:isRefactorDisplayPowerControllerEnabled (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/core/java/com/android/server/display/brightness/
DDisplayBrightnessStrategySelector.java129 (!mDisplayManagerFlags.isRefactorDisplayPowerControllerEnabled()) ? null in DisplayBrightnessStrategySelector()
133 (mDisplayManagerFlags.isRefactorDisplayPowerControllerEnabled()) ? null in DisplayBrightnessStrategySelector()
136 (mDisplayManagerFlags.isRefactorDisplayPowerControllerEnabled()) in DisplayBrightnessStrategySelector()
139 .isRefactorDisplayPowerControllerEnabled()) in DisplayBrightnessStrategySelector()
148 .isRefactorDisplayPowerControllerEnabled()) in DisplayBrightnessStrategySelector()
188 } else if (mDisplayManagerFlags.isRefactorDisplayPowerControllerEnabled() in selectStrategy()
200 if (mDisplayManagerFlags.isRefactorDisplayPowerControllerEnabled()) { in selectStrategy()
205 if (mDisplayManagerFlags.isRefactorDisplayPowerControllerEnabled()) { in selectStrategy()
291 return mDisplayManagerFlags.isRefactorDisplayPowerControllerEnabled() in isAutoBrightnessFallbackStrategyValid()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/brightness/
DDisplayBrightnessStrategySelectorTest.java334 when(mDisplayManagerFlags.isRefactorDisplayPowerControllerEnabled()).thenReturn(true); in selectStrategy_selectsAutomaticStrategyWhenValid()
361 when(mDisplayManagerFlags.isRefactorDisplayPowerControllerEnabled()).thenReturn(true); in selectStrategy_selectsAutomaticFallbackStrategyWhenValid()
398 when(mDisplayManagerFlags.isRefactorDisplayPowerControllerEnabled()).thenReturn(true); in selectStrategy_selectsFallbackStrategyAsAnUltimateFallback()
417 when(mDisplayManagerFlags.isRefactorDisplayPowerControllerEnabled()).thenReturn(true); in selectStrategyCallsPostProcessorForAllStrategies()
450 when(mDisplayManagerFlags.isRefactorDisplayPowerControllerEnabled()).thenReturn(true); in getAutomaticBrightnessStrategy_getsAutomaticStrategyIfRefactoringFlagIsSet()
/frameworks/base/services/core/java/com/android/server/display/brightness/strategy/
DOffloadBrightnessStrategy.java47 if (mDisplayManagerFlags.isRefactorDisplayPowerControllerEnabled()) { in updateBrightness()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/brightness/strategy/
DOffloadBrightnessStrategyTest.java58 when(mDisplayManagerFlags.isRefactorDisplayPowerControllerEnabled()).thenReturn(true); in testUpdateBrightnessWhenOffloadBrightnessIsSet()
/frameworks/base/services/core/java/com/android/server/display/
DDisplayPowerController.java1125 if (!mFlags.isRefactorDisplayPowerControllerEnabled()) { in setUpAutoBrightness()
1257 if (!mFlags.isRefactorDisplayPowerControllerEnabled() in cleanupHandlerThreadAfterStop()
1375 if (!mFlags.isRefactorDisplayPowerControllerEnabled()) { in updatePowerStateInternal()
1393 if (!mFlags.isRefactorDisplayPowerControllerEnabled()) { in updatePowerStateInternal()
1430 if (!mFlags.isRefactorDisplayPowerControllerEnabled()) { in updatePowerStateInternal()
1500 if (!mFlags.isRefactorDisplayPowerControllerEnabled()) { in updatePowerStateInternal()
1521 if (Float.isNaN(brightnessState) && !mFlags.isRefactorDisplayPowerControllerEnabled()) { in updatePowerStateInternal()
/frameworks/base/services/core/java/com/android/server/display/feature/
DDisplayManagerFlags.java328 public boolean isRefactorDisplayPowerControllerEnabled() { in isRefactorDisplayPowerControllerEnabled() method in DisplayManagerFlags