Home
last modified time | relevance | path

Searched refs:printer (Results 1 – 20 of 20) sorted by relevance

/system/core/libutils/
DProcessCallStack.cpp44 static void dumpProcessHeader(Printer& printer, pid_t pid, const char* timeStr) { in dumpProcessHeader() argument
65 printer.printLine(); in dumpProcessHeader()
66 printer.printLine(); in dumpProcessHeader()
67 printer.printFormatLine("----- pid %d at %s -----", pid, timeStr); in dumpProcessHeader()
68 printer.printFormatLine("Cmd line: %s", procName); in dumpProcessHeader()
71 static void dumpProcessFooter(Printer& printer, pid_t pid) { in dumpProcessFooter() argument
72 printer.printLine(); in dumpProcessFooter()
73 printer.printFormatLine("----- end %d -----", pid); in dumpProcessFooter()
74 printer.printLine(); in dumpProcessFooter()
194 LogPrinter printer(logtag, priority, prefix, /*ignoreBlankLines*/false); in log() local
[all …]
DCallStack.cpp54 LogPrinter printer(logtag, priority, prefix, /*ignoreBlankLines*/false); in log() local
55 print(printer); in log()
59 FdPrinter printer(fd, indent, prefix); in dump() local
60 print(printer); in dump()
66 String8Printer printer(&str, prefix); in toString() local
67 print(printer); in toString()
72 void CallStack::print(Printer& printer) const { in print()
74 printer.printLine(mFrameLines[i]); in print()
DPrinter_fuzz.cpp41 android::PrefixPrinter printer = android::PrefixPrinter(stringPrinter, prefix.c_str()); in LLVMFuzzerTestOneInput() local
45 printer.printLine(line.c_str()); in LLVMFuzzerTestOneInput()
46 printer.printFormatLine("%s", line.c_str()); in LLVMFuzzerTestOneInput()
DPrinter.cpp152 PrefixPrinter::PrefixPrinter(Printer& printer, const char* prefix) : in PrefixPrinter() argument
153 mPrinter(printer), mPrefix(prefix ?: "") { in PrefixPrinter()
/system/iorap/src/binder/
Diiorap_impl.cc197 void Dump(/*borrow*/::android::Printer& printer, in Dump() argument
201 service_params_.event_manager_->Dump(/*borrow*/printer); in Dump()
210 service_params_.event_manager_->Dump(/*borrow*/printer); in Dump()
212 service_params_.event_manager_->RefreshSystemProperties(/*borrow*/printer); in Dump()
213 printer.printLine("System properties refreshed."); in Dump()
219 if (!service_params_.event_manager_->CompilePackage(/*borrow*/printer, package_name)) { in Dump()
220 printer.printFormatLine("Failed to compile package %s.", package_name.c_str()); in Dump()
222 printer.printFormatLine("Package %s compiled.", package_name.c_str()); in Dump()
229 if (!service_params_.event_manager_->PurgePackage(/*borrow*/printer, package_name)) { in Dump()
230 printer.printFormatLine("Failed to purge package %s.", package_name.c_str()); in Dump()
[all …]
/system/iorap/src/maintenance/
Dcontroller.cc271 std::ostream& operator<<(std::ostream& os, const struct VectorPrinter<T>& printer) { in operator <<() argument
273 for (T i : printer.values) { in operator <<()
517 ::android::Printer& printer, in DumpPackageActivity() argument
527 printer.printFormatLine(" %s/%s@%d", in DumpPackageActivity()
547 printer.printFormatLine(" Compiled Status: Usable compiled trace"); in DumpPackageActivity()
549 printer.printFormatLine(" Compiled Status: Prefetch file deleted from disk."); in DumpPackageActivity()
553 printer.printFormatLine(" Bytes to be prefetched: %zu", *prefetch_byte_sum); in DumpPackageActivity()
555 printer.printFormatLine(" Bytes to be prefetched: (bad file path)" ); in DumpPackageActivity()
558 printer.printFormatLine(" Time compiled: %s", in DumpPackageActivity()
560 printer.printFormatLine(" %s", prefetch_file->file_path.c_str()); in DumpPackageActivity()
[all …]
Dcontroller.h112 void Dump(const db::DbHandle& db, ::android::Printer& printer);
/system/iorap/src/manager/
Devent_manager.h98 void Dump(/*borrow*/::android::Printer& printer);
102 void RefreshSystemProperties(::android::Printer& printer);
106 bool PurgePackage(::android::Printer& printer, const std::string& package_name);
110 bool CompilePackage(::android::Printer& printer, const std::string& package_name);
Devent_manager.cc938 iorap::common::StderrLogPrinter printer{"iorapd"}; in Impl() local
939 RefreshSystemProperties(printer); in Impl()
1040 void Dump(/*borrow*/::android::Printer& printer) { in Dump() argument
1041 ::iorap::prefetcher::ReadAhead::Dump(printer); in Dump()
1042 ::iorap::perfetto::PerfettoConsumerImpl::Dump(/*borrow*/printer); in Dump()
1043 ::iorap::maintenance::Dump(db::SchemaModel::GetSingleton(), printer); in Dump()
1227 void RefreshSystemProperties(::android::Printer& printer) { in RefreshSystemProperties() argument
1232 printer.printFormatLine("iorapd.perfetto.enable = %s", tracing_allowed_ ? "true" : "false"); in RefreshSystemProperties()
1236 printer.printFormatLine("iorapd.readahead.enable = %s", s_readahead_allowed ? "true" : "false"); in RefreshSystemProperties()
1241 printer.printFormatLine("iorapd.maintenance.min_traces = %" PRIu64, min_traces); in RefreshSystemProperties()
[all …]
/system/iorap/src/perfetto/
Dperfetto_consumer.cc516 void Dump(::android::Printer& printer) { in Dump()
520 printer.printFormatLine("Perfetto consumer state:"); in Dump()
522 printer.printLine(""""" (possible deadlock)"); in Dump()
524 printer.printFormatLine(" Last destroyed handle: %" PRId64, last_destroyed_); in Dump()
525 printer.printFormatLine(" Last created handle: %" PRId64, last_created_); in Dump()
526 printer.printFormatLine(""); in Dump()
527 printer.printFormatLine(" In-flight handles:"); in Dump()
533 printer.printFormatLine(" Handle %" PRId64, handle_desc.handle_); in Dump()
534 printer.printFormatLine(" Kind: %s", ToString(handle_desc.kind_).c_str()); in Dump()
535 printer.printFormatLine(" Perfetto State: %d", static_cast<int>(handle_desc.state_)); in Dump()
[all …]
Dperfetto_consumer.h104 static void Dump(/*borrow*/::android::Printer& printer);
/system/iorap/src/prefetcher/
Dread_ahead.cc133 void Dump(/*borrow*/::android::Printer& printer) { in Dump()
136 printer.printFormatLine("Recent prefetches:"); in Dump()
138 printer.printLine(""""" (possible deadlock)"); in Dump()
142 printer.printFormatLine(" %s", data.task_id.path.c_str()); in Dump()
143 printer.printFormatLine(" Task ID: %zu", data.task_id.id); in Dump()
144 printer.printFormatLine(" Bytes count: %zu", data.file_lengths_sum); in Dump()
148 printer.printFormatLine(" (None)"); in Dump()
151 printer.printLine(""); in Dump()
416 void ReadAhead::Dump(::android::Printer& printer) { in Dump() argument
417 ReadAhead::Impl::recent_data_keeper_.Dump(printer); in Dump()
Dread_ahead.h44 static void Dump(/*borrow*/::android::Printer& printer);
/system/core/libutils/include/utils/
DProcessCallStack.h55 void print(Printer& printer) const;
61 void printInternal(Printer& printer, Printer& csPrinter) const;
DPrinter.h107 PrefixPrinter(Printer& printer, const char* prefix);
DCallStack.h76 void print(Printer& printer) const;
/system/extras/simpleperf/scripts/
Dpprof_proto_generator.py621 printer = PprofProfilePrinter(profile)
622 printer.show()
/system/chre/pal/doc/
DDoxyfile1625 # printer.
/system/chre/chre_api/doc/
DDoxyfile1625 # printer.
/system/media/audio_utils/
DDoxyfile1728 # printer.