6 Commits

Author SHA1 Message Date
Ram Chandrasekar
90fd300e5f thermal-hal: Add thermal HAL configs
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>
2023-08-03 12:30:14 -06:00
Ram Chandrasekar
910ecf4ffa sepolicy: thermal: reorganize the source to folder
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>
2023-07-31 11:13:51 -06:00
YiHo Cheng
99770a6fcd dumpstate:thermal: refactor dump_thermal.sh
- use echo instead of printf to save script execution time
- fix incorrect format in dump_thermal.sh

Bug: 290888701
Test: time ./dump_thermal.sh
Test: adb bugreport
Change-Id: I501775ccceaf9dc423db87913939ea2e361ed8c7
2023-07-21 13:58:39 +08:00
Ziyi Cui
3add9b2b48 gs-common:dumpstate: Combine Temperature Residency bugreport to pixel_metrics
Bug: 246799997
Test: Test: "adb bugreport" includes temp residency metrics capture.
Change-Id: I51eb7f961bd1ddeb0b7cd7bb33d1a19fef9b2c92
2022-11-28 20:16:47 +00:00
Ziyi Cui
4a96ebedbf gs-common:dumpstate: Dump Temperature Residency at bugreport
At the bugreport, capture Temperature Residency metrics

Bug: 246799997
Test: Test: "adb bugreport" includes temp residency metrics capture.
Change-Id: I1cb1c9e53890f3175812e15a15f09bcb7fd9d6af
2022-11-24 00:12:48 +00:00
Adam Shih
486bbb9212 create thermal dump in gs-common
Bug: 257880034
Test: adb bugreport
Change-Id: I0d93796c2639148dfb00b0d739cbae483091bfd4
2022-11-15 15:36:01 +08:00