Home
last modified time | relevance | path

Searched refs:asProto (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/services/core/java/com/android/server/utils/
DPriorityDump.java141 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/
DPriorityDumper.cpp40 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/
DGpuService.h64 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/
Ddumpsys.cpp122 bool asProto = false; in main() local
149 asProto = true; in main()
216 services = listServices(priorityFlags, asProto); in main()
217 setServiceArgs(args, asProto, priorityFlags); in main()
252 asProto, elapsedDuration, bytesWritten); in main()
286 void Dumpsys::setServiceArgs(Vector<String16>& args, bool asProto, int priorityFlags) { in setServiceArgs() argument
288 if (asProto) { in setServiceArgs()
373 bool asProto, std::chrono::duration<double>& elapsedDuration, in writeDump() argument
427 if ((status == TIMED_OUT) && (!asProto)) { in writeDump()
Ddumpsys.h52 static void setServiceArgs(Vector<String16>& args, bool asProto, int priorityFlags);
91 bool asProto, std::chrono::duration<double>& elapsedDuration,
/frameworks/native/services/surfaceflinger/TimeStats/
DTimeStats.h42 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);
DTimeStats.cpp37 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/native/services/utils/include/serviceutils/
DPriorityDumper.h62 virtual status_t dumpAll(int fd, const Vector<String16>& args, bool asProto);
/frameworks/base/services/tests/servicestests/src/com/android/server/utils/
DPriorityDumpTest.java258 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/surfaceflinger/
DSurfaceFlinger.h841 using Dumper = std::function<void(const DumpArgs&, bool asProto, std::string&)>;
873 void dumpTimeStats(const DumpArgs& args, bool asProto, std::string& result) const;
895 status_t doDump(int fd, const DumpArgs& args, bool asProto);
897 status_t dumpCritical(int fd, const DumpArgs&, bool asProto);
899 status_t dumpAll(int fd, const DumpArgs& args, bool asProto) override { in dumpAll() argument
900 return doDump(fd, args, asProto); in dumpAll()
DSurfaceFlinger.cpp4513 bool asProto) NO_THREAD_SAFETY_ANALYSIS { in doDump() argument
4561 (it->second)(args, asProto, result); in doDump()
4563 if (asProto) { in doDump()
4579 status_t SurfaceFlinger::dumpCritical(int fd, const DumpArgs&, bool asProto) { in dumpCritical() argument
4580 if (asProto && mTracing.isEnabled()) { in dumpCritical()
4584 return doDump(fd, DumpArgs(), asProto); in dumpCritical()
4617 void SurfaceFlinger::dumpTimeStats(const DumpArgs& args, bool asProto, std::string& result) const { in dumpTimeStats() argument
4618 mTimeStats->parseArgs(asProto, args, result); in dumpTimeStats()
/frameworks/base/cmds/statsd/src/
DStatsService.cpp290 bool asProto = false; in dump() local
292 asProto = true; in dump()
302 dumpStatsdStats(fd, verbose, asProto); in dump()
305 if (asProto) { in dump()
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java821 public void dumpHigh(FileDescriptor fd, PrintWriter pw, String[] args, boolean asProto) {
822 doDump(fd, pw, new String[] {DIAG_ARG}, asProto);
823 doDump(fd, pw, new String[] {SHORT_ARG}, asProto);
827 public void dumpNormal(FileDescriptor fd, PrintWriter pw, String[] args, boolean asProto) {
828 doDump(fd, pw, args, asProto);
832 public void dump(FileDescriptor fd, PrintWriter pw, String[] args, boolean asProto) {
833 doDump(fd, pw, args, asProto);
2326 private void doDump(FileDescriptor fd, PrintWriter writer, String[] args, boolean asProto) { in doDump() argument
2329 if (asProto) return; in doDump()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerShellCommand.java2182 boolean asProto = false;
2193 asProto = true;
2224 if (asProto) {
DActivityManagerService.java632 boolean asProto) {
633 if (asProto) return;
634 doDump(fd, pw, new String[]{"activities"}, asProto);
635 doDump(fd, pw, new String[]{"service", "all-platform-critical"}, asProto);
639 public void dumpNormal(FileDescriptor fd, PrintWriter pw, String[] args, boolean asProto) {
640 doDump(fd, pw, new String[]{"-a", "--normal-priority"}, asProto);
644 public void dump(FileDescriptor fd, PrintWriter pw, String[] args, boolean asProto) {
645 doDump(fd, pw, args, asProto);
2130 boolean asProto) {
2131 dump(fd, pw, new String[] {"-a"}, asProto);
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DWindowManagerService.java426 boolean asProto) {
428 if (asProto && mWindowTracing.isEnabled()) {
435 doDump(fd, pw, new String[] {"-a"}, asProto);
439 public void dump(FileDescriptor fd, PrintWriter pw, String[] args, boolean asProto) {
440 doDump(fd, pw, args, asProto);