/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/ |
D | FusedPrintersProvider.java | 175 List<PrinterInfo> printers = new ArrayList<>(); in computeAndDeliverResult() local 189 if (printers.size() == MAX_FAVORITE_PRINTER_COUNT) { in computeAndDeliverResult() 199 updateAndAddPrinter(printers, favoritePrinter, discoveredPrinters); in computeAndDeliverResult() 209 if (printers.size() == MAX_FAVORITE_PRINTER_COUNT) { in computeAndDeliverResult() 215 updateAndAddPrinter(printers, favoritePrinter, discoveredPrinters); in computeAndDeliverResult() 228 printers.add(updatedPrinter); in computeAndDeliverResult() 233 printers.addAll(discoveredPrinters.values()); in computeAndDeliverResult() 237 mPrinters.addAll(printers); in computeAndDeliverResult() 241 deliverResult(printers); in computeAndDeliverResult() 329 List<PrinterInfo> printers = mDiscoverySession.getPrinters(); in loadInternal() local [all …]
|
D | PrinterRegistry.java | 51 public void onPrintersChanged(List<PrinterInfo> printers); in onPrintersChanged() argument 132 public void onLoadFinished(Loader<List<PrinterInfo>> loader, List<PrinterInfo> printers) { 134 mPrinters.addAll(printers); 139 mHandler.obtainMessage(MyHandler.MSG_PRINTERS_CHANGED, printers).sendToTarget(); 169 List<PrinterInfo> printers = (List<PrinterInfo>) message.obj; in handleMessage() local 172 mOnPrintersChangeListener.onPrintersChanged(printers); in handleMessage()
|
D | SelectPrinterActivity.java | 362 List<PrinterInfo> printers = adapter.getPrinters(); in onDestroy() local 371 PrinterInfo printer = printers.get(i); in onDestroy() 514 public void onPrintersChanged(List<PrinterInfo> printers) { in DestinationAdapter() 517 mPrinters.addAll(printers); in DestinationAdapter() 519 mFilteredPrinters.addAll(printers); in DestinationAdapter() 577 List<PrinterInfo> printers = (List<PrinterInfo>) results.values; in getFilter() local 578 mFilteredPrinters.addAll(printers); in getFilter()
|
D | PrintActivity.java | 2530 public void onPrintersChanged(List<PrinterInfo> printers) { in onPrintersChanged() argument 2543 addPrinters(mPrinterHolders, printers); in onPrintersChanged() 2550 final int printerCount = printers.size(); in onPrintersChanged() 2552 PrinterInfo printer = printers.get(i); in onPrintersChanged() 2632 private void addPrinters(List<PrinterHolder> list, Collection<PrinterInfo> printers) { in addPrinters() argument 2633 for (PrinterInfo printer : printers) { in addPrinters()
|
/frameworks/base/core/java/android/printservice/ |
D | PrinterDiscoverySession.java | 166 public final void addPrinters(@NonNull List<PrinterInfo> printers) { in addPrinters() argument 178 final int addedPrinterCount = printers.size(); in addPrinters() 180 PrinterInfo addedPrinter = printers.get(i); in addPrinters() 205 final int addedPrinterCount = printers.size(); in addPrinters() 207 PrinterInfo addedPrinter = printers.get(i); in addPrinters()
|
D | IPrintServiceClient.aidl | 64 void onPrintersAdded(in ParceledListSlice printers); in onPrintersAdded() argument
|
/frameworks/base/core/java/android/print/ |
D | PrinterDiscoverySession.java | 278 List<PrinterInfo> printers = (List<PrinterInfo>) message.obj; in handleMessage() local 279 handlePrintersAdded(printers); in handleMessage() 300 public void onPrintersAdded(ParceledListSlice printers) { in onPrintersAdded() argument 304 printers.getList()).sendToTarget(); in onPrintersAdded()
|
D | IPrinterDiscoveryObserver.aidl | 29 void onPrintersAdded(in ParceledListSlice printers); in onPrintersAdded() argument
|
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/ |
D | RecommendationServiceImpl.java | 162 List<InetAddress> printers = plugin.getPrinters(); in onChanged() local 164 if (!printers.isEmpty()) { in onChanged() 166 getString(plugin.name), printers, plugin.recommendsMultiVendorService)); in onChanged()
|
/frameworks/base/core/proto/android/service/ |
D | print.proto | 151 // List of ids of printers that are have tracking requests 154 // List of printers found 167 // Add printers activity for this service 202 // Is the active service discovering printers 205 // The tracked printers of this active service
|
/frameworks/base/packages/PrintSpooler/tests/outofprocess/src/com/android/printspooler/outofprocess/tests/ |
D | WorkflowTest.java | 104 List<PrinterInfo> printers = new ArrayList<>(1); in addPrinter() local 125 printers.add(printerInfo); in addPrinter() 126 session.addPrinters(printers); in addPrinter()
|
/frameworks/base/core/tests/coretests/src/android/print/ |
D | IPrintManagerParametersTest.java | 127 List<PrinterInfo> printers = new ArrayList<>(); 152 printers.add(printer); 154 session.addPrinters(printers);
|
/frameworks/base/services/print/java/com/android/server/print/ |
D | RemotePrintService.java | 106 public void onPrintersAdded(List<PrinterInfo> printers); in onPrintersAdded() argument 799 public void onPrintersAdded(ParceledListSlice printers) { in onPrintersAdded() argument 802 List<PrinterInfo> addedPrinters = (List<PrinterInfo>) printers.getList(); in onPrintersAdded()
|
D | UserState.java | 719 public void onPrintersAdded(List<PrinterInfo> printers) { in onPrintersAdded() argument 730 mPrinterDiscoverySession.onPrintersAddedLocked(printers); in onPrintersAdded() 1464 public void onPrintersAddedLocked(List<PrinterInfo> printers) { in onPrintersAddedLocked() argument 1473 final int addedPrinterCount = printers.size(); in onPrintersAddedLocked() 1475 PrinterInfo printer = printers.get(i); in onPrintersAddedLocked() 1723 List<PrinterInfo> printers) { in handlePrintersAdded() argument 1725 observer.onPrintersAdded(new ParceledListSlice<PrinterInfo>(printers)); in handlePrintersAdded()
|
/frameworks/base/proto/src/metrics_constants/ |
D | metrics_constants.proto | 2503 // Subtype: # of printers listed 2506 // OPEN: “Add Printers” screen for adding printers 2519 // ACTION: User selects a printer from the “All printers” screen.
|