samou
8d194cb38c
bcl: remove charging debugfs data logging
...
Flag: EXEMPT refactor
Bug: 362322242
Change-Id: Ibdd3df9c7a2dfeab36a43d32dc092fefdec9d77d
Signed-off-by: samou <samou@google.com>
2024-09-05 10:02:21 +00:00
samou
11938381ec
Migrate dump_power_gs201.sh contents into cpp for improved speed
...
Flag: EXEMPT refactor
Bug: 349935208
Test: ./dump_power
Change-Id: I7799487b0f88cf59cb46f050d87528d535f7e788
Signed-off-by: samou <samou@google.com>
2024-08-23 10:58:20 +00:00
Daniel Okazaki
3edeae32e0
dumpstate: moving charger nodes to user build
...
Bug: 323415060
Test: adb bugreport
Change-Id: I96c06149ad0b960b2fa9116fca126311116fa9d0
Signed-off-by: Daniel Okazaki <dtokazaki@google.com>
2024-02-21 00:11:01 +00:00
Jacky Liu
8548e9b2be
Update i2c device paths
...
Update i2c device paths with static bus numbers.
Also remove some redundant paths.
Bug: 323447554
Test: Boot to home
Change-Id: Id3f0fccd39b70d247c0d7a17a1944223619ec40e
2024-02-07 04:00:46 +00:00
Spade Lee
df3f348d3b
dumpstate: add SoC residency dump
...
Bug: 319536756
Change-Id: If12b04cca0b5f426709d4f0a8e4c6937d7abc7e2
Signed-off-by: Spade Lee <spadelee@google.com>
2024-01-22 16:50:25 +00:00
Kyle Tso
84e6e2b491
dumpstate: Fix wrong path for tcpm psy uevent
...
Bug: 320605646
Change-Id: I24ee174bdb5f9bb8127f5ae158c55a8738d852e3
Signed-off-by: Kyle Tso <kyletso@google.com>
2024-01-18 15:12:23 +00:00
Jenny Ho
7755cc6fde
dump_power_gs201: lynx: add battery EEPROM dump path
...
Bug: 316820830
Change-Id: Ia5833d8980f97335b15e9ebb3a81f28b9019adc9
Signed-off-by: Jenny Ho <hsiufangho@google.com>
2023-12-18 08:27:05 +00:00
Jenny Ho
8352219e0d
dump_power_201: update battery fg dump data
...
- add battery eeprom dump path
- adjusted maxfg names for better readability
Bug: 284878175
Change-Id: I162314f580eace926c9cd661d8d1e04dea131fe4
Signed-off-by: Jenny Ho <hsiufangho@google.com>
2023-05-30 12:00:20 +08:00
Minchan Kim
21cea1d88e
remove dump_gs201
...
The event trace dumping moved into gs-common.
Bug: 276901078
Test: dumpstate_board.txt on adb bugreport includes the info
Change-Id: I4d0f0886ef9292f854c1009a80ba525347aa45a0
Signed-off-by: Minchan Kim <minchan@google.com>
2023-04-12 06:09:00 +00:00
Adam Shih
f50f869a70
use dumpsate from gs-common
...
Bug: 273380985
Test: adb bugreport
Change-Id: I9ff3f7212c0821e5e880563ed503ea1d883a7a87
2023-04-10 01:11:14 +00:00
Adam Shih
15d11de144
move wlan dump to relevant devices
...
Bug: 273380509
Test: adb bugreport
Change-Id: Id3e11e69a1a0c6502ab2e7883cec34659922f660
2023-04-06 01:42:52 +00:00
Adam Shih
7fefcc231f
Move power dump out of hal_dumpstate_default
...
Bug: 273380509
Test: adb bugreport
Change-Id: I25a3c384e085f8534d4917a73714a99579fbd8bd
2023-03-30 02:20:37 +00:00
Adam Shih
e7b8ae32a3
create a dump for gs201
...
Bug: 273380509
Test: adb bugreport
Change-Id: I44564eca36026608d7fe599ca8b8e412caa50c92
2023-03-28 23:57:38 +00:00
Adam Shih
fbb7175244
use radio dump in gs-common
...
Bug: 273380509
Test: adb bugreport
Change-Id: Id60eefa3a78186f2bf093295490fb7d2524bf80b
Merged-In: Id60eefa3a78186f2bf093295490fb7d2524bf80b
2023-03-27 06:18:09 +00:00
Adam Shih
44ca8b2554
comply with VTS requirements
...
Bug: 275036679
Bug: 275034315
Test:
atest VtsHalDumpstateTargetTest:PerInstanceAndMode/DumpstateAidlPerModeTest#TestOk/0_android_hardware_dumpstate_IDumpstateDevice_default_FULL
atest VtsHalDumpstateTargetTest:PerInstance/DumpstateAidlGeneralTest#TestInvalidModeArgument_Negative/0_android_hardware_dumpstate_IDumpstateDevice_default
Change-Id: I734325c39c66dc536de42fb9d77631ccd1016c84
2023-03-27 03:41:16 +00:00
Adam Shih
a3c81a57ad
use gs-common gps dump
...
Bug: 273380509
Test: adb bugreport
Change-Id: I97ac88eb9b5ade2d5bfa262b00a2818bbbb789bb
2023-03-23 02:30:07 +00:00
Adam Shih
1b92506c4d
use gxp dump in gs-common
...
The function is introduced in ag/21644929
Bug: 273380509
Test: adb bugreport;unzip *zip;tar -xvf dumpstate_board.bin
And found gxp content
Change-Id: Ife6e7dc1c399150b149f5fbd14c902da6cdeefcf
2023-03-21 05:26:25 +00:00
Adam Shih
b578bc8a0e
use gs-common camera dump
...
Bug: 273380509
Test: adb bugreport
Change-Id: I1312a62bd65ec8804bb967d98d1f231f6798b5c3
2023-03-20 11:09:26 +08:00
Adam Shih
256fe971e4
use gs-common soc dump
...
Bug: 273380509
Test: adb bugreport
Change-Id: Icb6eb7b67a3d258c2a6bc72368df92c7fbdb2f66
2023-03-15 05:59:09 +00:00
Adam Shih
76e63fb7b3
move modem operation to dump_modemlog
...
Bug: 240530709
Test: adb bugreport
Change-Id: Ib57623cc37cbd3becc20365854b150a4c7a7551b
2023-03-13 02:11:45 +00:00
Adam Shih
fe0605b2b1
Move display dump to gs-common
...
Bug: 269212897
Test: adb bugreport
Change-Id: I7b17d4d54e90429d07b545e3d53c3f528155dab5
2023-03-09 05:09:19 +00:00
Adam Shih
3f1d4813cc
Move memory dump to gs-common
...
Bug: 240530709
Test: adb bugreport
Change-Id: I04431cd22b3ec1cc8a1bb0c6e3a7b482ad5963f2
2023-02-14 07:22:05 +00:00
Adam Shih
c9a60c3497
Move led dump to tablet only
...
Bug: 240530709
Test: adb bugreport
Change-Id: I41ab1c21462a2efcdfe2eae0f9aab4ccaa52bbb6
2023-02-14 04:28:30 +00:00
Adam Shih
2f82d55e05
extract misc section from dumpstate
...
Bug: 240530709
Test: adb bugreport
Change-Id: I938cd3f012fcb400185772f5760c0fd280cb2a08
2023-02-10 13:40:55 +08:00
Jack Wu
c49d350dee
dumpstate: add battery eeprom in bugreport am: e28746e3f1
am: a0c8de3597
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/21027679
Change-Id: Id7952997e7ec906fa5206f67335840660c11ba55
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-31 09:14:27 +00:00
Pat Tjin
184a771f76
Add OWNER for dumpstate
...
Change-Id: I38d96529b2e2d722a2364ba2daed546c8da01da9
2023-01-31 05:24:33 +00:00
Jack Wu
e28746e3f1
dumpstate: add battery eeprom in bugreport
...
Bug: 265889611
Test: adb bugreport
Change-Id: I604834cdae4a3352db20301128d61059c71f0fb2
Signed-off-by: Jack Wu <wjack@google.com>
2023-01-18 08:17:23 +00:00
Wasb Liu
48676580c3
dumpstate: dump dual batt logbuffer am: 08a7fc6c70
am: ddb529fff8
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/20806353
Change-Id: I61b2c69c8dcf19cb0bb43b9a8ca5298a13a0325c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-17 06:00:50 +00:00
Wasb Liu
08a7fc6c70
dumpstate: dump dual batt logbuffer
...
Add logbuffer_dual_batt to dumpstate.
Also fix some dual batt related dump pathes.
Bug: 263496320
Test: build pass, no related permission errors.
Change-Id: Ibfd3dfc18acc049052f07246c8d85ae04b4f95f5
Signed-off-by: Wasb Liu <wasbliu@google.com>
2023-01-17 04:52:50 +00:00
Alex Hong
6ffe1e16e7
Fix the index out of bounds error when the modem FD is missing am: d6f061f45a
am: f918ea1dc9
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/20877560
Change-Id: I41ffa93760dde5fe4bde4dfb3655eaaf2f6f5f51
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-13 07:44:58 +00:00
Alex Hong
d6f061f45a
Fix the index out of bounds error when the modem FD is missing
...
Bug: 263783650
Test: atest VtsHalDumpstateTargetTest pass
Change-Id: I3795244e111bbf18b1a2a2a27a93242b4015baa7
2023-01-09 21:34:14 +08:00
Super Liu
33673ae71f
[DO NOT MERGE] Support gti proc dump.
...
Bug: 262796907
Test: TreeHugger build pass.
Change-Id: I84f68070b50272d4beeaa6178011584fc3a38a9f
2022-12-23 06:56:00 +00:00
Taylor Nelms
b8248d3ec4
Modify dumpstate to point to counters in sysfs rather than debugfs
...
Bug: 240346564
Test: Build for Cheetah device with user build, check bugreport for decon_counters content
Change-Id: I0026378d81f5de5ac48b658861a2d8a85c817820
Signed-off-by: Taylor Nelms <tknelms@google.com>
2022-12-21 01:41:36 +00:00
Adam Shih
3df17f30b3
move dump cpu to gs-common
...
Bug: 240530709
Test: adb bugreport
Change-Id: I05d533c8a4ccb085e9ffbfa53b0262ae38461b9b
2022-12-14 00:41:12 +00:00
Mason Wang
a6120d0625
Dumpstate: Add golden mutual raw data for FST2 touch. [DO NOT MERGE]
...
Bug: 254201934
Test: The BR has the data of "Golden Mutual Raw Data.
Signed-off-by: Mason Wang <masonwang@google.com>
Change-Id: I017462d0cd6f2ed3032f0f775d078ef3f5790193
2022-12-13 23:52:03 +00:00
Wiwit Rifa'i
63c4c328b1
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: I8a7877095db9e9388c28f16644692e71c94a4a5b
2022-12-13 05:09:22 +00:00
kierancyphus
ebeab15ad7
Dumpstate: use new history dir and inc more files
...
Modify the logging mask file path to instead point to the new history
directory, as well as include more files (right now only logging mask
history and logging enabled history).
Bug: 259174982
Test: Manually build and inspect bugreport to make sure files are
included
Change-Id: Id87f381a4895399a035ea4fe55d132e31d5d796c
Merged-In: Id87f381a4895399a035ea4fe55d132e31d5d796c
2022-12-07 06:55:42 +00:00
kierancyphus
bffe8fccb9
Dumpstate: use new history dir and inc more files
...
Modify the logging mask file path to instead point to the new history
directory, as well as include more files (right now only logging mask
history and logging enabled history).
Bug: 259174982
Test: Manually build and inspect bugreport to make sure files are
included
Change-Id: Id87f381a4895399a035ea4fe55d132e31d5d796c
2022-12-07 03:18:53 +00:00
Ziyi Cui
ead189b0f8
[DO NOT MERGE] gs201:dumpstate: Dump long irq metrics, resume latency metrics at bugreport
...
At the bugreport, capture long irq metrics and resume latency metrics
Bug: 227809911
Bug: 232541623
Test: "adb bugreport" includes metrics capture.
Signed-off-by: Ziyi Cui <ziyic@google.com>
Change-Id: I8dc3330da3b9274be24534b52db86f0b3d01a482
2022-12-01 06:31:01 +00:00
Ziyi Cui
78f9096a34
[DO NOT MERGE] dumpstate: Dump Temperature Residency at bugreport
...
At the bugreport, capture Temperature Residency metrics
Bug: 246799997
Test: Test: "adb bugreport" includes temp residency metrics capture.
Signed-off-by: Ziyi Cui <ziyic@google.com>
Merged-In: I49ffdcadce89e3dc8859819576998df56928a75a
Change-Id: I360b7d26c94556f43945a0c3c0e942fb0c48fa5d
2022-12-01 06:27:22 +00:00
Mason Wang
758d4f22fe
Dumpstate: Filter not used dumps of touch node. [DO NOT MERGE]
...
Bug: 226475119
Test: Dumps of outer panel is in bugreport.
Change-Id: I1e6e59e1709715306671df9536685d9b3a9e34d6
2022-11-30 23:04:01 +00:00
Adam Shih
5382b6adb3
move touch dump to gs-common
...
Bug: 256521567
Test: adb bugreport
Change-Id: Ic13dc189eccd1a5f4f204326b1e93303b9492f69
2022-11-29 04:47:15 +00:00
Mason Wang
0cdf324421
Dumpstate: Avoid to dumps on invalid file node [DO NOT MERGE]
...
Bug: 226475119
Test: Verify pass by touch dump data in bugreport.
Change-Id: I9088ca44a9111ae36462f340da57dfe27d4b86ec
2022-11-28 11:51:37 +08:00
Kieran Cyphus
a7abfe801b
Dumpstate: include LoggingMaskHistory.csv
on bugreport am: fef314ea8a
am: be98ee5556
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/20335689
Change-Id: I5755190c4644be3b321fcbde163e11f1d0b2293e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-25 02:47:26 +00:00
Kieran Cyphus
fef314ea8a
Dumpstate: include LoggingMaskHistory.csv
on bugreport
...
Bug: 241739027
Test: trigger bugreport with `adb bugreport` and inspect the
logs to to make sure it is copying over LoggingMaskHistory and
including it in the tar file at the end.
Change-Id: I93ad2655193c57a0782c1535dc1cde3d0db1aeec
2022-11-23 07:27:30 +00:00
Adam Shih
4b1a772fa3
use gs-common thermal dump
...
Bug: 257880034
Test: adb bugreport
Change-Id: Ie4855d54999266b4a33b80b2e44f5f956438b99c
2022-11-23 14:35:57 +08:00
Adam Shih
76ce23c5d2
move gti0 dump to gs-common
...
Bug: 256521567
Test: adb bugreport
Change-Id: I17aeb8cf5065a24cbacea73b65e0bc53aa0c498d
2022-11-23 05:30:53 +00:00
Adam Shih
3303ba1a10
remove panther touch dump
...
Bug: 256521567
Test: adb bugreport
Change-Id: If56e6edad81ac16f8570d40668e6b1d6579c8cb6
2022-11-21 02:45:42 +00:00
Adam Shih
96e1ee4f25
move cheetah touch dump to gs-common
...
Bug: 256521567
Test: adb bugreport
Change-Id: I87f223d78b64bd69a092299fe41c96820e5ce446
2022-11-17 10:34:23 +08:00
Adam Shih
eed4e34113
remove raven touch dump
...
Bug: 256521567
Test: adb bugreport
Change-Id: If7d45e4bb4c78101bf5221ee858cbea15ba6327d
2022-11-16 07:42:22 +00:00