Update the sepolicy for thermalhal to read sysfs_gpu to access the basic
gpu info.
Bug: 336698561
Test: Flash Build and boot to home, run adb shell dumpsys android.hardware.thermal.IThermal/default, check the cdevceiling and hardlimit number for gpu
Change-Id: I6e722e108284ee0d7a0c86a9e50749ecf4b354a5
Signed-off-by: Peter (YM) <peterym@google.com>
Add all thermal HAL sepolicy and makefile to the new common folder.
Bug: 289146743
Test: Compilation test
Change-Id: I133dcdac20a970e7ff4026fa503e46fd073be34f
Signed-off-by: Ram Chandrasekar <rchandrasekar@google.com>
Reorganize the dump thermal script source and sepolicy to its own
folder. This is done as a part of moving all thermal product
makefiles to gs-common.
Bug: 289146743
Test: Compilation and bootup test
Change-Id: Ie9162b401c9bed57c3d2e2648edc17457ad8883e
Signed-off-by: Ram Chandrasekar <rchandrasekar@google.com>
At the bugreport, capture Temperature Residency metrics
Bug: 246799997
Test: Test: "adb bugreport" includes temp residency metrics capture.
Change-Id: I1cb1c9e53890f3175812e15a15f09bcb7fd9d6af