Commit graph

18 commits

Author SHA1 Message Date
Qinchen Gu
7aafb36f77 Dump GSC info
Bug: 185939493
Test: adb bugreport. Look for GSC-related info.

Change-Id: I17fd4d7ef4c16661312d594c99818233cd0ee76a
2021-05-12 10:02:28 +00:00
Woody Lin
e9f27f4a68 gs101: dumpstate: Dump s2d.lst to dumpstate_board.txt
Gzip s2d.lst and base64 it for dumping to dumpstate_board.txt.

Bug: 187228956
Change-Id: I911145ed6ecc345177cd979262126b7c49194528
2021-05-05 20:37:42 +00:00
Alex Hong
ad5196c2c2 Update dumpstate HAL to V1.1
This is a manual porting from ag/10344396.
Replace the usage of "persist.vendor.verbose_logging_enabled" since we are not using
this property for Whitechapel.
Use the default property "persist.dumpstate.verbose_logging.enabled" instead.

Test: atest VtsHalDumpstateV1_1TargetTest pass
Bug: 186539439
Change-Id: I3f0d35647c0748d360b12d3be078d514f99d23d5
2021-05-05 06:09:11 +00:00
Jenny Ho
c20a7c9603 dumpstate: dump TRICKLE/TEMP/DWELL setting into bugreport
Need setting information for debugging

Bug: 186872139
Signed-off-by: Jenny Ho <hsiufangho@google.com>
Change-Id: Iaf7345a4f38a67c4134f5cb23050b5f5e6ba7fdd
2021-05-05 02:55:28 +00:00
Chris Kuiper
24b9d29d6d dumpstate: Add USF registry dump.
This collects the output of "usf_reg_edit save -" and adds it to the
bugreport. It is only done on userbuilds for PROTO* and EVT* devices.

Bug: 187081112
Test: Run "adb bugreport <zip>" and verify it contains the output
      from "usf_reg_edit save -".
Change-Id: Ie68b56a3bb211840f33bdb5afbc31b0759641c8e
2021-05-04 15:30:26 -07:00
lucaslin
725f060835 Dump tcpdump into bugreport
Bug: 183467815
Test: 1. Enable tcpdump_logger always-on function
      2. Dump bugreport
      3. Pull dumpstate_board.bin and chagne it to zip
      4. Unzip dumpstate_board.zip and check if tcpdump files
         are there.
Change-Id: If5fc2fe8ff4bfc0beb91ff973cc3d8137fd7cc47
2021-05-04 03:48:04 +00:00
Benjamin Schwartz
d4cff50b12 dumpstate: Fix path to acpm_stats
Bug: 185819857
Test: adb shell dumpstate
Change-Id: I4b2ec4d89d7566cc8a3a86a0c8532937c8c5b9df
2021-04-19 13:40:29 -07:00
Ted Lin
41a0f99d0c ueventd.rc: set system ownership for direct charging
Bug:185041587
Test: ls -al /dev/log*
Change-Id: I02c635c424b37e9e9767d508397fc9c5673925e2
Signed-off-by: Ted Lin <tedlin@google.com>
2021-04-15 10:26:57 +00:00
Jenny Ho
3d46be281d dumpstate: update dump eeprom path
avoid using * for sysfs permission

Bug: 182531832
Signed-off-by: Jenny Ho <hsiufangho@google.com>
Change-Id: I8346bc09e82811a9006aae6d1b2d83d31a7e0a62
2021-04-14 07:45:01 +00:00
Jaegeuk Kim
a245dd7d5c Dumpstate: f2fs: remove verbose segment_info
Let's remove segment_info which seems not useful.

Bug: 184964835
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
Change-Id: Ib9826f536681d9f36f9d55dab3801a05c47f27a4
2021-04-13 16:33:47 +00:00
Jenny Ho
0ecbb8aa26 dumpstate: add P7 dual battery fuel gauge path
also add lugbuffer_rtx/wireless

Bug: 184780667
Signed-off-by: Jenny Ho <hsiufangho@google.com>
Change-Id: I91370b3cbb1c2d57bcfa37032b39e22d43bfc69c
2021-04-12 04:05:09 +00:00
Tai Kuo
4c46bf699f dumpstate: check the correct bus force active command path
Bug: 183557468
Bug: 181833046
Bug: 182976988
Test: adb shell "lshal debug \
 android.hardware.dumpstate@1.0::IDumpstateDevice/default touch"
Signed-off-by: Tai Kuo <taikuo@google.com>
Change-Id: I447a267451f80ff0e5cdca321e08a2f8119e51ca
2021-03-31 02:20:54 +00:00
Jenny Ho
e8ecf4ded7 Merge "dumpstate: Update eeprom dump path" into sc-dev 2021-03-17 08:07:45 +00:00
George Lee
d65255508c Merge "bcl: aggregated event count" into sc-dev 2021-03-12 23:13:11 +00:00
George Lee
834dca4c53 bcl: aggregated event count
Enable BCL metrics in bugreport.

Bug: 180620276
Test: Local test
Signed-off-by: George Lee <geolee@google.com>
Change-Id: Iab9ef7aac7c112e4a6938e7f34745b338df6a3f8
2021-03-12 21:31:54 +00:00
Jenny Ho
361d28d604 dumpstate: Update eeprom dump path
Bug: 182531832
Signed-off-by: Jenny Ho <hsiufangho@google.com>
Change-Id: Ib7f628f226d901e79be9c3c958a5514cce09fbd9
2021-03-12 13:53:31 +08:00
davidycchen
175299a568 dumpstate: dump more touch information
Dump more touch information for P21 projects.

Bug: 174191180
Test: trigger bugreport and check dumpstate.

Signed-off-by: davidycchen <davidycchen@google.com>
Change-Id: Ibdae06b29d8781bcc7973cb8a0ecfd0078ecde96
2021-03-08 16:24:00 +08:00
Robin Peng
c2b5ca99e3 Move slider into gs101 and <device>
from: 026342771c6642980cb4653b1ec4d857a5d8be54

Bug: 167996145
Change-Id: I2ebf7f019afed1cbe9b60dcd82581bd3a52fe109
2021-03-06 16:31:12 +08:00