/frameworks/base/services/core/java/com/android/server/utils/ |
D | PriorityDump.java | 141 boolean asProto = false; in dump() 145 dumper.dump(fd, pw, args, asProto); in dump() 153 asProto = true; in dump() 170 dumper.dumpCritical(fd, pw, strippedArgs, asProto); in dump() 174 dumper.dumpHigh(fd, pw, strippedArgs, asProto); in dump() 178 dumper.dumpNormal(fd, pw, strippedArgs, asProto); in dump() 182 dumper.dump(fd, pw, strippedArgs, asProto); in dump() 221 boolean asProto) { in dumpCritical() argument 228 default void dumpHigh(FileDescriptor fd, PrintWriter pw, String[] args, boolean asProto) { in dumpHigh() argument 235 default void dumpNormal(FileDescriptor fd, PrintWriter pw, String[] args, boolean asProto) { in dumpNormal() argument [all …]
|
/frameworks/native/services/utils/ |
D | PriorityDumper.cpp | 40 status_t PriorityDumper::dumpAll(int fd, const Vector<String16>& args, bool asProto) { in dumpAll() argument 42 status = dumpCritical(fd, args, asProto); in dumpAll() 44 status = dumpHigh(fd, args, asProto); in dumpAll() 46 status = dumpNormal(fd, args, asProto); in dumpAll() 53 bool asProto = false; in priorityDump() local 59 asProto = true; in priorityDump() 72 status = dumpCritical(fd, strippedArgs, asProto); in priorityDump() 75 status = dumpHigh(fd, strippedArgs, asProto); in priorityDump() 78 status = dumpNormal(fd, strippedArgs, asProto); in priorityDump() 81 status = dumpAll(fd, strippedArgs, asProto); in priorityDump()
|
/frameworks/native/services/gpuservice/ |
D | GpuService.h | 64 status_t dumpCritical(int fd, const Vector<String16>& /*args*/, bool asProto) override { in dumpCritical() argument 65 return doDump(fd, Vector<String16>(), asProto); in dumpCritical() 68 status_t dumpAll(int fd, const Vector<String16>& args, bool asProto) override { in dumpAll() argument 69 return doDump(fd, args, asProto); in dumpAll() 72 status_t doDump(int fd, const Vector<String16>& args, bool asProto);
|
/frameworks/native/cmds/dumpsys/ |
D | dumpsys.cpp | 124 bool asProto = false; in main() local 153 asProto = true; in main() 214 if (!asProto && !arg.compare(String16(PriorityDumper::PROTO_ARG))) { in main() 215 asProto = true; in main() 228 services = listServices(priorityFlags, asProto); in main() 229 setServiceArgs(args, asProto, priorityFlags); in main() 264 asProto, elapsedDuration, bytesWritten); in main() 298 void Dumpsys::setServiceArgs(Vector<String16>& args, bool asProto, int priorityFlags) { in setServiceArgs() argument 300 if (asProto) { in setServiceArgs() 402 bool asProto, std::chrono::duration<double>& elapsedDuration, in writeDump() argument [all …]
|
D | dumpsys.h | 52 static void setServiceArgs(Vector<String16>& args, bool asProto, int priorityFlags); 97 bool asProto, std::chrono::duration<double>& elapsedDuration,
|
/frameworks/native/services/surfaceflinger/TimeStats/ |
D | TimeStats.h | 42 virtual void parseArgs(bool asProto, const Vector<String16>& args, std::string& result) = 0; 114 void parseArgs(bool asProto, const Vector<String16>& args, std::string& result) override; 153 void dump(bool asProto, std::optional<uint32_t> maxLayers, std::string& result);
|
D | TimeStats.cpp | 37 void TimeStats::parseArgs(bool asProto, const Vector<String16>& args, std::string& result) { in parseArgs() argument 58 dump(asProto, maxLayers, result); in parseArgs() 601 void TimeStats::dump(bool asProto, std::optional<uint32_t> maxLayers, std::string& result) { in dump() argument 613 if (asProto) { in dump()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/utils/ |
D | PriorityDumpTest.java | 258 boolean asProto) { in dumpCritical() argument 265 public void dumpHigh(FileDescriptor fd, PrintWriter pw, String[] args, boolean asProto) { in dumpHigh() argument 272 public void dumpNormal(FileDescriptor fd, PrintWriter pw, String[] args, boolean asProto) { in dumpNormal() argument
|
/frameworks/native/services/utils/include/serviceutils/ |
D | PriorityDumper.h | 62 virtual status_t dumpAll(int fd, const Vector<String16>& args, bool asProto);
|
/frameworks/native/services/surfaceflinger/ |
D | SurfaceFlinger.h | 859 using Dumper = std::function<void(const DumpArgs&, bool asProto, std::string&)>; 891 void dumpTimeStats(const DumpArgs& args, bool asProto, std::string& result) const; 914 status_t doDump(int fd, const DumpArgs& args, bool asProto); 916 status_t dumpCritical(int fd, const DumpArgs&, bool asProto); 918 status_t dumpAll(int fd, const DumpArgs& args, bool asProto) override { in dumpAll() argument 919 return doDump(fd, args, asProto); in dumpAll()
|
D | SurfaceFlinger.cpp | 4609 bool asProto) NO_THREAD_SAFETY_ANALYSIS { in doDump() argument 4657 (it->second)(args, asProto, result); in doDump() 4658 } else if (!asProto) { in doDump() 4667 if (asProto) { in doDump() 4679 status_t SurfaceFlinger::dumpCritical(int fd, const DumpArgs&, bool asProto) { in dumpCritical() argument 4680 if (asProto && mTracing.isEnabled()) { in dumpCritical() 4684 return doDump(fd, DumpArgs(), asProto); in dumpCritical() 4717 void SurfaceFlinger::dumpTimeStats(const DumpArgs& args, bool asProto, std::string& result) const { in dumpTimeStats() argument 4718 mTimeStats->parseArgs(asProto, args, result); in dumpTimeStats()
|
/frameworks/base/cmds/statsd/src/ |
D | StatsService.cpp | 287 bool asProto = false; in dump() local 289 asProto = true; in dump() 299 dumpStatsdStats(fd, verbose, asProto); in dump() 302 if (asProto) { in dump()
|
/frameworks/base/services/core/java/com/android/server/ |
D | ConnectivityService.java | 859 public void dumpHigh(FileDescriptor fd, PrintWriter pw, String[] args, boolean asProto) { 860 doDump(fd, pw, new String[] {DIAG_ARG}, asProto); 861 doDump(fd, pw, new String[] {SHORT_ARG}, asProto); 865 public void dumpNormal(FileDescriptor fd, PrintWriter pw, String[] args, boolean asProto) { 866 doDump(fd, pw, args, asProto); 870 public void dump(FileDescriptor fd, PrintWriter pw, String[] args, boolean asProto) { 871 doDump(fd, pw, args, asProto); 2505 private void doDump(FileDescriptor fd, PrintWriter writer, String[] args, boolean asProto) { in doDump() argument 2508 if (asProto) return; in doDump()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActivityManagerShellCommand.java | 2246 boolean asProto = false; 2257 asProto = true; 2288 if (asProto) {
|
D | ActivityManagerService.java | 641 boolean asProto) { 642 if (asProto) return; 643 doDump(fd, pw, new String[]{"activities"}, asProto); 644 doDump(fd, pw, new String[]{"service", "all-platform-critical"}, asProto); 648 public void dumpNormal(FileDescriptor fd, PrintWriter pw, String[] args, boolean asProto) { 649 doDump(fd, pw, new String[]{"-a", "--normal-priority"}, asProto); 653 public void dump(FileDescriptor fd, PrintWriter pw, String[] args, boolean asProto) { 654 doDump(fd, pw, args, asProto); 2141 boolean asProto) { 2142 dump(fd, pw, new String[] {"-a"}, asProto); [all …]
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | WindowManagerService.java | 427 boolean asProto) { 429 if (asProto && mWindowTracing.isEnabled()) { 436 doDump(fd, pw, new String[] {"-a"}, asProto); 440 public void dump(FileDescriptor fd, PrintWriter pw, String[] args, boolean asProto) { 441 doDump(fd, pw, args, asProto);
|