Searched refs:DeviceConfigParsingUtils (Results 1 – 8 of 8) sorted by relevance
87 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 …]
26 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()
39 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()
41 import com.android.server.display.utils.DeviceConfigParsingUtils;108 int status = DeviceConfigParsingUtils.parseThermalStatus(key);109 float brightnessPoint = DeviceConfigParsingUtils.parseBrightness(value);286 DeviceConfigParsingUtils.parseDeviceConfigMap( in loadThermalBrightnessThrottlingDataFromDeviceConfig()
19 import static com.android.server.display.utils.DeviceConfigParsingUtils.ambientBrightnessThresholds…20 import static com.android.server.display.utils.DeviceConfigParsingUtils.displayBrightnessThresholds…
76 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()
37 public class DeviceConfigParsingUtils { class
20 import static com.android.server.display.utils.DeviceConfigParsingUtils.ambientBrightnessThresholds…21 import static com.android.server.display.utils.DeviceConfigParsingUtils.displayBrightnessThresholds…