Commit graph

22 commits

Author SHA1 Message Date
Jenny Ho
596e99f6e3 Merge "dump_power: add max77779 fwupdate logbuffer into bugreport" into 24D1-dev am: b19d9e72a9
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zumapro/+/27057698

Change-Id: I9122f9c85e6ae0bc0fc357f7adefb06f2e7bf06d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-24 06:06:48 +00:00
Jenny Ho
95ec940804 dump_power: add max77779 fwupdate logbuffer into bugreport
Bug: 334198978
Change-Id: I62fcde4a49024ccacc96a3139bb3284c41ceea58
Signed-off-by: Jenny Ho <hsiufangho@google.com>
2024-04-23 08:04:40 +00:00
Treehugger Robot
e6aab8f51f Merge "dumpstate: Dump logbuffer_pogo_transport" into main 2024-04-16 01:08:35 +00:00
Jenny Ho
cd9e0185ec dump_power: add dual battery debugfs path
Bug: 334773288
Change-Id: If8d69a88b0d3c1fb5ab37b855e1efd265eab618b
Signed-off-by: Jenny Ho <hsiufangho@google.com>
2024-04-15 09:58:15 +00:00
Kyle Tso
bc9752ea63 dumpstate: Dump logbuffer_pogo_transport
Bug: 328314131
Change-Id: I2ff93e33efa9727d14f21a68e8261221a1091638
Signed-off-by: Kyle Tso <kyletso@google.com>
2024-04-15 17:25:08 +08:00
Hiroshi Akiyama
cc02e0259d dumpstate: add checks in irq duration count
Add checks to vector size before accessing vector contents to prevent
null pointer exception.

Bug: 330796833
Test: adb bugreport
Signed-off-by: Hiroshi Akiyama <hiroshiakiyama@google.com>
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:d55a1eb732fb6deac79b21cabaf606f0c477612f)
Merged-In: I1a50337b1fde3b763ee7f154fa206f98681045dd
Change-Id: I1a50337b1fde3b763ee7f154fa206f98681045dd
2024-03-25 18:29:15 +00:00
Hiroshi Akiyama
d55a1eb732 dumpstate: add checks in irq duration count
Add checks to vector size before accessing vector contents to prevent
null pointer exception.

Bug: 330796833
Test: adb bugreport
Change-Id: I1a50337b1fde3b763ee7f154fa206f98681045dd
Signed-off-by: Hiroshi Akiyama <hiroshiakiyama@google.com>
2024-03-23 01:06:38 +00:00
William McVicker
3eb0112b43 Merge "Update tcpm i2c path with new device name" into main 2024-02-22 17:54:41 +00:00
Daniel Okazaki
bb47f85b04 dumpstate: moving charger nodes to user build
Bug: 323415060
Test: adb bugreport
Change-Id: Iabc4c810641acf54e2bebf5e441423bc341b54c8
Signed-off-by: Daniel Okazaki <dtokazaki@google.com>
2024-02-17 04:28:18 +00:00
Will McVicker
3c01f2056c Update tcpm i2c path with new device name
The new names fix uninformative kernel wakelock names.

Bug: 315190967
Bug: 323447554
Change-Id: I9f2d55b532f9a0f9692a0d613727893b588e600a
2024-02-16 15:14:02 -08:00
Spade Lee
c4c265ea45 dumpstate: add SoC residency dump
Bug: 319536756
Test: SoC residency was correctly shown in dumpstate board
Change-Id: I20bf91393efcf0edb6c458f55e228a227f930ee5
Signed-off-by: Spade Lee <spadelee@google.com>
2024-01-22 16:43:35 +00:00
Jenny Ho
1257aa5cdd Handle empty read from file.
Test: run /vendor/bin/dump/dump_power
Bug: 317934817
Change-Id: Ia4453483fdfaba838a1ffb3d38b243dceb9628e7
Signed-off-by: Jenny Ho <hsiufangho@google.com>
2023-12-28 11:35:08 +08:00
samou
e4ceff9023 bcl: add lastmeal.csv into dumpstate
Test: ./dump_power
Bug: 293899466
Change-Id: I0ff03baf459fe4a2ae57a2837f4181b04d764e7b
Signed-off-by: samou <samou@google.com>
2023-12-15 14:39:17 +00:00
Hiroshi Akiyama
a9506fbf2a dumpstate: add evt count logging
Add capability for dump_power to log event counter logging

Bug: 299668264
Test: adb bugreport and check dumpstate_board.txt
Change-Id: I1fdf6214dc9b333044e395a8148349b26c0d5653
Signed-off-by: Hiroshi Akiyama <hiroshiakiyama@google.com>
2023-11-06 21:52:17 +00:00
Treehugger Robot
6113111eea Merge "dump_power: fix the problem of not being able to dump properties" into main 2023-11-06 15:48:43 +00:00
Jack Wu
4f407e7b15 dump_power: fix the problem of not being able to dump properties
Bug: 309011602
Test: adb bugreport and check dumpstate_board.txt
Change-Id: I2b1cb98fad154511fe55c84ecf85272f58f634ee
Signed-off-by: Jack Wu <wjack@google.com>
2023-11-06 20:27:25 +08:00
samou
505f0b8308 bcl: support thismeal binary parsing
Test: ./dump_power and adb bugreport
Bug: 293899466
Change-Id: I4ba2ee96a02573993cd4de132db9095f73253041
Signed-off-by: samou <samou@google.com>
2023-11-02 11:49:05 +00:00
Sam Ou
ce8c8e9bb8 Revert "bcl: add parser for thismeal.bin and lastmeal.bin"
This reverts commit fa0ee1521c.

Reason for revert: migrate binary parser to battery_mitigation

Change-Id: I7c97c3cb91924cdc19f61c8b7ea85e6c49813c42
2023-10-31 16:56:47 +00:00
Sam Ou
61a1d02c32 Merge "bcl: add parser for thismeal.bin and lastmeal.bin" into main 2023-10-31 02:22:51 +00:00
samou
fa0ee1521c bcl: add parser for thismeal.bin and lastmeal.bin
Test: ./dump_power
Bug: 293899466
Change-Id: I648a4a0b205cbebd681613505bc5f91a848a3deb
Signed-off-by: samou <samou@google.com>
2023-10-30 07:04:25 +00:00
Daniel Okazaki
7fb00c91c3 dump_power: adding defender logs for charger and active time
Bug: 306108267
Test: build/flash
Test: adb bugreport
Change-Id: If9bf3e6ab1c6008cbefd4b09a8bb2802ff196207
Signed-off-by: Daniel Okazaki <dtokazaki@google.com>
2023-10-27 18:47:43 +00:00
Hiroshi Akiyama
e837d5240b Migrate dump_power.sh contents into cpp for improved speed
Bug: 299133307
Test: adb bugreport and check dumpstate_board.txt
Change-Id: Ied22b516844cb1d39a39fbbdee0b81a69c1d2e1c
Signed-off-by: Hiroshi Akiyama <hiroshiakiyama@google.com>
2023-09-22 11:08:29 +00:00