/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/ |
D | BrightnessMappingStrategyTest.java | 173 DisplayDeviceConfig ddc = new DdcBuilder().setAutoBrightnessLevels(DISPLAY_LEVELS).build(); in testSimpleStrategyMappingAtControlPoints() 185 DisplayDeviceConfig ddc = new DdcBuilder().setAutoBrightnessLevels(DISPLAY_LEVELS).build(); in testSimpleStrategyMappingBetweenControlPoints() 200 DisplayDeviceConfig ddc = new DdcBuilder().setAutoBrightnessLevels(DISPLAY_LEVELS).build(); in testSimpleStrategyIgnoresNewConfiguration() 216 DisplayDeviceConfig ddc = new DdcBuilder().setAutoBrightnessLevels(DISPLAY_LEVELS).build(); in testSimpleStrategyIgnoresNullConfiguration() 230 DisplayDeviceConfig ddc = new DdcBuilder().setAutoBrightnessLevelsNits(DISPLAY_LEVELS_NITS) in testPhysicalStrategyMappingAtControlPoints() 249 DisplayDeviceConfig ddc = new DdcBuilder().setBrightnessRange(BACKLIGHT_RANGE_ZERO_TO_ONE) in testPhysicalStrategyMappingBetweenControlPoints() 268 DisplayDeviceConfig ddc = new DdcBuilder().setAutoBrightnessLevelsNits(DISPLAY_LEVELS_NITS) in testPhysicalStrategyUsesNewConfigurations() 295 DisplayDeviceConfig ddc = new DdcBuilder().setAutoBrightnessLevelsNits(DISPLAY_LEVELS_NITS) in testPhysicalStrategyRecalculateSplines() 340 DisplayDeviceConfig ddc = new DdcBuilder().setAutoBrightnessLevels(DISPLAY_LEVELS) in testDefaultStrategyIsPhysical() 356 DisplayDeviceConfig ddc = new DdcBuilder().setAutoBrightnessLevelsLux(lux) in testNonStrictlyIncreasingLuxLevelsFails() [all …]
|
D | HighBrightnessModeMetadataMapperTest.java | 39 private DisplayDeviceConfig mDdcMock; 42 private DisplayDeviceConfig.HighBrightnessModeData mHbmDataMock;
|
D | DisplayPowerProximityStateControllerTest.java | 58 DisplayDeviceConfig mDisplayDeviceConfig; 217 DisplayDeviceConfig updatedDisplayDeviceConfig = mock(DisplayDeviceConfig.class); in notifyDisplayDeviceChangedReloadsTheProximitySensor()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | BrightnessRangeController.java | 44 Runnable modeChangeCallback, DisplayDeviceConfig displayDeviceConfig, Handler handler, in BrightnessRangeController() 54 Runnable modeChangeCallback, DisplayDeviceConfig displayDeviceConfig, in BrightnessRangeController() 95 DisplayDeviceInfo info, DisplayDeviceConfig displayDeviceConfig) { in loadFromConfig() 158 DisplayDeviceConfig displayDeviceConfig) { in updateHdrClamper() 160 DisplayDeviceConfig.HighBrightnessModeData hbmData = in updateHdrClamper()
|
D | DisplayDevice.java | 65 protected DisplayDeviceConfig mDisplayDeviceConfig; 114 public DisplayDeviceConfig getDisplayDeviceConfig() { in getDisplayDeviceConfig() 449 private DisplayDeviceConfig loadDisplayDeviceConfig() { in loadDisplayDeviceConfig() 450 return DisplayDeviceConfig.create(mContext, /* useConfigXml= */ false, in loadDisplayDeviceConfig()
|
D | BrightnessThrottler.java | 19 import static com.android.server.display.DisplayDeviceConfig.DEFAULT_ID; 38 import com.android.server.display.DisplayDeviceConfig.ThermalBrightnessThrottlingData; 39 import com.android.server.display.DisplayDeviceConfig.ThermalBrightnessThrottlingData.ThrottlingLev… 130 @NonNull DisplayDeviceConfig displayDeviceConfig) { in BrightnessThrottler()
|
D | DisplayDeviceConfig.java | 615 public class DisplayDeviceConfig { class 875 DisplayDeviceConfig(Context context, DisplayManagerFlags flags) { in DisplayDeviceConfig() method in DisplayDeviceConfig 892 public static DisplayDeviceConfig create(Context context, long physicalDisplayId, in create() 894 final DisplayDeviceConfig config = createWithoutDefaultValues(context, physicalDisplayId, in create() 910 public static DisplayDeviceConfig create(Context context, boolean useConfigXml, in create() 912 final DisplayDeviceConfig config; in create() 921 private static DisplayDeviceConfig createWithoutDefaultValues(Context context, in createWithoutDefaultValues() 923 DisplayDeviceConfig config; in createWithoutDefaultValues() 992 private static DisplayDeviceConfig loadConfigFromDirectory(Context context, in loadConfigFromDirectory() 994 DisplayDeviceConfig config; in loadConfigFromDirectory() [all …]
|
D | DisplayPowerProximityStateController.java | 99 private DisplayDeviceConfig mDisplayDeviceConfig; 156 WakelockController wakeLockController, DisplayDeviceConfig displayDeviceConfig, in DisplayPowerProximityStateController() 305 public void notifyDisplayDeviceChanged(DisplayDeviceConfig displayDeviceConfig) { in notifyDisplayDeviceChanged()
|
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/brightness/strategy/ |
D | AutoBrightnessFallbackStrategyTest.java | 34 import com.android.server.display.DisplayDeviceConfig; 63 DisplayDeviceConfig displayDeviceConfig) { in before() 83 DisplayDeviceConfig displayDeviceConfig = mock(DisplayDeviceConfig.class); in testUpdateBrightnessWhenScreenDozeStateIsRequested()
|
/frameworks/base/services/core/java/com/android/server/display/brightness/strategy/ |
D | AutoBrightnessFallbackStrategy.java | 31 import com.android.server.display.DisplayDeviceConfig; 135 DisplayDeviceConfig displayDeviceConfig, Handler handler, in setupAutoBrightnessFallbackSensor() 180 DisplayDeviceConfig displayDeviceConfig) { in loadScreenOffBrightnessSensor() 189 DisplayDeviceConfig displayDeviceConfig); in getScreenOffBrightnessSensor() 203 DisplayDeviceConfig displayDeviceConfig) { in getScreenOffBrightnessSensor()
|
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/brightness/clamper/ |
D | BrightnessPowerClamperTest.java | 31 import com.android.server.display.DisplayDeviceConfig; 32 import com.android.server.display.DisplayDeviceConfig.PowerThrottlingConfigData; 33 import com.android.server.display.DisplayDeviceConfig.PowerThrottlingData; 34 import com.android.server.display.DisplayDeviceConfig.PowerThrottlingData.ThrottlingLevel; 208 this(DISPLAY_ID, DisplayDeviceConfig.DEFAULT_ID, null); in TestPowerData() 212 this(DISPLAY_ID, DisplayDeviceConfig.DEFAULT_ID, data); in TestPowerData()
|
D | BrightnessThermalClamperTest.java | 37 import com.android.server.display.DisplayDeviceConfig; 38 import com.android.server.display.DisplayDeviceConfig.ThermalBrightnessThrottlingData; 39 import com.android.server.display.DisplayDeviceConfig.ThermalBrightnessThrottlingData.ThrottlingLev… 196 DisplayDeviceConfig.DEFAULT_ID, in testDisplaySensorBasedThrottling() 269 this(DISPLAY_ID, DisplayDeviceConfig.DEFAULT_ID, null, in TestThermalData() 274 this(DISPLAY_ID, DisplayDeviceConfig.DEFAULT_ID, data, in TestThermalData()
|
/frameworks/base/services/core/java/com/android/server/display/brightness/clamper/ |
D | BrightnessClamperController.java | 45 import com.android.server.display.DisplayDeviceConfig; 46 import com.android.server.display.DisplayDeviceConfig.PowerThrottlingConfigData; 47 import com.android.server.display.DisplayDeviceConfig.PowerThrottlingData; 48 import com.android.server.display.DisplayDeviceConfig.ThermalBrightnessThrottlingData; 94 private final DisplayDeviceConfig mDisplayDeviceConfig; 326 DisplayDeviceConfig displayDeviceConfig, SensorManager sensorManager) { in getModifiers() 358 private final DisplayDeviceConfig mDisplayDeviceConfig; 363 @NonNull DisplayDeviceConfig displayDeviceConfig) { in DisplayDeviceData() 452 private void reloadLightSensorData(DisplayDeviceConfig displayDeviceConfig) { in reloadLightSensorData()
|
D | BrightnessPowerClamper.java | 19 import static com.android.server.display.DisplayDeviceConfig.DEFAULT_ID; 31 import com.android.server.display.DisplayDeviceConfig.PowerThrottlingConfigData; 32 import com.android.server.display.DisplayDeviceConfig.PowerThrottlingData; 33 import com.android.server.display.DisplayDeviceConfig.PowerThrottlingData.ThrottlingLevel;
|
D | BrightnessLowLuxModifier.java | 34 import com.android.server.display.DisplayDeviceConfig; 60 private final DisplayDeviceConfig mDisplayDeviceConfig; 65 DisplayDeviceConfig displayDeviceConfig) { in BrightnessLowLuxModifier()
|
D | BrightnessThermalClamper.java | 19 import static com.android.server.display.DisplayDeviceConfig.DEFAULT_ID; 36 import com.android.server.display.DisplayDeviceConfig.ThermalBrightnessThrottlingData; 37 import com.android.server.display.DisplayDeviceConfig.ThermalBrightnessThrottlingData.ThrottlingLev…
|
/frameworks/base/services/core/java/com/android/server/display/mode/ |
D | SyntheticModeManager.java | 22 import com.android.server.display.DisplayDeviceConfig; 48 public Display.Mode[] createAppSupportedModes(DisplayDeviceConfig config, in createAppSupportedModes()
|
D | DisplayModeDirector.java | 24 import static com.android.server.display.DisplayDeviceConfig.DEFAULT_LOW_REFRESH_RATE; 78 import com.android.server.display.DisplayDeviceConfig; 146 private DisplayDeviceConfig mDefaultDisplayDeviceConfig; 156 private SparseArray<DisplayDeviceConfig> mDisplayDeviceConfigByDisplay = new SparseArray<>(); 455 DisplayDeviceConfig config = mDisplayDeviceConfigByDisplay.get(displayId); in isVrrSupportedLocked() 478 public void defaultDisplayDeviceUpdated(DisplayDeviceConfig displayDeviceConfig) { in defaultDisplayDeviceUpdated() 661 void injectDisplayDeviceConfigByDisplay(SparseArray<DisplayDeviceConfig> ddcByDisplay) { in injectDisplayDeviceConfigByDisplay() 717 @Nullable DisplayDeviceConfig getDisplayDeviceConfig(int displayId); in getDisplayDeviceConfig() 1000 void setRefreshRates(DisplayDeviceConfig displayDeviceConfig, in setRefreshRates() 1077 private void setDefaultPeakRefreshRate(DisplayDeviceConfig displayDeviceConfig, in setDefaultPeakRefreshRate() [all …]
|
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/mode/ |
D | SyntheticModeManagerTest.kt | 20 import com.android.server.display.DisplayDeviceConfig 41 private val mockConfig = mock<DisplayDeviceConfig>()
|
D | BrightnessObserverTest.kt | 25 import com.android.server.display.DisplayDeviceConfig 60 private val mockDeviceConfig = mock<DisplayDeviceConfig>()
|
D | SettingsObserverTest.kt | 29 import com.android.server.display.DisplayDeviceConfig 94 private val mockDeviceConfig = mock<DisplayDeviceConfig>() 115 val ddcByDisplay = SparseArray<DisplayDeviceConfig>() in test low power mode()
|
/frameworks/base/services/core/java/com/android/server/display/config/ |
D | DisplayBrightnessMappingConfig.java | 30 import com.android.server.display.DisplayDeviceConfig; 140 mBrightnessLevelsNits = DisplayDeviceConfig.getFloatArray(context.getResources() in DisplayBrightnessMappingConfig() 145 float[] brightnessLevelsLux = DisplayDeviceConfig.getLuxLevels(context.getResources() in DisplayBrightnessMappingConfig()
|
/frameworks/base/services/core/java/com/android/server/display/utils/ |
D | DeviceConfigParsingUtils.java | 25 import com.android.server.display.DisplayDeviceConfig; 105 String dataSetId = (i < items.length) ? items[i] : DisplayDeviceConfig.DEFAULT_ID; in parseDeviceConfigMap()
|
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/utils/ |
D | DeviceConfigParsingUtilsTest.java | 31 import com.android.server.display.DisplayDeviceConfig; 71 {VALID_DATA_STRING, Map.of("display1", Map.of(DisplayDeviceConfig.DEFAULT_ID, in parseDeviceConfigMapData()
|
/frameworks/base/services/core/java/com/android/server/display/brightness/ |
D | DisplayBrightnessController.java | 36 import com.android.server.display.DisplayDeviceConfig; 361 DisplayDeviceConfig displayDeviceConfig, Handler handler, in setUpAutoBrightness() 536 DisplayDeviceConfig displayDeviceConfig, Handler handler, in setUpAutoBrightnessFallbackStrategy()
|