Home
last modified time | relevance | path

Searched refs:Printer (Results 1 – 25 of 92) sorted by relevance

1234

/frameworks/base/tools/aapt2/text/
DPrinter.cpp29 Printer& Printer::Println(StringPiece str) { in Println()
34 Printer& Printer::Println() { in Println()
38 Printer& Printer::Print(StringPiece str) { in Print()
84 void Printer::Indent() { in Indent()
88 void Printer::Undent() { in Undent()
DPrinter.h28 class Printer {
30 explicit Printer(android::OutputStream* out) : out_(out) { in Printer() function
33 Printer& Print(android::StringPiece str);
34 Printer& Println(android::StringPiece str);
35 Printer& Println();
41 DISALLOW_COPY_AND_ASSIGN(Printer);
/frameworks/base/tools/aapt2/cmd/
DDump.h36 explicit DumpApkCommand(const std::string&& name, text::Printer* printer, in DumpApkCommand()
42 text::Printer* GetPrinter() { in GetPrinter()
89 text::Printer* printer_;
96 explicit DumpAPCCommand(text::Printer* printer, android::IDiagnostics* diag) in DumpAPCCommand()
107 text::Printer* printer_;
116 explicit DumpBadgerCommand(text::Printer* printer) : Command("badger"), printer_(printer) { in DumpBadgerCommand()
122 text::Printer* printer_;
128 explicit DumpBadgingCommand(text::Printer* printer, android::IDiagnostics* diag) in DumpBadgingCommand()
153 explicit DumpConfigsCommand(text::Printer* printer, android::IDiagnostics* diag) in DumpConfigsCommand()
163 explicit DumpPackageNameCommand(text::Printer* printer, android::IDiagnostics* diag) in DumpPackageNameCommand()
[all …]
/frameworks/base/core/java/android/util/
DPrefixPrinter.java26 public class PrefixPrinter implements Printer {
27 private final Printer mPrinter;
36 public static Printer create(Printer printer, String prefix) { in create()
43 private PrefixPrinter(Printer printer, String prefix) { in PrefixPrinter()
DPrinter.java26 public interface Printer { interface
DPrintStreamPrinter.java26 public class PrintStreamPrinter implements Printer {
DPrintWriterPrinter.java26 public class PrintWriterPrinter implements Printer {
/frameworks/base/tools/aapt2/
DDebug.h37 text::Printer* printer);
40 static void DumpXml(const xml::XmlResource& doc, text::Printer* printer);
41 static void DumpResStringPool(const android::ResStringPool* pool, text::Printer* printer);
42 static void DumpOverlayable(const ResourceTable& table, text::Printer* printer);
43 static void DumpChunks(const void* data, size_t len, text::Printer* printer,
DDebug.cpp41 using ::aapt::text::Printer;
57 explicit ValueHeadlinePrinter(const std::string& package, Printer* printer) in ValueHeadlinePrinter()
127 Printer* printer_;
134 explicit ValueBodyPrinter(const std::string& package, Printer* printer) in ValueBodyPrinter()
256 Printer* printer_;
262 Printer* printer) { in PrintTable()
429 void Debug::DumpResStringPool(const android::ResStringPool* pool, text::Printer* printer) { in DumpResStringPool()
470 explicit XmlPrinter(Printer* printer) : printer_(printer) { in XmlPrinter()
534 Printer* printer_;
539 void Debug::DumpXml(const xml::XmlResource& doc, Printer* printer) { in DumpXml()
[all …]
DMain.cpp67 explicit MainCommand(text::Printer* printer, android::IDiagnostics* diagnostics) in MainCommand()
112 text::Printer printer(out_); in Action()
171 aapt::text::Printer printer(&fout); in MainImpl()
/frameworks/base/tools/aapt2/java/
DAnnotationProcessor_test.cpp24 using ::aapt::text::Printer;
42 Printer printer(&out); in TEST()
55 Printer printer(&out); in TEST()
70 Printer printer(&out); in TEST()
85 Printer printer(&out); in TEST()
100 Printer printer(&out); in TEST()
115 Printer printer(&out); in TEST()
130 Printer printer(&out); in TEST()
150 Printer printer(&out); in TEST()
DClassDefinition.cpp21 using ::aapt::text::Printer;
26 void ClassMember::Print(bool /*final*/, Printer* printer, bool strip_api_annotations) const { in Print()
34 void MethodDefinition::Print(bool final, Printer* printer, bool) const { in Print()
77 void ClassDefinition::Print(bool final, Printer* printer, bool strip_api_annotations) const { in Print()
115 Printer printer(out); in WriteJavaFile()
DClassDefinition.h53 virtual void Print(bool final, text::Printer* printer, bool strip_api_annotations = false) const;
74 void Print(bool final, text::Printer* printer,
119 void Print(bool final, text::Printer* printer, bool strip_api_annotations = false)
159 void Print(bool final, text::Printer* printer, bool strip_api_annotations = false)
230 void Print(bool final, text::Printer* printer, bool strip_api_annotations = false) const override;
263 void Print(bool final, text::Printer* printer, bool strip_api_annotations = false) const override;
DJavaClassGenerator.h96 text::Printer* r_txt_printer);
102 MethodDefinition* out_rewrite_method, text::Printer* r_txt_printer);
110 text::Printer* r_txt_printer);
/frameworks/base/core/tests/coretests/src/android/util/
DPrefixPrinterTest.java31 final Printer printer = new Printer() { in testSimple()
38 final Printer prefixed = PrefixPrinter.create(printer, " "); in testSimple()
/frameworks/base/core/java/android/os/
DLooper.java23 import android.util.Printer;
86 private Printer mLogging;
196 final Printer logging = me.mLogging; in loopOnce()
386 public void setMessageLogging(@Nullable Printer printer) { in setMessageLogging()
465 public void dump(@NonNull Printer pw, @NonNull String prefix) { in dump()
478 public void dump(@NonNull Printer pw, @NonNull String prefix, Handler handler) { in dump()
/frameworks/base/core/java/android/database/sqlite/
DSQLiteDebug.java26 import android.util.Printer;
216 public static void dump(Printer printer, String[] args) { in dump()
221 public static void dump(Printer printer, String[] args, boolean isSystem) { in dump()
/frameworks/base/core/java/android/content/pm/
DProviderInfo.java22 import android.util.Printer;
140 public void dump(Printer pw, String prefix) { in dump()
145 public void dump(Printer pw, String prefix, int dumpFlags) { in dump()
DComponentInfo.java30 import android.util.Printer;
194 protected void dumpFront(Printer pw, String prefix) { in dumpFront()
218 protected void dumpBack(Printer pw, String prefix) { in dumpBack()
222 void dumpBack(Printer pw, String prefix, int dumpFlags) { in dumpBack()
DServiceInfo.java25 import android.util.Printer;
652 public void dump(Printer pw, String prefix) { in dump()
657 void dump(Printer pw, String prefix, int dumpFlags) { in dump()
/frameworks/base/services/core/java/com/android/server/inputmethod/
DImeBindingState.java27 import android.util.Printer;
89 void dump(String prefix, Printer p) { in dump()
/frameworks/base/tools/codegen/src/com/android/codegen/
DPrinter.kt23 interface Printer<SELF: Printer<SELF>> { in <lambda>() interface
/frameworks/base/tools/aapt2/dump/
DDumpManifest.cpp126 void Print(text::Printer* printer) { in Print()
176 void Print(text::Printer* printer) { in Print()
230 virtual void Print(text::Printer* printer) { in Print()
454 bool Dump(text::Printer* printer);
633 void Print(text::Printer* printer) override { in Print()
641 void PrintFull(text::Printer* printer) { in PrintFull()
739 void Print(text::Printer* printer) override { in Print()
836 void Print(text::Printer* printer) override { in Print()
893 void Print(text::Printer* printer) override { in Print()
963 void PrintScreens(text::Printer* printer, int32_t target_sdk) const { in PrintScreens()
[all …]
/frameworks/base/core/java/android/app/
DApplicationErrorReport.java30 import android.util.Printer;
474 public void dump(Printer pw, String prefix) { in dump()
573 public void dump(Printer pw, String prefix) { in dump()
634 public void dump(Printer pw, String prefix) { in dump()
681 public void dump(Printer pw, String prefix) { in dump()
705 public void dump(Printer pw, String prefix) { in dump()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDpmTestUtils.java26 import android.util.Printer;
127 public static Printer LOG_PRINTER = new Printer() {

1234