Searched refs:tempSensor (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/services/core/java/com/android/server/display/utils/ |
D | SensorUtils.java | 78 public static int getSensorTemperatureType(@NonNull SensorData tempSensor) { in getSensorTemperatureType() argument 79 if (tempSensor.type.equalsIgnoreCase(SensorData.TEMPERATURE_TYPE_DISPLAY)) { in getSensorTemperatureType() 81 } else if (tempSensor.type.equalsIgnoreCase(SensorData.TEMPERATURE_TYPE_SKIN)) { in getSensorTemperatureType() 85 "tempSensor doesn't support type: " + tempSensor.type); in getSensorTemperatureType()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | BrightnessThrottler.java | 142 @NonNull SensorData tempSensor) { in BrightnessThrottler() argument 158 tempSensor, mThermalBrightnessThrottlingDataId, mUniqueDisplayId); in BrightnessThrottler() 192 SensorData tempSensor, in loadThermalBrightnessThrottlingDataFromDisplayDeviceConfig() argument 198 mTempSensor = tempSensor; in loadThermalBrightnessThrottlingDataFromDisplayDeviceConfig() 400 void startObserving(SensorData tempSensor) { in startObserving() argument 402 mObserverTempSensor = tempSensor; in startObserving() 408 mObserverTempSensor = tempSensor; in startObserving() 409 if (curType.equals(tempSensor.type)) { in startObserving()
|
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/brightness/clamper/ |
D | BrightnessThermalClamperTest.java | 192 final SensorData tempSensor = new SensorData("DISPLAY", "VIRTUAL-SKIN-DISPLAY"); in testDisplaySensorBasedThrottling() local 198 tempSensor); in testDisplaySensorBasedThrottling() 217 thermalEventListener.notifyThrottling(createDisplayTemperature(tempSensor.name, severity)); in testDisplaySensorBasedThrottling() 279 SensorData tempSensor) { in TestThermalData() argument 283 mTempSensor = tempSensor; in TestThermalData()
|
/frameworks/base/services/core/java/com/android/server/display/brightness/clamper/ |
D | BrightnessThermalClamper.java | 222 void registerSensor(SensorData tempSensor) { in registerSensor() argument 224 mObserverTempSensor = tempSensor; in registerSensor() 230 mObserverTempSensor = tempSensor; in registerSensor() 231 if (curType.equals(tempSensor.type)) { in registerSensor()
|
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/ |
D | BrightnessThrottlerTest.java | 304 final SensorData tempSensor = new SensorData("DISPLAY", "VIRTUAL-SKIN-DISPLAY"); in testThermalThrottlingWithDisplaySensor() local 306 createThrottlerSupportedWithTempSensor(data, tempSensor); in testThermalThrottlingWithDisplaySensor() 315 listener.notifyThrottling(getDisplayTempWithName(tempSensor.name, level.thermalStatus - 1)); in testThermalThrottlingWithDisplaySensor() 336 listener.notifyThrottling(getDisplayTempWithName(tempSensor.name, level.thermalStatus + 1)); in testThermalThrottlingWithDisplaySensor() 533 SensorData tempSensor = SensorData.loadTempSensorUnspecifiedConfig(); in createThrottlerSupported() local 534 return createThrottlerSupportedWithTempSensor(data, tempSensor); in createThrottlerSupported() 537 ThermalBrightnessThrottlingData data, SensorData tempSensor) { in createThrottlerSupportedWithTempSensor() argument 542 () -> {}, "123", "default", throttlingDataMap, tempSensor); in createThrottlerSupportedWithTempSensor()
|