Home
last modified time | relevance | path

Searched refs:PriorityDumper (Results 1 – 14 of 14) 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.bp29 "PriorityDumper.cpp",
/frameworks/native/cmds/dumpsys/tests/
Ddumpsys_test.cpp407 AssertDumpedWithPriority("Locksmith", "dump1", PriorityDumper::PRIORITY_ARG_CRITICAL); in TEST_F()
408 AssertDumpedWithPriority("Valet", "dump2", PriorityDumper::PRIORITY_ARG_CRITICAL); in TEST_F()
422 AssertDumpedWithPriority("Locksmith", "dump1", PriorityDumper::PRIORITY_ARG_HIGH); in TEST_F()
423 AssertDumpedWithPriority("Valet", "dump2", PriorityDumper::PRIORITY_ARG_HIGH); in TEST_F()
473 AssertDumpedWithPriority("running1", "dump1", PriorityDumper::PRIORITY_ARG_CRITICAL); in TEST_F()
474 AssertDumpedWithPriority("running4", "dump4", PriorityDumper::PRIORITY_ARG_CRITICAL); in TEST_F()
490 AssertDumpedWithPriority("runningcritical1", "dump1", PriorityDumper::PRIORITY_ARG_CRITICAL); in TEST_F()
491 AssertDumpedWithPriority("runningcritical2", "dump2", PriorityDumper::PRIORITY_ARG_CRITICAL); in TEST_F()
504 AssertDumpedWithPriority("runninghigh1", "dump1", PriorityDumper::PRIORITY_ARG_HIGH); in TEST_F()
505 AssertDumpedWithPriority("runninghigh2", "dump2", PriorityDumper::PRIORITY_ARG_HIGH); in TEST_F()
[all …]
/frameworks/native/cmds/dumpsys/
Ddumpsys.cpp88 if (type == PriorityDumper::PRIORITY_ARG_CRITICAL) { in ConvertPriorityTypeToBitmask()
92 if (type == PriorityDumper::PRIORITY_ARG_HIGH) { in ConvertPriorityTypeToBitmask()
96 if (type == PriorityDumper::PRIORITY_ARG_NORMAL) { in ConvertPriorityTypeToBitmask()
105 return String16(PriorityDumper::PRIORITY_ARG_CRITICAL); in ConvertBitmaskToPriorityType()
108 return String16(PriorityDumper::PRIORITY_ARG_HIGH); in ConvertBitmaskToPriorityType()
111 return String16(PriorityDumper::PRIORITY_ARG_NORMAL); in ConvertBitmaskToPriorityType()
214 if (!asProto && !arg.compare(String16(PriorityDumper::PROTO_ARG))) { in main()
301 args.insertAt(String16(PriorityDumper::PROTO_ARG), 0); in setServiceArgs()
317 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.java31 import com.android.server.utils.PriorityDump.PriorityDumper;
51 private PriorityDumper mDumper;
250 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/gpuservice/
DGpuService.h33 class GpuService : public BnGpuService, public PriorityDumper {
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.h172 public PriorityDumper,
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java638 private final PriorityDump.PriorityDumper mPriorityDumper = new PriorityDump.PriorityDumper() {
2137 private final PriorityDump.PriorityDumper mPriorityDumper =
2138 new PriorityDump.PriorityDumper() {
2194 private final PriorityDump.PriorityDumper mPriorityDumper =
2195 new PriorityDump.PriorityDumper() {
/frameworks/base/services/core/java/com/android/server/wm/
DWindowManagerService.java424 private final PriorityDump.PriorityDumper mPriorityDumper = new PriorityDump.PriorityDumper() {
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java857 private final PriorityDump.PriorityDumper mPriorityDumper = new PriorityDump.PriorityDumper() {
/frameworks/base/services/
Dart-profile14081 …ver/utils/PriorityDump;->dump(Lcom/android/server/utils/PriorityDump$PriorityDumper;Ljava/io/FileD…
20412 Lcom/android/server/utils/PriorityDump$PriorityDumper;