Home
last modified time | relevance | path

Searched refs:DisplayDeviceConfig (Results 1 – 25 of 47) sorted by relevance

12

/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
DBrightnessMappingStrategyTest.java173 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 …]
DHighBrightnessModeMetadataMapperTest.java39 private DisplayDeviceConfig mDdcMock;
42 private DisplayDeviceConfig.HighBrightnessModeData mHbmDataMock;
DDisplayPowerProximityStateControllerTest.java58 DisplayDeviceConfig mDisplayDeviceConfig;
217 DisplayDeviceConfig updatedDisplayDeviceConfig = mock(DisplayDeviceConfig.class); in notifyDisplayDeviceChangedReloadsTheProximitySensor()
/frameworks/base/services/core/java/com/android/server/display/
DBrightnessRangeController.java44 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()
DDisplayDevice.java65 protected DisplayDeviceConfig mDisplayDeviceConfig;
114 public DisplayDeviceConfig getDisplayDeviceConfig() { in getDisplayDeviceConfig()
449 private DisplayDeviceConfig loadDisplayDeviceConfig() { in loadDisplayDeviceConfig()
450 return DisplayDeviceConfig.create(mContext, /* useConfigXml= */ false, in loadDisplayDeviceConfig()
DBrightnessThrottler.java19 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()
DDisplayDeviceConfig.java615 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 …]
DDisplayPowerProximityStateController.java99 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/
DAutoBrightnessFallbackStrategyTest.java34 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/
DAutoBrightnessFallbackStrategy.java31 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/
DBrightnessPowerClamperTest.java31 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()
DBrightnessThermalClamperTest.java37 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/
DBrightnessClamperController.java45 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()
DBrightnessPowerClamper.java19 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;
DBrightnessLowLuxModifier.java34 import com.android.server.display.DisplayDeviceConfig;
60 private final DisplayDeviceConfig mDisplayDeviceConfig;
65 DisplayDeviceConfig displayDeviceConfig) { in BrightnessLowLuxModifier()
DBrightnessThermalClamper.java19 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/
DSyntheticModeManager.java22 import com.android.server.display.DisplayDeviceConfig;
48 public Display.Mode[] createAppSupportedModes(DisplayDeviceConfig config, in createAppSupportedModes()
DDisplayModeDirector.java24 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/
DSyntheticModeManagerTest.kt20 import com.android.server.display.DisplayDeviceConfig
41 private val mockConfig = mock<DisplayDeviceConfig>()
DBrightnessObserverTest.kt25 import com.android.server.display.DisplayDeviceConfig
60 private val mockDeviceConfig = mock<DisplayDeviceConfig>()
DSettingsObserverTest.kt29 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/
DDisplayBrightnessMappingConfig.java30 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/
DDeviceConfigParsingUtils.java25 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/
DDeviceConfigParsingUtilsTest.java31 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/
DDisplayBrightnessController.java36 import com.android.server.display.DisplayDeviceConfig;
361 DisplayDeviceConfig displayDeviceConfig, Handler handler, in setUpAutoBrightness()
536 DisplayDeviceConfig displayDeviceConfig, Handler handler, in setUpAutoBrightnessFallbackStrategy()

12