Commit graph

2 commits

Author SHA1 Message Date
sashwinbalaji
fc365a9d48 thermal: Add INNER-DISPLAY-DIFF virtual sensor.
Add LEFT-INNER-DISPLAY, RIGHT-INNER-DISPLAY virtual sensors.
Add INNER-DISPLAY-DIFF (diff of right - left) virtual sensor.

The INNER-DISPLAY-DIFF sensor will be used for inner display thermal
compensation.

Bug: 309716793
Test: Push config to device and verify thermal log and lshal
Change-Id: I4f7fbb2006b84dd6ab945d0de94f5d5ca2ffcd49
2024-01-02 13:03:50 +08:00
sashwinbalaji
edb8b488e5 thermal: Dynamically decide thermal config to use
Add service which will device thermal config on basis of following
conditions:

- No display panel / proto, use thermal_info_config_proto

Bug: 315096213
Test: Build and verify on all device variations
Change-Id: Ic1f652dcf38888150200bb80b35aad740058e85f
2023-12-18 19:28:00 +08:00