Commit graph

42 commits

Author SHA1 Message Date
Adam Shih
bdb4b8f669 remove dump text section
Bug: 269212897
Test: adb bugreport
Change-Id: I73d005268bd3964477a8af776362ec57f969cc0d
2023-03-07 10:54:07 +08:00
Adam Shih
f122db3f24 Merge "Move common display dump to gs-common" into udc-dev 2023-03-06 22:27:50 +00:00
Adam Shih
881ed63c9e Move common display dump to gs-common
Bug: 269212897
Test: adb bugreport
Change-Id: Ib42ea1125b58b8a41da64b047238312b5f13bfbb
2023-03-06 06:33:30 +00:00
Adam Shih
e305d69c78 Move modem dump log to gs-common
Bug: 240530709
Test: adb bugreport
and the following file got to dumpstate_board.bin:
extended_log_uim.txt
extended_log_os.txt
nv_normal.bin
nv_protected.bin

Change-Id: I4994cdef97805aa54dbf54b218beea796a6b7969
2023-03-02 14:10:49 +08:00
Adam Shih
cb302d9794 move gxp dump to gs-common
ag/21644929 is where the operation lives in the future.
Bug: 240530709
Test: adb bugreport
Change-Id: I6e621228a1964ec0b83afe02cd0059c7ee361b20
2023-03-01 21:58:41 +00:00
Adam Shih
04ca8b59c9 Move HWC dump to gs-common
Bug: 269212897
Test: adb bugreport
Change-Id: I454668d8df81069fdd78bf573a428f4adb8adc6b
2023-02-22 13:54:55 +08:00
Adam Shih
d6bd696649 make dumpLogSection compatible to new structure
Bug: 240530709
Test: adb bugreport
Change-Id: I731a7f59e327789018330c2ca7353105de1ddb8f
2023-02-21 11:07:42 +08:00
Adam Shih
3d012b65dd dumpstate should not be restricted to phones only
Bug: 240530709
Test: adb bugreport
Change-Id: I77d9bc3e75879293802b8d1956bfffee1513e3d7
2023-02-16 12:39:03 +08:00
Adam Shih
5f802b7e13 create cma dump
Bug: 240530709
Test: adb bugreport
Change-Id: Iadac309611bc6dd27615b087f159234d6f1b655c
2023-02-15 12:55:50 +08:00
Adam Shih
8eb00e662f move devfreq dump to gs-common
Bug: 240530709
Test: adb bugreport
Change-Id: Ia5faaf0891a91fad1120358f38f40f6227d88d45
2023-02-15 11:11:00 +08:00
Adam Shih
ebf2357498 Move memory dump to gs-common
Bug: 240530709
Test: adb bugreport
Change-Id: I579fb77c2743bae854ff10b1baf895d9df641971
2023-02-14 13:01:52 +08:00
Adam Shih
0584dcc4b5 Remove obsolete led dump
Bug: 240530709
Test: adb bugreport
Change-Id: Ie018b028c6819fb263d39826fd462e232291df6a
2023-02-13 11:54:12 +08:00
Adam Shih
6fe621f1a5 extract misc section from dumpstate
Bug: 240530709
Test: adb bugreport
Change-Id: I209101de3cc5c583bbe73fbfc29ace80c4da31d2
2023-02-10 13:21:55 +08:00
Adam Shih
948564f82b migrate power section to its own script
Bug: 240530709
Test: adb bugreport
Change-Id: I879525a3c067de1e6e6598d7a29741fd42d2f639
2023-02-08 07:11:44 +00:00
Jenny Ho
5059368362 dumpstate: dump battery defend logbuffer
Bug: 242679204
Change-Id: I85b1b7917445b0c53cff66d51a1af0e00ab488ec
Signed-off-by: Jenny Ho <hsiufangho@google.com>
2023-02-05 14:03:30 +08:00
Alex Hong
e040b0838a Merge "Fix the index out of bounds error when the modem FD is missing" 2023-01-13 06:26:41 +00:00
yihsiangpeng
18a6283a65 Dumpstate: update dump path
Bug: 261921843
Change-Id: Id95fcf05e553e977df79b6e42a3d1ae7e1f9eaec
Signed-off-by: yihsiangpeng <yihsiangpeng@google.com>
2023-01-10 18:05:19 +08:00
Alex Hong
84333eb2dc Fix the index out of bounds error when the modem FD is missing
Bug: 263783650
Test: atest VtsHalDumpstateTargetTest pass
Change-Id: If21800c40a5424d70e10e6dd027cee6737e46863
2023-01-09 21:34:54 +08:00
Taylor Nelms
16a03fb864 Modify dumpstate to point to counters in sysfs rather than debugfs
Bug: 240346564
Test: Build for P23 device with "user" build, check bugreport for decon_counters content
Change-Id: Icb002977d46a50902a426a11305ab4a2a86dfc98
Signed-off-by: Taylor Nelms <tknelms@google.com>
2022-12-16 16:49:46 +00:00
Adam Shih
eeb47d0d4e Merge "create an empty dump for wlan" 2022-12-15 03:15:22 +00:00
Adam Shih
7ee63ad73f create an empty dump for wlan
Bug: 261784587
Test: adb bugreport
Change-Id: Iaeac8e61f9c03ac4b7f6010d7f9b248c0de8415e
2022-12-14 13:34:28 +08:00
Adam Shih
2ebd202504 Merge "move dump cpu to gs-common" 2022-12-14 00:41:15 +00:00
Wiwit Rifa'i
a6cec57be7 dumpstate: change HWC fence & error logs to be per display
hwc_error_log.txt and hwc_fence_state.txt files will be changed to be
per display. Those files could also be divided into at most 2 files,
i.e.
- hwc_error_log.txt will be renamed to
  {DisplayName}_hwc_error_log{index}.txt where {index} is 0 or 1.
- hwc_fence_state.txt will be renamed to
  {DisplayName}_hwc_fence_state{index}.txt where {index} is 0 or 1.

Bug: 245511651
Test: adb bugreport
Change-Id: I0a409e0c2c6cda8294cb4bb675b4e63753d2ca08
2022-12-12 16:19:09 +08:00
Adam Shih
7b12513306 move dump cpu to gs-common
Bug: 240530709
Test: adb bugreport
Change-Id: I6a8583491b83d9ac8e3d266ae5de03e0510d99a1
2022-12-08 11:27:04 +08:00
Jenny Ho
db6f54a105 dumpstate: add wc68 logbuffer into bugreport
Bug: 260756283
Change-Id: I9a3b4af22dec4ff37de23091eae7f498e791a58f
Signed-off-by: Jenny Ho <hsiufangho@google.com>
2022-12-06 00:52:14 +00:00
Adam Shih
eeef57c8fd move touch dump to gs-common
Bug: 256521567
Test: adb bugreport
Change-Id: I7ee36ec579a34dc5bcb5eca49cbec61eefe33034
2022-11-28 10:34:54 +08:00
Adam Shih
decd8479fe move gti0 dump to gs-common
Bug: 256521567
Test: adb bugreport
Change-Id: I6acf6bc685c71015f84f470683e9a40d379006f2
2022-11-21 13:00:07 +08:00
Adam Shih
65c4cf8753 Merge "remove panther touch dump" 2022-11-21 02:45:44 +00:00
Adam Shih
d4f83391a6 remove panther touch dump
Bug: 256521567
Test: adb bugreport
Change-Id: I866a5ea8c6f1336d04d883f344294872fc9da732
2022-11-18 13:32:39 +08:00
Adam Shih
3c64ee9458 Merge "Remove cheetah's touch setting" 2022-11-17 07:09:29 +00:00
Adam Shih
883561e911 Merge "use gs-common thermal dump" 2022-11-17 02:35:36 +00:00
Adam Shih
b812453669 Remove cheetah's touch setting
Bug: 256521567
Test: adb bugreport
Change-Id: I8b112dfd3bccb6d73030ec6759476944e5785c9a
2022-11-17 10:31:02 +08:00
TreeHugger Robot
68e21ac894 Merge "remove raven touch dump" 2022-11-16 07:42:25 +00:00
Adam Shih
b495bf3ab0 use gs-common thermal dump
Bug: 257880034
Test: adb bugreport
Change-Id: I043b8932d6acc349169e392cb783da6acfa86f5d
2022-11-16 11:10:21 +08:00
Adam Shih
2eb9feabb6 move sensors dump to gs-common
Bug: 250475720
Test: adb bugreport
Change-Id: I06d8c443eaf06813dcf047fd9d4277892c9d516e
2022-11-10 15:04:58 +08:00
Adam Shih
412119e35a remove raven touch dump
Bug: 256521567
Test: adb bugreport
Change-Id: Ic6245796de03a607adb1f2999629732040123f12
2022-11-07 11:36:08 +08:00
Jenny Ho
fe75eb7e14 Merge "dumpstate: dump battery eeprom into bugreport" 2022-11-04 03:30:15 +00:00
TreeHugger Robot
29bad315dc Merge "dumpstate: correct the touch dumpstate path" 2022-11-03 03:16:18 +00:00
Jenny Ho
8ce88826e6 dumpstate: dump battery eeprom into bugreport
Add coresponse path and permission

Bug: 255894697
Change-Id: I597291bba2d17af99825dbe80a8f1436dc73e58f
Signed-off-by: Jenny Ho <hsiufangho@google.com>
2022-11-02 17:33:13 +08:00
Adam Shih
082bb51497 align user experience on Android bug tool
Bug: 255250616
Test:
adb shell dumpsys android.hardware.dumpstate.IDumpstateDevice/default wlan

Change-Id: Ibefd8f9fff91cf6ece1f09dd6b207b6f9c97df4d
2022-11-02 13:26:32 +08:00
davidycchen
0c70bcb8b0 dumpstate: correct the touch dumpstate path
Bug: 243077990
Bug: 256913819
Test: trigger bugreport.

Signed-off-by: davidycchen <davidycchen@google.com>
Change-Id: I0019587c0fcf5f6446405ea5e9e2a447790ee647
2022-11-02 09:42:23 +08:00
Adam Shih
c745e34cb4 update dumpstate to latest version
Bug: 240530709
Test: adb bugreport
Change-Id: I49ffdcadce89e3dc8859819576998df56928a75a
2022-10-19 15:22:46 +08:00
Renamed from dumpstate/DumpstateDevice.cpp (Browse further)