Home
last modified time | relevance | path

Searched refs:printers (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DFusedPrintersProvider.java174 List<PrinterInfo> printers = new ArrayList<>(); in computeAndDeliverResult() local
188 if (printers.size() == MAX_FAVORITE_PRINTER_COUNT) { in computeAndDeliverResult()
198 updateAndAddPrinter(printers, favoritePrinter, discoveredPrinters); in computeAndDeliverResult()
208 if (printers.size() == MAX_FAVORITE_PRINTER_COUNT) { in computeAndDeliverResult()
214 updateAndAddPrinter(printers, favoritePrinter, discoveredPrinters); in computeAndDeliverResult()
227 printers.add(updatedPrinter); in computeAndDeliverResult()
232 printers.addAll(discoveredPrinters.values()); in computeAndDeliverResult()
236 mPrinters.addAll(printers); in computeAndDeliverResult()
240 deliverResult(printers); in computeAndDeliverResult()
323 List<PrinterInfo> printers = mDiscoverySession.getPrinters(); in loadInternal() local
[all …]
DPrinterRegistry.java51 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()
DSelectPrinterActivity.java362 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()
DPrintActivity.java2530 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/
DPrinterDiscoverySession.java166 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()
DIPrintServiceClient.aidl64 void onPrintersAdded(in ParceledListSlice printers); in onPrintersAdded() argument
/frameworks/base/core/java/android/print/
DPrinterDiscoverySession.java278 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()
DIPrinterDiscoveryObserver.aidl29 void onPrintersAdded(in ParceledListSlice printers); in onPrintersAdded() argument
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/
DRecommendationServiceImpl.java162 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/
Dprint.proto151 // 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/
DWorkflowTest.java109 List<PrinterInfo> printers = new ArrayList<>(1); in addPrinter() local
130 printers.add(printerInfo); in addPrinter()
131 session.addPrinters(printers); in addPrinter()
/frameworks/base/core/tests/coretests/src/android/print/
DIPrintManagerParametersTest.java132 List<PrinterInfo> printers = new ArrayList<>();
157 printers.add(printer);
159 session.addPrinters(printers);
/frameworks/base/services/print/java/com/android/server/print/
DRemotePrintService.java106 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()
DUserState.java719 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/
Dmetrics_constants.proto2503 // Subtype: # of printers listed
2506 // OPEN: “Add Printers” screen for adding printers
2519 // ACTION: User selects a printer from the “All printers” screen.
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...