History log of /frameworks/base/services/tests/servicestests/src/com/android/server/utils/PriorityDumpTest.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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/tests/servicestests/src/com/android/server/utils/PriorityDumpTest.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/tests/servicestests/src/com/android/server/utils/PriorityDumpTest.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/tests/servicestests/src/com/android/server/utils/PriorityDumpTest.java