/frameworks/base/core/java/android/util/ |
D | PrefixPrinter.java | 35 public static Printer create(Printer printer, String prefix) { in create() argument 37 return printer; in create() 39 return new PrefixPrinter(printer, prefix); in create() 42 private PrefixPrinter(Printer printer, String prefix) { in PrefixPrinter() argument 43 mPrinter = printer; in PrefixPrinter()
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ |
D | FusedPrintersProvider.java | 89 public void addHistoricalPrinter(PrinterInfo printer) { in addHistoricalPrinter() argument 90 mPersistenceManager.addPrinterAndWritePrinterHistory(printer); in addHistoricalPrinter() 113 PrinterInfo printer = mPrinters.get(i); in computeAndDeliverResult() local 115 printer.getId()); in computeAndDeliverResult() 215 PrinterInfo printer = printers.get(i); in updatePrinters() local 216 printersMap.put(printer.getId(), printer); in updatePrinters() local 380 public void addPrinterAndWritePrinterHistory(PrinterInfo printer) { in addPrinterAndWritePrinterHistory() argument 384 mHistoricalPrinters.add(printer); in addPrinterAndWritePrinterHistory() 418 PrinterInfo printer = printers.get(i); in computeFavoritePrinters() local 420 PrinterRecord record = recordMap.get(printer.getId()); in computeFavoritePrinters() [all …]
|
D | SelectPrinterFragment.java | 138 PrinterInfo printer = (PrinterInfo) mListView.getAdapter().getItem(position); in onCreateView() 141 ((OnPrinterSelectedListener) activity).onPrinterSelected(printer.getId()); in onCreateView() 201 PrinterInfo printer = (PrinterInfo) mListView.getAdapter().getItem(position); in onCreateContextMenu() local 203 menu.setHeaderTitle(printer.getName()); in onCreateContextMenu() 206 if (printer.getStatus() != PrinterInfo.STATUS_UNAVAILABLE) { in onCreateContextMenu() 210 intent.putExtra(EXTRA_PRINTER_ID, printer.getId()); in onCreateContextMenu() 217 if (provider.isFavoritePrinter(printer.getId())) { in onCreateContextMenu() 221 intent.putExtra(EXTRA_PRINTER_ID, printer.getId()); in onCreateContextMenu() 460 PrinterInfo printer = mPrinters.get(i); in getFilter() 461 if (printer.getName().toLowerCase().contains(constraintLowerCase)) { in getFilter() [all …]
|
D | PrintJobConfigActivity.java | 1301 PrinterInfo printer = (PrinterInfo) item; in postCreate() 1302 if (!printer.getId().equals(mCurrentPrinter.getId())) { in postCreate() 1307 if (mCurrentPrinter.equals(printer)) { in postCreate() 1314 && printer.getStatus() != PrinterInfo.STATUS_UNAVAILABLE in postCreate() 1315 && printer.getCapabilities() == null) { in postCreate() 1319 mCurrentPrinter.copyFrom(printer); in postCreate() 1328 && printer.getStatus() == PrinterInfo.STATUS_UNAVAILABLE) in postCreate() 1330 && printer.getCapabilities() == null)) { in postCreate() 1334 mCurrentPrinter.copyFrom(printer); in postCreate() 1340 if (printer.getCapabilities() != null in postCreate() [all …]
|
D | SelectPrinterActivity.java | 35 public void onPrinterSelected(PrinterId printer) { in onPrinterSelected() argument 37 intent.putExtra(PrintJobConfigActivity.INTENT_EXTRA_PRINTER_ID, printer); in onPrinterSelected()
|
D | PrintSpoolerService.java | 661 public void setPrintJobPrinterNoPersistence(PrintJobId printJobId, PrinterInfo printer) { in setPrintJobPrinterNoPersistence() argument 665 printJob.setPrinterId(printer.getId()); in setPrintJobPrinterNoPersistence() 666 printJob.setPrinterName(printer.getName()); in setPrintJobPrinterNoPersistence()
|
/frameworks/base/core/java/android/print/ |
D | PrinterDiscoverySession.java | 205 PrinterInfo printer = addedPrinters.get(i); in handlePrintersAdded() local 206 mPrinters.put(printer.getId(), printer); in handlePrintersAdded() local 217 PrinterInfo printer = addedPrinters.get(i); in handlePrintersAdded() local 218 addedPrintersMap.put(printer.getId(), printer); in handlePrintersAdded() local
|
/frameworks/compile/mclinker/lib/Support/ |
D | MsgHandling.cpp | 38 DiagnosticPrinter* printer = new TextDiagnosticPrinter(mcld::errs(), pConfig); in InitializeDiagnosticEngine() local 39 g_pEngine->setPrinter(*printer, true); in InitializeDiagnosticEngine()
|
/frameworks/base/core/java/android/database/sqlite/ |
D | SQLiteConnection.java | 1054 public void dump(Printer printer, boolean verbose) { in dump() argument 1055 dumpUnsafe(printer, verbose); in dump() 1072 void dumpUnsafe(Printer printer, boolean verbose) { in dumpUnsafe() argument 1073 printer.println("Connection #" + mConnectionId + ":"); in dumpUnsafe() 1075 printer.println(" connectionPtr: 0x" + Integer.toHexString(mConnectionPtr)); in dumpUnsafe() 1077 printer.println(" isPrimaryConnection: " + mIsPrimaryConnection); in dumpUnsafe() 1078 printer.println(" onlyAllowReadOnlyOperations: " + mOnlyAllowReadOnlyOperations); in dumpUnsafe() 1080 mRecentOperations.dump(printer, verbose); in dumpUnsafe() 1083 mPreparedStatementCache.dump(printer); in dumpUnsafe() 1264 public void dump(Printer printer) { in dump() argument [all …]
|
D | SQLiteDebug.java | 162 public static void dump(Printer printer, String[] args) { in dump() argument 170 SQLiteDatabase.dumpAll(printer, verbose); in dump()
|
D | SQLiteConnectionPool.java | 1001 public void dump(Printer printer, boolean verbose) { in dump() argument 1002 Printer indentedPrinter = PrefixPrinter.create(printer, " "); in dump() 1004 printer.println("Connection pool for " + mConfiguration.path + ":"); in dump() 1005 printer.println(" Open: " + mIsOpen); in dump() 1006 printer.println(" Max connections: " + mMaxConnectionPoolSize); in dump() 1008 printer.println(" Available primary connection:"); in dump() 1015 printer.println(" Available non-primary connections:"); in dump() 1025 printer.println(" Acquired connections:"); in dump() 1037 printer.println(" Connection waiters:"); in dump()
|
D | SQLiteDatabase.java | 2040 static void dumpAll(Printer printer, boolean verbose) { in dumpAll() argument 2042 db.dump(printer, verbose); in dumpAll() 2046 private void dump(Printer printer, boolean verbose) { in dump() argument 2049 printer.println(""); in dump() 2050 mConnectionPoolLocked.dump(printer, verbose); in dump()
|
/frameworks/base/core/java/android/printservice/ |
D | PrinterDiscoverySession.java | 281 for (PrinterInfo printer : mPrinters.values()) { in sendOutOfDiscoveryPeriodPrinterChanges() 282 PrinterInfo sentPrinter = mLastSentPrinters.get(printer.getId()); in sendOutOfDiscoveryPeriodPrinterChanges() 283 if (sentPrinter == null || !sentPrinter.equals(printer)) { in sendOutOfDiscoveryPeriodPrinterChanges() 287 addedPrinters.add(printer); in sendOutOfDiscoveryPeriodPrinterChanges()
|
/frameworks/base/core/java/android/os/ |
D | Looper.java | 174 public void setMessageLogging(Printer printer) { in setMessageLogging() argument 175 mLogging = printer; in setMessageLogging()
|
/frameworks/base/services/java/com/android/server/print/ |
D | UserState.java | 1147 PrinterInfo printer = printers.get(i); in onPrintersAddedLocked() local 1148 PrinterInfo oldPrinter = mPrinters.put(printer.getId(), printer); in onPrintersAddedLocked() 1149 if (oldPrinter == null || !oldPrinter.equals(printer)) { in onPrintersAddedLocked() 1153 addedPrinters.add(printer); in onPrintersAddedLocked() 1261 PrinterId printer = mStateTrackedPrinters.get(i); in dump() local 1262 pw.append(prefix).append(tab).append(tab).append(printer.toString()).println(); in dump() 1268 PrinterInfo printer = mPrinters.valueAt(i); in dump() local 1270 printer.toString()).println(); in dump()
|
/frameworks/base/services/java/com/android/server/am/ |
D | BroadcastRecord.java | 163 PrintWriterPrinter printer = new PrintWriterPrinter(pw); in dump() local 171 ((ResolveInfo)o).dump(printer, p2); in dump()
|
/frameworks/base/services/java/com/android/server/ |
D | IntentResolver.java | 103 Printer printer = null; in dumpMap() local 124 if (printer == null) { in dumpMap() 125 printer = new PrintWriterPrinter(out); in dumpMap() 127 filter.dump(printer, fprefix + " "); in dumpMap()
|
D | BackupManagerService.java | 3085 StringBuilderPrinter printer = new StringBuilderPrinter(builder); in writeAppManifest() local 3087 printer.println(Integer.toString(BACKUP_MANIFEST_VERSION)); in writeAppManifest() 3088 printer.println(pkg.packageName); in writeAppManifest() 3089 printer.println(Integer.toString(pkg.versionCode)); in writeAppManifest() 3090 printer.println(Integer.toString(Build.VERSION.SDK_INT)); in writeAppManifest() 3093 printer.println((installerName != null) ? installerName : ""); in writeAppManifest() 3095 printer.println(withApk ? "1" : "0"); in writeAppManifest() 3097 printer.println("0"); in writeAppManifest() 3099 printer.println(Integer.toString(pkg.signatures.length)); in writeAppManifest() 3101 printer.println(sig.toCharsString()); in writeAppManifest()
|
/frameworks/base/docs/html/training/connect-devices-wirelessly/ |
D | nsd.jd | 85 offering a printer service (for instance, a network printer) would set the 273 application wants to connect to a network printer, it's enough to see that the service type
|
D | nsd-wifi-direct.jd | 129 * fullDomain: full domain name: e.g "printer._ipp._tcp.local."
|
/frameworks/base/docs/html/training/printing/ |
D | photos.jd | 75 appears, allowing the user to select a printer and printing options. The user can then print the
|
D | custom-docs.jd | 37 communicate with the print framework, adjust to printer settings, draw page elements and 189 calculating the number of pages that are expected as output given the attributes of the printer.
|
/frameworks/base/core/java/android/text/ |
D | TextUtils.java | 802 public static void dumpSpans(CharSequence cs, Printer printer, String prefix) { in dumpSpans() argument 809 printer.println(prefix + cs.subSequence(sp.getSpanStart(o), in dumpSpans() 817 printer.println(prefix + cs + ": (no spans)"); in dumpSpans()
|
/frameworks/base/core/java/android/widget/ |
D | GridLayout.java | 601 public void setPrinter(Printer printer) { in setPrinter() argument 602 this.mPrinter = (printer == null) ? NO_PRINTER : printer; in setPrinter()
|
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/ |
D | GridLayout.java | 597 public void setPrinter(Printer printer) { in setPrinter() argument 598 this.mPrinter = (printer == null) ? NO_PRINTER : printer; in setPrinter()
|