Skip to content
Commit 7759669c authored by Caitlin Shkuratov's avatar Caitlin Shkuratov
Browse files

[Dumps] Give dumpables NORMAL or CRITICAL priority.

Previously, dumpables were always dumped in the critical section. Now,
dumpables can be in the normal OR critical section.

Also adds DumpManagerTest, with some tests being eeriely similar to
DumpHandlerTest but also some new tests!

Bug: 259973758
Test: `adb shell dumpsys statusbar --proto` -> dumps protos
Test: `adb shell dumpsys activity service
com.android.systemui/.SystemUIService` -> dumps everything
Test: `adb shell dumpsys activity service
com.android.systemui/.SystemUIService {InsertDumpableNameHere}` -> dumps
just that dumpable
Test: `adb shell dumpsys activity service
com.android.systemui/.SystemUIService {InsertBufferNameHere}` -> dumps
just that buffer
Test: atest DumpManagerTest
Test: atest DumpHandlerTest

Change-Id: I1a8506b0ffd2134647d361d88885d0cc033610c4
parent d41f29df
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment