Searched refs:printer (Results 1 - 24 of 24) 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/packages/PrintSpooler/src/com/android/printspooler/ui/
H A DFusedPrintersProvider.java92 public void addHistoricalPrinter(PrinterInfo printer) { argument
93 mPersistenceManager.addPrinterAndWritePrinterHistory(printer);
116 PrinterInfo printer = mPrinters.get(i);
118 printer.getId());
215 // Some of the found printers may have be a printer that is in the
217 // printer to use its current name instead of the historical one.
223 PrinterInfo printer = printers.get(i);
224 printersMap.put(printer.getId(), printer);
308 // Remove the printer fro
395 renamePrinterIfNeeded(PrinterInfo printer) argument
409 addPrinterAndWritePrinterHistory(PrinterInfo printer) argument
478 public final PrinterInfo printer; field in class:FusedPrintersProvider.PersistenceManager.PrinterRecord
481 PrinterRecord(PrinterInfo printer) argument
[all...]
H A DSelectPrinterActivity.java71 * This is an activity for selecting a printer.
132 PrinterInfo printer = (PrinterInfo) mListView.getAdapter().getItem(position);
133 onPrinterSelected(printer.getId());
189 PrinterInfo printer = (PrinterInfo) mListView.getAdapter().getItem(position);
191 menu.setHeaderTitle(printer.getName());
194 if (printer.getStatus() != PrinterInfo.STATUS_UNAVAILABLE) {
198 intent.putExtra(EXTRA_PRINTER_ID, printer.getId());
203 if (mPrinterRegistry.isFavoritePrinter(printer.getId())) {
207 intent.putExtra(EXTRA_PRINTER_ID, printer.getId());
391 Log.w(LOG_TAG, "Couldn't start add printer activit
[all...]
H A DPrintActivity.java257 // create the printer registry and wait for it to get
272 // and the printer registry loaded the historical printers
663 private void startAdvancedPrintOptionsActivity(PrinterInfo printer) { argument
664 ComponentName serviceName = printer.getId().getServiceName();
683 intent.putExtra(PrintService.EXTRA_PRINTER_INFO, printer);
719 // Take the media size only if the current printer supports is.
745 // Take the resolution only if the current printer supports is.
763 // Take the color mode only if the current printer supports it.
778 // Take the duplex mode only if the current printer supports it.
1204 private static boolean canPrint(PrinterInfo printer) { argument
1666 onPrinterAvailable(PrinterInfo printer) argument
1677 onPrinterUnavailable(PrinterInfo printer) argument
1785 updatePrinter(PrinterInfo printer) argument
1849 PrinterInfo printer; field in class:PrintActivity.PrinterHolder
1852 PrinterHolder(PrinterInfo printer) argument
[all...]
H A DPrinterRegistry.java70 public void addHistoricalPrinter(PrinterInfo printer) { argument
73 getPrinterProvider().addHistoricalPrinter(printer);
/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 DSQLiteConnection.java1049 * @param printer The printer to receive the dump, not null.
1052 public void dump(Printer printer, boolean verbose) { argument
1053 dumpUnsafe(printer, verbose);
1067 * @param printer The printer to receive the dump, not null.
1070 void dumpUnsafe(Printer printer, boolean verbose) { argument
1071 printer.println("Connection #" + mConnectionId + ":");
1073 printer.println(" connectionPtr: 0x" + Long.toHexString(mConnectionPtr));
1075 printer
1266 dump(Printer printer) argument
1411 dump(Printer printer, boolean verbose) argument
[all...]
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.java2042 static void dumpAll(Printer printer, boolean verbose) { argument
2044 db.dump(printer, verbose);
2048 private void dump(Printer printer, boolean verbose) { argument
2051 printer.println("");
2052 mConnectionPoolLocked.dump(printer, verbose);
/frameworks/base/core/java/android/print/
H A DPrinterDiscoverySession.java71 Log.e(LOG_TAG, "Error creating printer discovery session", re);
85 Log.e(LOG_TAG, "Error starting printer discovery", re);
100 Log.e(LOG_TAG, "Error stopping printer discovery", re);
107 Log.w(LOG_TAG, "Ignoring start printer state tracking - session destroyed");
113 Log.e(LOG_TAG, "Error starting printer state tracking", re);
119 Log.w(LOG_TAG, "Ignoring stop printer state tracking - session destroyed");
125 Log.e(LOG_TAG, "Error stopping printer state tracking", re);
174 Log.e(LOG_TAG, "Destroying leaked printer discovery session");
189 Log.e(LOG_TAG, "Error destroying printer discovery session", re);
205 PrinterInfo printer
[all...]
/frameworks/base/core/java/android/os/
H A DLooper.java200 * enabled, a log message will be written to <var>printer</var>
204 * @param printer A Printer object that will receive log messages, or
207 public void setMessageLogging(@Nullable Printer printer) { argument
208 mLogging = printer;
268 * @param pw A printer to receive the contents of the dump.
H A DBatteryStats.java2430 * Checkin version of wakelock printer. Prints simple comma-separated list.
2998 private void printmAh(PrintWriter printer, double power) { argument
2999 printer.print(BatteryStatsHelper.makemAh(power));
/frameworks/base/core/java/android/printservice/
H A DPrinterDiscoverySession.java33 * system during printer discovery. During printer discovery you are responsible
38 * performing printer discovery multiple times. You will receive a call to {@link
39 * PrinterDiscoverySession#onStartPrinterDiscovery(List)} to start printer
41 * to stop printer discovery. When the system is no longer interested in printers
58 * need to update some printers. It is possible that you add a printer without
60 * printers for their capabilities, rather querying the capabilities of a printer
61 * only if necessary. For example, the system will request that you update a printer
67 * printer you will receive a call to {@link #onStartPrinterStateTracking(PrinterId)}
69 * changes in the printer stat
[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/services/core/java/com/android/server/am/
H A DBroadcastRecord.java176 PrintWriterPrinter printer = new PrintWriterPrinter(pw);
184 ((ResolveInfo)o).dump(printer, p2);
/frameworks/base/services/print/java/com/android/server/print/
H A DUserState.java429 // Request start tracking the printer.
445 // Request stop tracking the printer.
1019 // If printer discovery is ongoing and the start request has a list
1020 // of printer to be checked, then we just request validating them.
1099 Log.w(LOG_TAG, "Not starting printer state tracking - session destroyed");
1102 // If printer discovery is not started - nothing to do.
1109 // If we were tracking this printer - nothing to do.
1129 Log.w(LOG_TAG, "Not stopping printer state tracking - session destroyed");
1132 // If printer discovery is not started - nothing to do.
1136 // If we did not track this printer
[all...]
/frameworks/base/services/core/java/com/android/server/
H A DIntentResolver.java223 Printer printer = null;
271 if (printer == null) {
272 printer = new PrintWriterPrinter(out);
274 filter.dump(printer, fprefix + " ");
/frameworks/base/core/java/android/text/
H A DTextUtils.java825 public static void dumpSpans(CharSequence cs, Printer printer, String prefix) { argument
832 printer.println(prefix + cs.subSequence(sp.getSpanStart(o),
840 printer.println(prefix + cs + ": (no spans)");
/frameworks/base/services/backup/java/com/android/server/backup/
H A DBackupManagerService.java3495 StringBuilderPrinter printer = new StringBuilderPrinter(builder);
3497 printer.println(Integer.toString(BACKUP_MANIFEST_VERSION));
3498 printer.println(pkg.packageName);
3499 printer.println(Integer.toString(pkg.versionCode));
3500 printer.println(Integer.toString(Build.VERSION.SDK_INT));
3503 printer.println((installerName != null) ? installerName : "");
3505 printer.println(withApk ? "1" : "0");
3507 printer.println("0");
3509 printer.println(Integer.toString(pkg.signatures.length));
3511 printer
[all...]
/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/base/core/java/android/app/
H A DActivityThread.java1109 PrintWriterPrinter printer = new PrintWriterPrinter(pw);
1110 SQLiteDebug.dump(printer, args);
/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 3828 milliseconds