diff options
| author | 2024-02-08 17:24:45 +0800 | |
|---|---|---|
| committer | 2024-02-22 22:24:08 +0800 | |
| commit | bdd5513739af5b24a972e3ffecffebf42a14d83f (patch) | |
| tree | 9ba35aedc75fa3d8972393e5f0f060038767b5e0 /libs/androidfw/StringPool.cpp | |
| parent | 870fd130b9c2a9e116e5fdbe0c668f402856105f (diff) | |
display: brightnessThrottler to support sensor based Throttling
Use TempSensor in DisplayDeviceConfig to support custom sensor based
throttling.
If tempsensor null or empty:
- Register for type skin (as currently done)
- Continue with current flow
If tempsensor valud:
- Register for type in tempsensor.type
- In notify throttling verify notification for tempsensor.name
- Continue with current flow
Also update below maps from hashmap to map:
- mThermalBrightnessThrottlingDataMapByThrottlingId
- mPowerThrottlingDataMapByThrottlingId
Bug: 279114539
Test: atest BrightnessThrottlerTest
Test: local build with updated config and check debug logs
Change-Id: Ib599620a73e32c748df183b8cf95b119280d0614
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions