Home
last modified time | relevance | path

Searched refs:PriorityDumper (Results 1 – 13 of 13) sorted by relevance

/frameworks/native/services/utils/
DPriorityDumper.cpp21 const char16_t PriorityDumper::PROTO_ARG[] = u"--proto";
22 const char16_t PriorityDumper::PRIORITY_ARG[] = u"--dump-priority";
23 const char16_t PriorityDumper::PRIORITY_ARG_CRITICAL[] = u"CRITICAL";
24 const char16_t PriorityDumper::PRIORITY_ARG_HIGH[] = u"HIGH";
25 const char16_t PriorityDumper::PRIORITY_ARG_NORMAL[] = u"NORMAL";
30 if (arg == PriorityDumper::PRIORITY_ARG_CRITICAL) { in getPriorityType()
32 } else if (arg == PriorityDumper::PRIORITY_ARG_HIGH) { in getPriorityType()
34 } else if (arg == PriorityDumper::PRIORITY_ARG_NORMAL) { in getPriorityType()
40 status_t PriorityDumper::dumpAll(int fd, const Vector<String16>& args, bool asProto) { in dumpAll()
51 status_t PriorityDumper::priorityDump(int fd, const Vector<String16>& args) { in priorityDump()
DAndroid.bp27 "PriorityDumper.cpp",
/frameworks/native/cmds/dumpsys/tests/
Ddumpsys_test.cpp394 AssertDumpedWithPriority("Locksmith", "dump1", PriorityDumper::PRIORITY_ARG_CRITICAL); in TEST_F()
395 AssertDumpedWithPriority("Valet", "dump2", PriorityDumper::PRIORITY_ARG_CRITICAL); in TEST_F()
409 AssertDumpedWithPriority("Locksmith", "dump1", PriorityDumper::PRIORITY_ARG_HIGH); in TEST_F()
410 AssertDumpedWithPriority("Valet", "dump2", PriorityDumper::PRIORITY_ARG_HIGH); in TEST_F()
460 AssertDumpedWithPriority("running1", "dump1", PriorityDumper::PRIORITY_ARG_CRITICAL); in TEST_F()
461 AssertDumpedWithPriority("running4", "dump4", PriorityDumper::PRIORITY_ARG_CRITICAL); in TEST_F()
477 AssertDumpedWithPriority("runningcritical1", "dump1", PriorityDumper::PRIORITY_ARG_CRITICAL); in TEST_F()
478 AssertDumpedWithPriority("runningcritical2", "dump2", PriorityDumper::PRIORITY_ARG_CRITICAL); in TEST_F()
491 AssertDumpedWithPriority("runninghigh1", "dump1", PriorityDumper::PRIORITY_ARG_HIGH); in TEST_F()
492 AssertDumpedWithPriority("runninghigh2", "dump2", PriorityDumper::PRIORITY_ARG_HIGH); in TEST_F()
[all …]
/frameworks/native/cmds/dumpsys/
Ddumpsys.cpp86 if (type == PriorityDumper::PRIORITY_ARG_CRITICAL) { in ConvertPriorityTypeToBitmask()
90 if (type == PriorityDumper::PRIORITY_ARG_HIGH) { in ConvertPriorityTypeToBitmask()
94 if (type == PriorityDumper::PRIORITY_ARG_NORMAL) { in ConvertPriorityTypeToBitmask()
103 return String16(PriorityDumper::PRIORITY_ARG_CRITICAL); in ConvertBitmaskToPriorityType()
106 return String16(PriorityDumper::PRIORITY_ARG_HIGH); in ConvertBitmaskToPriorityType()
109 return String16(PriorityDumper::PRIORITY_ARG_NORMAL); in ConvertBitmaskToPriorityType()
289 args.insertAt(String16(PriorityDumper::PROTO_ARG), 0); in setServiceArgs()
305 args.insertAt(String16(PriorityDumper::PRIORITY_ARG), 0); in setServiceArgs()
/frameworks/native/services/utils/include/serviceutils/
DPriorityDumper.h28 class PriorityDumper {
63 virtual ~PriorityDumper() = default;
/frameworks/base/services/core/java/com/android/server/utils/
DPriorityDump.java139 public static void dump(PriorityDumper dumper, FileDescriptor fd, PrintWriter pw, in dump()
214 public interface PriorityDumper { interface in PriorityDump
/frameworks/base/services/tests/servicestests/src/com/android/server/utils/
DPriorityDumpTest.java29 import com.android.server.utils.PriorityDump.PriorityDumper;
49 private PriorityDumper mDumper;
248 private final class FakeDumper implements PriorityDumper {
/frameworks/native/services/utils/tests/
DPriorityDumper_test.cpp33 class PriorityDumperMock : public PriorityDumper {
41 class DumpAllMock : public PriorityDumper {
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.h230 public PriorityDumper,
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java725 private final PriorityDump.PriorityDumper mPriorityDumper = new PriorityDump.PriorityDumper() {
/frameworks/base/services/core/java/com/android/server/wm/
DWindowManagerService.java391 private final PriorityDump.PriorityDumper mPriorityDumper = new PriorityDump.PriorityDumper() {
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java807 private final PriorityDump.PriorityDumper mPriorityDumper = new PriorityDump.PriorityDumper() {
2794 private final PriorityDump.PriorityDumper mPriorityDumper =
2795 new PriorityDump.PriorityDumper() {
2851 private final PriorityDump.PriorityDumper mPriorityDumper =
2852 new PriorityDump.PriorityDumper() {
/frameworks/base/services/
Dart-profile3429 Lcom/android/server/utils/PriorityDump$PriorityDumper;