Searched defs:printer (Results 1 - 17 of 17) 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.java159 * @param printer The printer for dumping database state.
162 public static void dump(Printer printer, String[] args) { argument
170 SQLiteDatabase.dumpAll(printer, verbose);
H A DSQLiteConnectionPool.java998 * @param printer The printer to receive the dump, not null.
1001 public void dump(Printer printer, boolean verbose) { argument
1002 Printer indentedPrinter = PrefixPrinter.create(printer, " ");
1004 printer.println("Connection pool for " + mConfiguration.path + ":");
1005 printer.println(" Open: " + mIsOpen);
1006 printer.println(" Max connections: " + mMaxConnectionPoolSize);
1008 printer.println(" Available primary connection:");
1015 printer.println(" Available non-primary connections:");
1025 printer
[all...]
H A DSQLiteDatabase.java2058 static void dumpAll(Printer printer, boolean verbose) { argument
2060 db.dump(printer, verbose);
2064 private void dump(Printer printer, boolean verbose) { argument
2067 printer.println("");
2068 mConnectionPoolLocked.dump(printer, verbose);
H A DSQLiteConnection.java1051 * @param printer The printer to receive the dump, not null.
1054 public void dump(Printer printer, boolean verbose) { argument
1055 dumpUnsafe(printer, verbose);
1069 * @param printer The printer to receive the dump, not null.
1072 void dumpUnsafe(Printer printer, boolean verbose) { argument
1073 printer.println("Connection #" + mConnectionId + ":");
1075 printer.println(" connectionPtr: 0x" + Long.toHexString(mConnectionPtr));
1077 printer
1268 dump(Printer printer) argument
1422 dump(Printer printer, boolean verbose) argument
[all...]
/frameworks/base/core/java/android/os/
H A DLooper.java211 * enabled, a log message will be written to <var>printer</var>
215 * @param printer A Printer object that will receive log messages, or
218 public void setMessageLogging(@Nullable Printer printer) { argument
219 mLogging = printer;
284 * @param pw A printer to receive the contents of the dump.
H A DBatteryStats.java2579 * Checkin version of wakelock printer. Prints simple comma-separated list.
3321 private void printmAh(PrintWriter printer, double power) { argument
3322 printer.print(BatteryStatsHelper.makemAh(power));
/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.java65 * This is an activity for selecting a printer.
135 PrinterInfo printer = (PrinterInfo) mListView.getAdapter().getItem(position);
137 if (printer == null) {
140 onPrinterSelected(printer);
157 // If no services are installed, instantly open add printer dialog.
241 PrinterInfo printer = (PrinterInfo) mListView.getAdapter().getItem(position);
243 menu.setHeaderTitle(printer.getName());
246 if (printer.getStatus() != PrinterInfo.STATUS_UNAVAILABLE) {
250 intent.putExtra(EXTRA_PRINTER, printer);
255 if (mPrinterRegistry.isFavoritePrinter(printer
308 onPrinterSelected(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.java234 /** Advances options activity name for current printer */
288 // create the printer registry and wait for it to get
299 // and the printer registry loaded the historical printers
732 // Trigger PrintersObserver.onChanged() to adjust selection back to current printer
737 private void startAdvancedPrintOptionsActivity(PrinterInfo printer) { argument
757 intent.putExtra(PrintService.EXTRA_PRINTER_INFO, printer);
797 // Take the media size only if the current printer supports is.
823 // Take the resolution only if the current printer supports is.
841 // Take the color mode only if the current printer supports it.
856 // Take the duplex mode only if the current printer support
1531 canPrint(PrinterInfo printer) argument
1972 onPrinterAvailable(PrinterInfo printer) argument
1983 onPrinterUnavailable(PrinterInfo printer) argument
2115 updatePrinter(PrinterInfo printer) argument
2179 PrinterInfo printer; field in class:PrintActivity.PrinterHolder
2182 PrinterHolder(PrinterInfo printer) argument
2250 ensurePrinterInVisibleAdapterPosition(PrinterInfo printer) argument
[all...]
/frameworks/base/core/tests/overlaytests/
H A Dtestrunner.py462 def _handle_instrumentation_task_output(stdout, printer):
478 printer.begin(TASK_INSTRUMENTATION_TEST, current_test)
480 printer.end_pass(TASK_INSTRUMENTATION_TEST, current_test)
485 printer.end_fail(TASK_INSTRUMENTATION_TEST, current_test, msg.rstrip() + '\n')
566 printer = QuietPrinter() variable
568 printer = VerbosePrinter(opts.use_color) variable
656 printer.begin(TASK_INSTRUMENTATION, name)
657 printer.end_fail(TASK_INSTRUMENTATION, name, stderr)
659 retcode = _handle_instrumentation_task_output(stdout, printer)
666 printer
[all...]
/frameworks/base/core/java/android/text/
H A DTextUtils.java820 public static void dumpSpans(CharSequence cs, Printer printer, String prefix) { argument
827 printer.println(prefix + cs.subSequence(sp.getSpanStart(o),
835 printer.println(prefix + cs + ": (no spans)");
/frameworks/base/core/java/android/widget/
H A DGridLayout.java583 * Return the printer that will log diagnostics from this layout.
587 * @return the printer associated with this view
596 * Set the printer that will log diagnostics from this layout.
599 * @param printer the printer associated with this layout
605 public void setPrinter(Printer printer) { argument
606 this.mPrinter = (printer == null) ? NO_PRINTER : printer;
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/
H A DGridLayout.java574 * Return the printer that will log diagnostics from this layout.
578 * @return the printer associated with this view
585 * Set the printer that will log diagnostics from this layout.
588 * @param printer the printer associated with this layout
592 public void setPrinter(Printer printer) { argument
593 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 932 milliseconds