9 Commits

Author SHA1 Message Date
Ram Chandrasekar
8762a73f1b RELAND: sepolicy: thermal: move thermal makefile
move thermal makefile to the dump folder. This is done as a part of
reorganizing thermal sepolicy code.
Reland this change, since all the references from EoL socs are removed.

Bug: 289146743
Test: Compilation and bootup test

Change-Id: Ibe60672d34b02712f04293cc891c12a07a93c23e
Signed-off-by: Ram Chandrasekar <rchandrasekar@google.com>
2023-09-01 11:31:43 -07:00
Randall Huang
31a8c774cb Revert "sepolicy: thermal: move thermal makefile"
Revert submission 24269757-thermal-sepolicy

Reason for revert: b/297279327 build breakage

Reverted changes: /q/submissionid:24269757-thermal-sepolicy

Change-Id: I74437b2eed80b72280baf7a9140ab9f493709ce9
2023-08-24 03:27:16 +00:00
Ram Chandrasekar
7817a84c48 sepolicy: thermal: move thermal makefile
move thermal makefile to the dump folder. This is done as a part of
reorganizing thermal sepolicy code.

Bug: 289146743
Test: Compilation and bootup test

Change-Id: I43d5d3916e7ec49cfc174bf709a466d4078b1c21
Signed-off-by: Ram Chandrasekar <rchandrasekar@google.com>
2023-08-03 12:31:01 -06:00
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