Home
last modified time | relevance | path

Searched refs:PriorityDumper (Results 1 – 15 of 15) 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.bp38 "PriorityDumper.cpp",
/frameworks/native/cmds/dumpsys/tests/
Ddumpsys_test.cpp416 AssertDumpedWithPriority("Locksmith", "dump1", PriorityDumper::PRIORITY_ARG_CRITICAL); in TEST_F()
417 AssertDumpedWithPriority("Valet", "dump2", PriorityDumper::PRIORITY_ARG_CRITICAL); in TEST_F()
431 AssertDumpedWithPriority("Locksmith", "dump1", PriorityDumper::PRIORITY_ARG_HIGH); in TEST_F()
432 AssertDumpedWithPriority("Valet", "dump2", PriorityDumper::PRIORITY_ARG_HIGH); in TEST_F()
482 AssertDumpedWithPriority("running1", "dump1", PriorityDumper::PRIORITY_ARG_CRITICAL); in TEST_F()
483 AssertDumpedWithPriority("running4", "dump4", PriorityDumper::PRIORITY_ARG_CRITICAL); in TEST_F()
499 AssertDumpedWithPriority("runningcritical1", "dump1", PriorityDumper::PRIORITY_ARG_CRITICAL); in TEST_F()
500 AssertDumpedWithPriority("runningcritical2", "dump2", PriorityDumper::PRIORITY_ARG_CRITICAL); in TEST_F()
513 AssertDumpedWithPriority("runninghigh1", "dump1", PriorityDumper::PRIORITY_ARG_HIGH); in TEST_F()
514 AssertDumpedWithPriority("runninghigh2", "dump2", PriorityDumper::PRIORITY_ARG_HIGH); in TEST_F()
[all …]
/frameworks/native/cmds/dumpsys/
Ddumpsys.cpp91 if (type == PriorityDumper::PRIORITY_ARG_CRITICAL) { in ConvertPriorityTypeToBitmask()
95 if (type == PriorityDumper::PRIORITY_ARG_HIGH) { in ConvertPriorityTypeToBitmask()
99 if (type == PriorityDumper::PRIORITY_ARG_NORMAL) { in ConvertPriorityTypeToBitmask()
108 return String16(PriorityDumper::PRIORITY_ARG_CRITICAL); in ConvertBitmaskToPriorityType()
111 return String16(PriorityDumper::PRIORITY_ARG_HIGH); in ConvertBitmaskToPriorityType()
114 return String16(PriorityDumper::PRIORITY_ARG_NORMAL); in ConvertBitmaskToPriorityType()
220 if (!asProto && !arg.compare(String16(PriorityDumper::PROTO_ARG))) { in main()
307 args.insertAt(String16(PriorityDumper::PROTO_ARG), 0); in setServiceArgs()
323 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.h35 class GpuService : public BnGpuService, public PriorityDumper {
/frameworks/base/services/core/java/com/android/server/am/
DAppProfiler.java1959 private final PriorityDump.PriorityDumper mPriorityDumper =
1960 new PriorityDump.PriorityDumper() {
DActivityManagerService.java693 private final PriorityDump.PriorityDumper mPriorityDumper = new PriorityDump.PriorityDumper() {
1891 private final PriorityDump.PriorityDumper mPriorityDumper =
1892 new PriorityDump.PriorityDumper() {
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.h176 public PriorityDumper,
/frameworks/base/services/core/java/com/android/server/inputmethod/
DInputMethodManagerService.java5095 private final PriorityDump.PriorityDumper mPriorityDumper = new PriorityDump.PriorityDumper() {
/frameworks/base/services/core/java/com/android/server/wm/
DWindowManagerService.java530 private final PriorityDump.PriorityDumper mPriorityDumper = new PriorityDump.PriorityDumper() {
/frameworks/base/services/
Dart-profile41832 PLcom/android/server/utils/PriorityDump$PriorityDumper;->dump(Ljava/io/FileDescriptor;Ljava/io/Prin…
41833 PLcom/android/server/utils/PriorityDump$PriorityDumper;->dumpHigh(Ljava/io/FileDescriptor;Ljava/io/…
41834 PLcom/android/server/utils/PriorityDump$PriorityDumper;->dumpNormal(Ljava/io/FileDescriptor;Ljava/i…
41835 …ver/utils/PriorityDump;->dump(Lcom/android/server/utils/PriorityDump$PriorityDumper;Ljava/io/FileD…
56093 Lcom/android/server/utils/PriorityDump$PriorityDumper;