Commit graph

13 commits

Author SHA1 Message Date
Wiwit Rifa'i
73e95ea084 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: I08fbc4faf5fea72cbbca007f43ccedd22d1e0aca
2022-12-13 05:09:22 +00:00
kierancyphus
a381b21dfc Dumpstate.cpp: 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: I1a57e0f4fea66929803fac350547b706d7442b26
2022-12-07 03:18:53 +00:00
Adam Shih
66379fde0e use touch dump from gs-common
Bug: 256521567
Test: adb bugreport
Change-Id: I224a2a194c9e37768e8a5c7e879da97964d97fbf
2022-11-29 04:47:15 +00:00
kierancyphus
fddf45d940 Include modem log mask history in dumpstate
Includes the file `LoggingMaskHistory.csv` when a bug report is triggered.

Bug: 241739027
Test: Trigger a bugreport with `adb bugreport` and check to make sure
the report contains the `LoggingMaskHistory` file. E.g. after
unzipping `cat <bugreport>.txt | grep -a 'LoggingMaskHistory'`.

Change-Id: Ibfa74194d13cb4dc5c3f2cf9f54ee81390a301a6
2022-11-25 03:58:45 +00:00
Adam Shih
34fc0761d3 remove raven touch dump
Bug: 256521567
Test: adb bugreport
Change-Id: I17b72b69b882fc670f780f7d480ae828d9f3c931
2022-11-16 07:42:22 +00:00
Adam Shih
e182c63bd6 move thermal dump to gs-common
Bug: 257880034
Test: adb shell dumpsys android.hardware.dumpstate.IDumpstateDevice/default dump_thermal.sh
Change-Id: I6fa51c7662401a45defed776d69334fc42cee49e
2022-11-16 03:52:39 +00:00
Adam Shih
95e0d9bdb9 move sensors dump to gs-common
Bug: 250475720
Test: adb bugreport
Change-Id: I500bfba706b74a872d4ba07b9b58efaed015772e
2022-11-11 05:35:22 +00:00
Kevin Jeon
9257a5f2dc Add tracepoints to gs101 dumpstateBoard
This change adds tracepoints for the gs101 implementation of
dumpstateBoard. This is intended to help identify long-running sections.

Test: Build+flash, check that traces of 'adb bugreportz' show the
      expected trace sections.
Bug: 258228821
Change-Id: I8efea28278b4507a7e2a448c96281113331cbd02
2022-11-10 15:33:05 +00:00
Jenny Ho
d5d60ee813 Merge "[conflict] dumpstate: dump battery defend logbuffer am: 34e66966c7 am: e4fd1ce422" 2022-11-03 06:33:04 +00:00
Roger Wang
6665f0dcc7 wifi: remove unnecessary debug dump
Since design was adjusted, we are no longer need
to cat dump_start when bugreport be triggered.

Bug: 256746618
Test: Trigger bugreport and check debug files.
Change-Id: I907e707be99a35bfd76dfdb5f9bd693cb4b471d8
Signed-off-by: Roger Wang <wangroger@google.com>
2022-11-03 05:33:08 +00:00
Jenny Ho
90ad087288 [conflict] dumpstate: dump battery defend logbuffer am: 34e66966c7 am: e4fd1ce422
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/20310168

Bug: 257151155
Change-Id: Ib5ebc52513667e163a8db7d5b36b7438e4c7b8cc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-03 03:37:04 +00:00
Adam Shih
3c94afad75 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 07:22:56 +00:00
Adam Shih
0e57a35f5d upgrade dumpstate from hidl to aidl
Bug: 240530709
Test: adb bugreport
Change-Id: I0cd75fa84e495037a55284b43bd0ee53e5379d4c
2022-10-14 07:37:42 +00:00
Renamed from dumpstate/DumpstateDevice.cpp (Browse further)