thermal: Move common thermal HAL code to shared Pixel library.
Created new 'thermal_structs.h' file to avoid library -> HAL include dependency.
Removed battery_thresholds.cpp/h.
Bug: 117104007
Test: adb shell dumpsys hardware_properties
adb shell su 0 lshal debug android.hardware.thermal@1.1::IThermal/default
pts -m PtsThermalHalTestCases
vts -m VtsHalThermalV1_0Target
vts -m VtsHalThermalV1_1Target
Change-Id: Id517eea8e3e9bee1fbc579f176ff8850180ed105
Signed-off-by: Vincent Palomares <paillon@google.com>
11 files changed