Home
last modified time | relevance | path

Searched refs:DeviceConfigParsingUtils (Results 1 – 8 of 8) sorted by relevance

/aosp14/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/utils/
H A DDeviceConfigParsingUtilsTest.java87 DeviceConfigParsingUtils.parseDeviceConfigMap(dataString, mDataPointToPair, in testParseDeviceConfigMap()
96 DeviceConfigParsingUtils.parseDeviceConfigMap(VALID_DATA_STRING, (s1, s2) -> null, in testDataPointMapperReturnsNull()
129 int result = DeviceConfigParsingUtils.parseThermalStatus(thermalStatusString); in testParseThermalStatus()
137 () -> DeviceConfigParsingUtils.parseThermalStatus("invalid_status")); in testParseThermalStatus_illegalStatus()
144 float result = DeviceConfigParsingUtils.parseBrightness("0.65"); in testParseBrightness()
152 () -> DeviceConfigParsingUtils.parseBrightness("-0.65")); in testParseBrightness_lessThanMin()
160 () -> DeviceConfigParsingUtils.parseBrightness("1.65")); in testParseBrightness_moreThanMax()
167 assertNull(DeviceConfigParsingUtils.displayBrightnessThresholdsIntToFloat(null)); in testDisplayBrightnessThresholdsIntToFloat_Null()
174 DeviceConfigParsingUtils.displayBrightnessThresholdsIntToFloat( in testDisplayBrightnessThresholdsIntToFloat()
180 assertNull(DeviceConfigParsingUtils.ambientBrightnessThresholdsIntToFloat(null)); in testAmbientBrightnessThresholdsIntToFloat_Null()
[all …]
/aosp14/frameworks/base/services/core/java/com/android/server/display/feature/
H A DDeviceConfigParameterProvider.java26 import com.android.server.display.utils.DeviceConfigParsingUtils;
117 return DeviceConfigParsingUtils.ambientBrightnessThresholdsIntToFloat( in getHighAmbientBrightnessThresholds()
132 return DeviceConfigParsingUtils.displayBrightnessThresholdsIntToFloat( in getHighDisplayBrightnessThresholds()
147 return DeviceConfigParsingUtils.displayBrightnessThresholdsIntToFloat( in getLowDisplayBrightnessThresholds()
162 return DeviceConfigParsingUtils.ambientBrightnessThresholdsIntToFloat( in getLowAmbientBrightnessThresholds()
/aosp14/frameworks/base/services/core/java/com/android/server/display/brightness/clamper/
H A DBrightnessThermalClamper.java39 import com.android.server.display.utils.DeviceConfigParsingUtils;
91 int status = DeviceConfigParsingUtils.parseThermalStatus(key);
92 float brightnessPoint = DeviceConfigParsingUtils.parseBrightness(value);
189 mThermalThrottlingDataOverride = DeviceConfigParsingUtils.parseDeviceConfigMap( in loadOverrideData()
/aosp14/frameworks/base/services/core/java/com/android/server/display/
H A DBrightnessThrottler.java41 import com.android.server.display.utils.DeviceConfigParsingUtils;
108 int status = DeviceConfigParsingUtils.parseThermalStatus(key);
109 float brightnessPoint = DeviceConfigParsingUtils.parseBrightness(value);
286 DeviceConfigParsingUtils.parseDeviceConfigMap( in loadThermalBrightnessThrottlingDataFromDeviceConfig()
H A DDisplayDeviceConfig.java19 import static com.android.server.display.utils.DeviceConfigParsingUtils.ambientBrightnessThresholds…
20 import static com.android.server.display.utils.DeviceConfigParsingUtils.displayBrightnessThresholds…
/aosp14/frameworks/base/services/core/java/com/android/server/display/mode/
H A DDisplayModeDirector.java76 import com.android.server.display.utils.DeviceConfigParsingUtils;
1642 DeviceConfigParsingUtils::displayBrightnessThresholdsIntToFloat); in loadLowBrightnessThresholds()
1648 DeviceConfigParsingUtils::ambientBrightnessThresholdsIntToFloat); in loadLowBrightnessThresholds()
1708 DeviceConfigParsingUtils::displayBrightnessThresholdsIntToFloat); in loadHighBrightnessThresholds()
1714 DeviceConfigParsingUtils::ambientBrightnessThresholdsIntToFloat); in loadHighBrightnessThresholds()
1853 DeviceConfigParsingUtils::displayBrightnessThresholdsIntToFloat); in onDeviceConfigLowBrightnessThresholdsChanged()
1859 DeviceConfigParsingUtils::ambientBrightnessThresholdsIntToFloat); in onDeviceConfigLowBrightnessThresholdsChanged()
1899 DeviceConfigParsingUtils::displayBrightnessThresholdsIntToFloat); in onDeviceConfigHighBrightnessThresholdsChanged()
1905 DeviceConfigParsingUtils::ambientBrightnessThresholdsIntToFloat); in onDeviceConfigHighBrightnessThresholdsChanged()
/aosp14/frameworks/base/services/core/java/com/android/server/display/utils/
H A DDeviceConfigParsingUtils.java37 public class DeviceConfigParsingUtils { class
/aosp14/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
H A DDisplayDeviceConfigTest.java20 import static com.android.server.display.utils.DeviceConfigParsingUtils.ambientBrightnessThresholds…
21 import static com.android.server.display.utils.DeviceConfigParsingUtils.displayBrightnessThresholds…