Searched defs:printer (Results 1 - 21 of 21) sorted by relevance

/frameworks/base/core/java/android/util/
H A DPrefixPrinter.java32 * <p>If prefix is null or empty, the provided printer is returned, rather
33 * than making a prefixing printer.
35 public static Printer create(Printer printer, String prefix) { argument
37 return printer;
39 return new PrefixPrinter(printer, prefix);
42 private PrefixPrinter(Printer printer, String prefix) { argument
43 mPrinter = printer;
/frameworks/compile/mclinker/lib/Support/
H A DMsgHandling.cpp36 DiagnosticPrinter* printer = local
38 g_pEngine->setPrinter(*printer, true);
/frameworks/base/core/java/android/database/sqlite/
H A DSQLiteDebug.java163 * @param printer The printer for dumping database state.
166 public static void dump(Printer printer, String[] args) { argument
174 SQLiteDatabase.dumpAll(printer, verbose);
H A DSQLiteConnectionPool.java1105 * @param printer The printer to receive the dump, not null.
1108 public void dump(Printer printer, boolean verbose) { argument
1109 Printer indentedPrinter = PrefixPrinter.create(printer, " ");
1111 printer.println("Connection pool for " + mConfiguration.path + ":");
1112 printer.println(" Open: " + mIsOpen);
1113 printer.println(" Max connections: " + mMaxConnectionPoolSize);
1114 printer.println(" Total execution time: " + mTotalExecutionTimeCounter);
1115 printer.println(" Configuration: openFlags=" + mConfiguration.openFlags
1121 printer
[all...]
H A DSQLiteConnection.java1065 * @param printer The printer to receive the dump, not null.
1068 public void dump(Printer printer, boolean verbose) { argument
1069 dumpUnsafe(printer, verbose);
1083 * @param printer The printer to receive the dump, not null.
1086 void dumpUnsafe(Printer printer, boolean verbose) { argument
1087 printer.println("Connection #" + mConnectionId + ":");
1089 printer.println(" connectionPtr: 0x" + Long.toHexString(mConnectionPtr));
1091 printer
1282 dump(Printer printer) argument
1443 dump(Printer printer, boolean verbose) argument
[all...]
H A DSQLiteDatabase.java2160 static void dumpAll(Printer printer, boolean verbose) { argument
2162 db.dump(printer, verbose);
2166 private void dump(Printer printer, boolean verbose) { argument
2169 printer.println("");
2170 mConnectionPoolLocked.dump(printer, verbose);
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
H A DPrinterRegistry.java76 public void addHistoricalPrinter(PrinterInfo printer) { argument
79 getPrinterProvider().addHistoricalPrinter(printer);
H A DSelectPrinterActivity.java73 * This is an activity for selecting a printer.
163 PrinterInfo printer = (PrinterInfo) mListView.getAdapter().getItem(position);
165 if (printer == null) {
168 onPrinterSelected(printer);
185 // If no services are installed, instantly open add printer dialog.
286 PrinterInfo printer = (PrinterInfo) mListView.getAdapter().getItem(position);
288 // Printer is null if this is a context menu for the "add printer" entry
289 if (printer == null) {
293 menu.setHeaderTitle(printer.getName());
296 if (printer
407 onPrinterSelected(PrinterInfo printer) argument
479 getTargetSDKOfPrintersService(@onNull PrinterInfo printer) argument
[all...]
H A DFusedPrintersProvider.java99 /** Maximum distance where a printer is still considered "near" */
142 public void addHistoricalPrinter(PrinterInfo printer) { argument
143 mPersistenceManager.addPrinterAndWritePrinterHistory(printer);
147 * Add printer to dest, or if updatedPrinters add the updated printer. If the updated printer
151 * @param printer The printer to add
152 * @param updatedPrinters The printer to add
154 private void updateAndAddPrinter(List<PrinterInfo> dest, PrinterInfo printer, argument
638 updateHistoricalPrinterIfNeeded(PrinterInfo printer) argument
670 addPrinterAndWritePrinterHistory(PrinterInfo printer) argument
[all...]
H A DPrintActivity.java257 /** The ID of the printer initially set */
263 /** Advances options activity name for current printer */
331 // create the printer registry and wait for it to get
342 // and the printer registry loaded the historical printers
798 // Trigger PrintersObserver.onChanged() to adjust selection back to current printer
803 private void startAdvancedPrintOptionsActivity(PrinterInfo printer) { argument
825 intent.putExtra(PrintService.EXTRA_PRINTER_INFO, printer);
873 // Take the media size only if the current printer supports is.
899 // Take the resolution only if the current printer supports is.
917 // Take the color mode only if the current printer support
1624 canPrint(PrinterInfo printer) argument
2070 onPrinterAvailable(PrinterInfo printer) argument
2080 onPrinterUnavailable(PrinterInfo printer) argument
2213 updatePrinter(PrinterInfo printer) argument
2277 PrinterInfo printer; field in class:PrintActivity.PrinterHolder
2280 PrinterHolder(PrinterInfo printer) argument
2347 ensurePrinterInVisibleAdapterPosition(PrinterInfo printer) argument
[all...]
/frameworks/base/test-runner/src/junit/textui/
H A DTestRunner.java54 public TestRunner(ResultPrinter printer) { argument
55 fPrinter= printer;
198 public void setPrinter(ResultPrinter printer) { argument
199 fPrinter= printer;
/frameworks/base/tools/aapt2/
H A DDominatorTree_test.cpp80 PrettyPrinter printer; local
86 EXPECT_EQ(expected, printer.ToString(&tree));
101 PrettyPrinter printer; local
108 EXPECT_EQ(expected, printer.ToString(&tree));
136 PrettyPrinter printer; local
149 EXPECT_EQ(expected, printer.ToString(&tree));
164 PrettyPrinter printer; local
171 EXPECT_EQ(expected, printer.ToString(&tree));
H A DDebug.cpp47 explicit ValueHeadlinePrinter(const std::string& package, Printer* printer) argument
48 : package_(package), printer_(printer) {
124 explicit ValueBodyPrinter(const std::string& package, Printer* printer) argument
125 : package_(package), printer_(printer) {
246 Printer* printer) {
248 ValueHeadlinePrinter headline_printer(package->name, printer);
249 ValueBodyPrinter body_printer(package->name, printer);
251 printer->Print("Package name=");
252 printer->Print(package->name);
254 printer
245 PrintTable(const ResourceTable& table, const DebugPrintTableOptions& options, Printer* printer) argument
417 XmlPrinter(Printer* printer) argument
486 DumpXml(const xml::XmlResource& doc, Printer* printer) argument
[all...]
H A DResourceValues.cpp39 void Value::PrettyPrint(Printer* printer) const {
42 printer->Print(str_stream.str());
170 static void PrettyPrintReferenceImpl(const Reference& ref, bool print_package, Printer* printer) { argument
173 printer->Print("@");
177 printer->Print("?");
182 printer->Print("null");
187 printer->Print("*");
193 printer->Print(name.to_string());
195 printer->Print(to_string(name.type));
196 printer
[all...]
/frameworks/base/core/java/android/os/
H A DLooper.java281 * enabled, a log message will be written to <var>printer</var>
285 * @param printer A Printer object that will receive log messages, or
288 public void setMessageLogging(@Nullable Printer printer) { argument
289 mLogging = printer;
363 * @param pw A printer to receive the contents of the dump.
374 * @param pw A printer to receive the contents of the dump.
H A DBatteryStats.java3163 * Checkin version of wakelock printer. Prints simple comma-separated list.
4300 private void printmAh(PrintWriter printer, double power) { argument
4301 printer.print(BatteryStatsHelper.makemAh(power));
/frameworks/base/tools/aapt2/cmd/
H A DDump.cpp63 size_t len, Printer* printer) {
64 printer->Print("Resource: ");
65 printer->Println(file.name.to_string());
67 printer->Print("Config: ");
68 printer->Println(file.config.to_string());
70 printer->Print("Source: ");
71 printer->Println(file.source.to_string());
73 printer->Print("Type: ");
74 printer->Println(ResourceFileTypeToString(file.type));
76 printer
62 DumpCompiledFile(const ResourceFile& file, const Source& source, off64_t offset, size_t len, Printer* printer) argument
79 DumpXmlFile(IAaptContext* context, io::IFile* file, bool proto, text::Printer* printer) argument
[all...]
/frameworks/base/core/java/android/text/
H A DTextUtils.java882 public static void dumpSpans(CharSequence cs, Printer printer, String prefix) { argument
889 printer.println(prefix + cs.subSequence(sp.getSpanStart(o),
897 printer.println(prefix + cs + ": (no spans)");
/frameworks/base/core/java/android/widget/
H A DGridLayout.java598 * Return the printer that will log diagnostics from this layout.
602 * @return the printer associated with this view
611 * Set the printer that will log diagnostics from this layout.
614 * @param printer the printer associated with this layout
620 public void setPrinter(Printer printer) { argument
621 this.mPrinter = (printer == null) ? NO_PRINTER : printer;
/frameworks/support/gridlayout/src/main/java/androidx/gridlayout/widget/
H A DGridLayout.java582 * Return the printer that will log diagnostics from this layout.
586 * @return the printer associated with this view
593 * Set the printer that will log diagnostics from this layout.
596 * @param printer the printer associated with this layout
600 public void setPrinter(Printer printer) { argument
601 this.mPrinter = (printer == null) ? NO_PRINTER : printer;
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...

Completed in 272 milliseconds