History log of /frameworks/base/services/core/java/com/android/server/utils/PriorityDump.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
e3e4d251b9ed680e56e18684a2a24feb94b9cd21 01-Mar-2018 Vishnu Nair <vishnun@google.com> Dump systemUI and notification service in bugreport critical section

- modified publishBinderService to accept dump prioirty arguments
- registed NotificationManagerService with critical and normal dump support and
split dump into critical and normal sections
- ActivityManagerService critical section duration (manual runs): 0.024s, 0.050s, 0.038s
- NotificationManagerService critical section duration (manual runs): 0.007s,0.017s

Bug: 73958222
Test: Take bug report and verify contents
Test: mmm -j56 frameworks/native/cmds/dumpstate && \
adb sync data && adb shell /data/nativetest64/dumpstate_smoke_test/dumpstate_smoke_test && \
atest FrameworksServicesTests:PriorityDumpTest && \
printf "\n\n#### ALL TESTS PASSED ####\n"

Change-Id: I23cc9c056a550505393222f521cba5841782132e
/frameworks/base/services/core/java/com/android/server/utils/PriorityDump.java
e78b01ad2d7779ad3a6acfe5acd0068e4840665c 26-Oct-2017 Vishnu Nair <vishnun@google.com> Add proto dump flag to services (2/2)

Adds new PROTO flag which requests services to dump sections in proto format. Modifies PriorityDumper helper class to parse proto arguments and set asProto flags. Registers WM and AM with proto dump supprt.

Bug: 67716082

Test: frameworks/base/services/tests/runtests.py -e class "com.android.server.utils.PriorityDumpTest"
Test: adb bugreport ~/tmp/bug.zip
Test: adb shell dumpsys window --proto
Test: adb shell dumpsys activity --proto

Change-Id: Icfc6857c8a9340110a43343734a27e48d0b5a229
/frameworks/base/services/core/java/com/android/server/utils/PriorityDump.java
f3648e04f431b39524b469c75fa2c77a3e771fae 13-Sep-2017 Vishnu Nair <vishnun@google.com> Divide dumpsys services into different buckets

cpuinfo dumps all on dumpCritical
meminfo dumps all dumpNormal (temp)
activity dumps activities on dumpCritical, dumps all on normal
window dumps all on dumpCritical

BUG: 31774394

Test: adb bugreport > /tmp/bugreport.zip
Test: frameworks/base/services/tests/runtests.py -e class
"com.android.server.utils.PriorityDumpTest"

Change-Id: I529a709ec8654d314515ebd559894b4eacdc8968
/frameworks/base/services/core/java/com/android/server/utils/PriorityDump.java
f4006d9b0be123b2a4e874b89eb4a431d3d49c8b 08-Oct-2016 Felipe Leme <felipeal@google.com> Implemented a PriorityDump helper.

dumpsys / dumpstate will soon dump services in buckets (CRITICAL, HIGH,
NORMAL) and services must check the --dump_priority argument to select
which sections to dump.

PriorityDump parses the args checking for that argument, making it
easier to implement bucket dumping.

BUG: 27429130

Test: com.android.server.utils.PriorityDumpTest passes

Change-Id: Ia5ee08a3dc5bd0fde80b8a5616e1311e1b3bf7ba
/frameworks/base/services/core/java/com/android/server/utils/PriorityDump.java