/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/ |
D | DisplayBrightnessStateTest.java | 48 boolean shouldUseAutoBrightness = true; in validateAllDisplayBrightnessStateFieldsAreSetAsExpected() 58 .setShouldUseAutoBrightness(shouldUseAutoBrightness) in validateAllDisplayBrightnessStateFieldsAreSetAsExpected() 67 assertEquals(displayBrightnessState.getShouldUseAutoBrightness(), shouldUseAutoBrightness); in validateAllDisplayBrightnessStateFieldsAreSetAsExpected() local
|
/frameworks/base/services/core/java/com/android/server/display/brightness/strategy/ |
D | AutomaticBrightnessStrategy2.java | 112 mIsAutoBrightnessEnabled = shouldUseAutoBrightness() in setAutoBrightnessState() 116 mAutoBrightnessDisabledDueToDisplayOff = shouldUseAutoBrightness() in setAutoBrightnessState() 185 public boolean shouldUseAutoBrightness() { in shouldUseAutoBrightness() method in AutomaticBrightnessStrategy2
|
D | AutomaticBrightnessStrategy.java | 138 mIsAutoBrightnessEnabled = shouldUseAutoBrightness() in setAutoBrightnessState() 142 mAutoBrightnessDisabledDueToDisplayOff = shouldUseAutoBrightness() in setAutoBrightnessState() 239 public boolean shouldUseAutoBrightness() { in shouldUseAutoBrightness() method in AutomaticBrightnessStrategy
|
/frameworks/base/services/core/java/com/android/server/display/brightness/ |
D | DisplayBrightnessStrategySelector.java | 191 } else if (mAutomaticBrightnessStrategy.shouldUseAutoBrightness() in selectStrategy() 293 && getAutomaticBrightnessStrategy().shouldUseAutoBrightness() in isAutoBrightnessFallbackStrategyValid() 319 getAutomaticBrightnessStrategy().shouldUseAutoBrightness()); in constructStrategySelectionNotifyRequest()
|
D | DisplayBrightnessController.java | 556 autoStrat != null && autoStrat.shouldUseAutoBrightness()); in addAutomaticBrightnessState()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | DisplayBrightnessState.java | 357 public Builder setShouldUseAutoBrightness(boolean shouldUseAutoBrightness) { in setShouldUseAutoBrightness() argument 358 this.mShouldUseAutoBrightness = shouldUseAutoBrightness; in setShouldUseAutoBrightness()
|
D | DisplayPowerController.java | 1483 || !mAutomaticBrightnessStrategy.shouldUseAutoBrightness())) { in updatePowerStateInternal() 2507 boolean brightnessIsTemporary, boolean shouldUseAutoBrightness) { in notifyBrightnessTrackerChanged() argument 2522 || !shouldUseAutoBrightness in notifyBrightnessTrackerChanged()
|
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/brightness/ |
D | DisplayBrightnessStrategySelectorTest.java | 324 when(mAutomaticBrightnessStrategy2.shouldUseAutoBrightness()).thenReturn(true); in selectStrategySelectsOffloadStrategyWhenValid() 348 when(mAutomaticBrightnessStrategy.shouldUseAutoBrightness()).thenReturn(true); in selectStrategy_selectsAutomaticStrategyWhenValid() 370 when(mAutomaticBrightnessStrategy.shouldUseAutoBrightness()).thenReturn(true); in selectStrategy_selectsAutomaticFallbackStrategyWhenValid() 407 when(mAutomaticBrightnessStrategy.shouldUseAutoBrightness()).thenReturn(false); in selectStrategy_selectsFallbackStrategyAsAnUltimateFallback()
|
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/brightness/strategy/ |
D | AutomaticBrightnessStrategy2Test.java | 354 public void shouldUseAutoBrightness() { in shouldUseAutoBrightness() method in AutomaticBrightnessStrategy2Test 356 assertTrue(mAutomaticBrightnessStrategy.shouldUseAutoBrightness()); in shouldUseAutoBrightness()
|
D | AutomaticBrightnessStrategyTest.java | 403 public void shouldUseAutoBrightness() { in shouldUseAutoBrightness() method in AutomaticBrightnessStrategyTest 405 assertTrue(mAutomaticBrightnessStrategy.shouldUseAutoBrightness()); in shouldUseAutoBrightness()
|
/frameworks/base/services/ |
D | art-wear-profile | 11066 …android/server/display/brightness/strategy/AutomaticBrightnessStrategy;->shouldUseAutoBrightness()Z
|