Searched refs:printer (Results 1 - 25 of 25) 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 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...]
H A DPrinterRegistry.java76 public void addHistoricalPrinter(PrinterInfo printer) { argument
79 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.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...]
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);
/frameworks/base/core/java/android/print/
H A DPrinterDiscoverySession.java73 Log.e(LOG_TAG, "Error creating printer discovery session", re);
87 Log.e(LOG_TAG, "Error starting printer discovery", re);
102 Log.e(LOG_TAG, "Error stopping printer discovery", re);
109 Log.w(LOG_TAG, "Ignoring start printer state tracking - session destroyed");
115 Log.e(LOG_TAG, "Error starting printer state tracking", re);
121 Log.w(LOG_TAG, "Ignoring stop printer state tracking - session destroyed");
127 Log.e(LOG_TAG, "Error stopping printer state tracking", re);
176 Log.e(LOG_TAG, "Destroying leaked printer discovery session");
191 Log.e(LOG_TAG, "Error destroying printer discovery session", re);
207 PrinterInfo printer
[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/core/java/android/printservice/
H A DPrinterDiscoverySession.java35 * system during printer discovery. During printer discovery you are responsible
40 * performing printer discovery multiple times. You will receive a call to {@link
41 * PrinterDiscoverySession#onStartPrinterDiscovery(List)} to start printer
43 * to stop printer discovery. When the system is no longer interested in printers
60 * need to update some printers. It is possible that you add a printer without
62 * printers for their capabilities, rather querying the capabilities of a printer
63 * only if necessary. For example, the system will request that you update a printer
69 * printer you will receive a call to {@link #onStartPrinterStateTracking(PrinterId)}
71 * 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/print/java/com/android/server/print/
H A DUserState.java310 * Get the custom icon for a printer. If the icon is not cached, the icon is
311 * requested asynchronously. Once it is available the printer is updated.
313 * @param printerId the id of the printer the icon should be loaded for
314 * @return the custom icon to be used for the printer or null if the icon is
525 // Request start tracking the printer.
541 // Request stop tracking the printer.
1329 // If printer discovery is ongoing and the start request has a list
1330 // of printer to be checked, then we just request validating them.
1411 Log.w(LOG_TAG, "Not starting printer state tracking - session destroyed");
1414 // If printer discover
[all...]
/frameworks/base/services/core/java/com/android/server/am/
H A DBroadcastRecord.java191 PrintWriterPrinter printer = new PrintWriterPrinter(pw);
208 ((ResolveInfo) o).dump(printer, p2, 0);
/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/tests/coretests/src/android/print/
H A DIPrintManagerParametersTest.java124 final String PRINTER_NAME = "good printer";
127 // Add the printer.
144 PrinterInfo printer = new PrinterInfo.Builder(
150 printers.add(printer);
213 // Wait for printer discovery session to be ready
229 // printer
230 mBadPrinterId = new PrinterId(mGoodComponentName, "dummy printer");
816 // Stop to track a non-tracked printer is a no-op
/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/services/backup/java/com/android/server/backup/
H A DBackupManagerService.java3842 StringBuilderPrinter printer = new StringBuilderPrinter(builder);
3844 printer.println(Integer.toString(BACKUP_MANIFEST_VERSION));
3845 printer.println(pkg.packageName);
3846 printer.println(Integer.toString(pkg.versionCode));
3847 printer.println(Integer.toString(Build.VERSION.SDK_INT));
3850 printer.println((installerName != null) ? installerName : "");
3852 printer.println(withApk ? "1" : "0");
3854 printer.println("0");
3856 printer.println(Integer.toString(pkg.signatures.length));
3858 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.java1163 PrintWriterPrinter printer = new PrintWriterPrinter(pw);
1164 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 1118 milliseconds