/frameworks/base/services/core/java/com/android/server/display/ |
D | BrightnessRangeController.java | 44 Runnable modeChangeCallback, DisplayDeviceConfig displayDeviceConfig, Handler handler, in BrightnessRangeController() argument 46 this(hbmController, modeChangeCallback, displayDeviceConfig, in BrightnessRangeController() 54 Runnable modeChangeCallback, DisplayDeviceConfig displayDeviceConfig, in BrightnessRangeController() argument 66 displayDeviceConfig.getLuxThrottlingData()); in BrightnessRangeController() 68 updateHdrClamper(info, displayToken, displayDeviceConfig); in BrightnessRangeController() 95 DisplayDeviceInfo info, DisplayDeviceConfig displayDeviceConfig) { in loadFromConfig() argument 98 displayDeviceConfig.getLuxThrottlingData()), in loadFromConfig() 102 displayDeviceConfig.getHighBrightnessModeData(), in loadFromConfig() 103 displayDeviceConfig::getHdrBrightnessFromSdr); in loadFromConfig() 106 updateHdrClamper(info, token, displayDeviceConfig); in loadFromConfig() [all …]
|
D | DisplayPowerProximityStateController.java | 156 WakelockController wakeLockController, DisplayDeviceConfig displayDeviceConfig, in DisplayPowerProximityStateController() argument 167 mDisplayDeviceConfig = displayDeviceConfig; in DisplayPowerProximityStateController() 305 public void notifyDisplayDeviceChanged(DisplayDeviceConfig displayDeviceConfig) { in notifyDisplayDeviceChanged() argument 306 this.mDisplayDeviceConfig = displayDeviceConfig; in notifyDisplayDeviceChanged()
|
D | BrightnessMappingStrategy.java | 93 DisplayDeviceConfig displayDeviceConfig, in create() argument 106 brightnessLevelsNits = displayDeviceConfig.getAutoBrightnessBrighteningLevelsNits(); in create() 107 luxLevels = displayDeviceConfig.getAutoBrightnessBrighteningLevelsLux(mode, preset); in create() 109 displayDeviceConfig.getAutoBrightnessBrighteningLevels(mode, preset); in create() 118 luxLevels = displayDeviceConfig.getAutoBrightnessBrighteningLevelsLux(mode, preset); in create() 120 displayDeviceConfig.getAutoBrightnessBrighteningLevels(mode, preset); in create() 132 final float[] nitsRange = displayDeviceConfig.getNits(); in create() 133 final float[] brightnessRange = displayDeviceConfig.getBrightness(); in create()
|
D | BrightnessThrottler.java | 130 @NonNull DisplayDeviceConfig displayDeviceConfig) { in BrightnessThrottler() argument 133 displayDeviceConfig.getThermalBrightnessThrottlingDataMapByThrottlingId(), in BrightnessThrottler() 134 displayDeviceConfig.getTempSensor()); in BrightnessThrottler()
|
D | DisplayPowerController.java | 3169 WakelockController wakelockController, DisplayDeviceConfig displayDeviceConfig, in getDisplayPowerProximityStateController() argument 3172 return new DisplayPowerProximityStateController(wakelockController, displayDeviceConfig, in getDisplayPowerProximityStateController() 3209 DisplayDeviceConfig displayDeviceConfig, in getDefaultModeBrightnessMapper() argument 3211 return BrightnessMappingStrategy.create(context, displayDeviceConfig, in getDefaultModeBrightnessMapper() 3245 DisplayDeviceConfig displayDeviceConfig, Handler handler, in getBrightnessRangeController() argument 3248 modeChangeCallback, displayDeviceConfig, handler, flags, displayToken, info); in getBrightnessRangeController()
|
/frameworks/base/services/core/java/com/android/server/display/brightness/strategy/ |
D | AutoBrightnessFallbackStrategy.java | 135 DisplayDeviceConfig displayDeviceConfig, Handler handler, in setupAutoBrightnessFallbackSensor() argument 144 loadScreenOffBrightnessSensor(sensorManager, displayDeviceConfig); in setupAutoBrightnessFallbackSensor() 145 int[] sensorValueToLux = displayDeviceConfig.getScreenOffBrightnessSensorValueToLux(); in setupAutoBrightnessFallbackSensor() 180 DisplayDeviceConfig displayDeviceConfig) { in loadScreenOffBrightnessSensor() argument 182 displayDeviceConfig); in loadScreenOffBrightnessSensor() 189 DisplayDeviceConfig displayDeviceConfig); in getScreenOffBrightnessSensor() argument 203 DisplayDeviceConfig displayDeviceConfig) { in getScreenOffBrightnessSensor() argument 205 displayDeviceConfig.getScreenOffBrightnessSensor(), SensorUtils.NO_FALLBACK); in getScreenOffBrightnessSensor()
|
/frameworks/base/services/core/java/com/android/server/display/mode/ |
D | DisplayModeDirector.java | 478 public void defaultDisplayDeviceUpdated(DisplayDeviceConfig displayDeviceConfig) { in defaultDisplayDeviceUpdated() argument 480 mDefaultDisplayDeviceConfig = displayDeviceConfig; in defaultDisplayDeviceUpdated() 481 mSettingsObserver.setRefreshRates(displayDeviceConfig, in defaultDisplayDeviceUpdated() 483 mBrightnessObserver.updateBlockingZoneThresholds(displayDeviceConfig, in defaultDisplayDeviceUpdated() 485 mBrightnessObserver.reloadLightSensor(displayDeviceConfig); in defaultDisplayDeviceUpdated() 486 mHbmObserver.setupHdrRefreshRates(displayDeviceConfig); in defaultDisplayDeviceUpdated() 1000 void setRefreshRates(DisplayDeviceConfig displayDeviceConfig, in setRefreshRates() argument 1002 RefreshRateData refreshRateData = displayDeviceConfig == null ? null in setRefreshRates() 1003 : displayDeviceConfig.getRefreshRateData(); in setRefreshRates() 1004 setDefaultPeakRefreshRate(displayDeviceConfig, attemptReadFromFeatureParams); in setRefreshRates() [all …]
|
/frameworks/base/services/core/java/com/android/server/display/brightness/clamper/ |
D | BrightnessClamperController.java | 326 DisplayDeviceConfig displayDeviceConfig, SensorManager sensorManager) { in getModifiers() argument 330 if (flags.isEvenDimmerEnabled() && displayDeviceConfig != null in getModifiers() 331 && displayDeviceConfig.isEvenDimmerAvailable()) { in getModifiers() 333 displayDeviceConfig)); in getModifiers() 363 @NonNull DisplayDeviceConfig displayDeviceConfig) { in DisplayDeviceData() argument 367 mDisplayDeviceConfig = displayDeviceConfig; in DisplayDeviceData() 452 private void reloadLightSensorData(DisplayDeviceConfig displayDeviceConfig) { in reloadLightSensorData() argument 455 if (displayDeviceConfig != null in reloadLightSensorData() 456 && displayDeviceConfig.getAmbientLightSensor() != null) { in reloadLightSensorData() 458 mLightSensorType = displayDeviceConfig.getAmbientLightSensor().type; in reloadLightSensorData() [all …]
|
D | BrightnessLowLuxModifier.java | 65 DisplayDeviceConfig displayDeviceConfig) { in BrightnessLowLuxModifier() argument 72 mDisplayDeviceConfig = displayDeviceConfig; in BrightnessLowLuxModifier()
|
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/brightness/strategy/ |
D | AutoBrightnessFallbackStrategyTest.java | 63 DisplayDeviceConfig displayDeviceConfig) { in before() 83 DisplayDeviceConfig displayDeviceConfig = mock(DisplayDeviceConfig.class); in testUpdateBrightnessWhenScreenDozeStateIsRequested() local 90 when(displayDeviceConfig.getScreenOffBrightnessSensorValueToLux()).thenReturn( in testUpdateBrightnessWhenScreenDozeStateIsRequested() 94 displayDeviceConfig, handler, brightnessMappingStrategy, isEnabled, leadDisplayId); in testUpdateBrightnessWhenScreenDozeStateIsRequested()
|
/frameworks/base/services/core/java/com/android/server/display/brightness/ |
D | DisplayBrightnessController.java | 361 DisplayDeviceConfig displayDeviceConfig, Handler handler, in setUpAutoBrightness() argument 365 setUpAutoBrightnessFallbackStrategy(sensorManager, displayDeviceConfig, handler, in setUpAutoBrightness() 536 DisplayDeviceConfig displayDeviceConfig, Handler handler, in setUpAutoBrightnessFallbackStrategy() argument 543 sensorManager, displayDeviceConfig, handler, brightnessMappingStrategy, in setUpAutoBrightnessFallbackStrategy()
|
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/brightness/ |
D | DisplayBrightnessControllerTest.java | 545 DisplayDeviceConfig displayDeviceConfig = mock(DisplayDeviceConfig.class); in setupAutoBrightness_setsAutomaticStrategyAndAutoBrightnessFallbackStrategy() local 552 sensorManager, displayDeviceConfig, handler, brightnessMappingStrategy, isEnabled, in setupAutoBrightness_setsAutomaticStrategyAndAutoBrightnessFallbackStrategy() 559 displayDeviceConfig, handler, brightnessMappingStrategy, isEnabled, leadDisplayId); in setupAutoBrightness_setsAutomaticStrategyAndAutoBrightnessFallbackStrategy()
|
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/brightness/clamper/ |
D | BrightnessClamperControllerTest.java | 333 DisplayDeviceConfig displayDeviceConfig, SensorManager sensorManager) { in getModifiers() argument
|
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/mode/ |
D | DisplayModeDirectorTest.java | 3168 DisplayDeviceConfig displayDeviceConfig = mock(DisplayDeviceConfig.class); in testNotifyDefaultDisplayDeviceUpdated() local 3176 when(displayDeviceConfig.getRefreshRateData()).thenReturn(refreshRateData); in testNotifyDefaultDisplayDeviceUpdated() 3177 when(displayDeviceConfig.getDefaultLowBlockingZoneRefreshRate()).thenReturn(50); in testNotifyDefaultDisplayDeviceUpdated() 3178 when(displayDeviceConfig.getDefaultHighBlockingZoneRefreshRate()).thenReturn(55); in testNotifyDefaultDisplayDeviceUpdated() 3179 when(displayDeviceConfig.getLowDisplayBrightnessThresholds()) in testNotifyDefaultDisplayDeviceUpdated() 3181 when(displayDeviceConfig.getLowAmbientBrightnessThresholds()) in testNotifyDefaultDisplayDeviceUpdated() 3183 when(displayDeviceConfig.getHighDisplayBrightnessThresholds()) in testNotifyDefaultDisplayDeviceUpdated() 3185 when(displayDeviceConfig.getHighAmbientBrightnessThresholds()) in testNotifyDefaultDisplayDeviceUpdated() 3187 director.defaultDisplayDeviceUpdated(displayDeviceConfig); in testNotifyDefaultDisplayDeviceUpdated()
|
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/ |
D | DisplayPowerControllerTest.java | 2256 WakelockController wakelockController, DisplayDeviceConfig displayDeviceConfig, in getDisplayPowerProximityStateController() argument 2260 displayDeviceConfig, looper, nudgeUpdatePowerState, displayId, in getDisplayPowerProximityStateController() 2294 DisplayDeviceConfig displayDeviceConfig, in getDefaultModeBrightnessMapper() argument 2320 DisplayDeviceConfig displayDeviceConfig, Handler handler, in getBrightnessRangeController() argument 2323 displayDeviceConfig, mNormalBrightnessModeController, mHdrClamper, in getBrightnessRangeController()
|