HomeSort by relevance Sort by last modified time
    Searched defs:printers (Results 1 - 25 of 34) sorted by null

1 2

  /frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/
RecommendationServiceImpl.java 145 List<InetAddress> printers = plugin.getPrinters(); local
147 if (!printers.isEmpty()) {
149 getString(plugin.name), printers, plugin.recommendsMultiVendorService));
  /cts/tests/tests/print/src/android/print/cts/
PrinterCapabilitiesChangeTest.java 77 * Generate a new list of printers containing a singer printer with the given media size and
84 * @return The list of printers
88 List<PrinterInfo> printers = new ArrayList<>(1); local
107 printers.add(new PrinterInfo.Builder(printerId, PRINTER_NAME, status).setCapabilities(cap)
110 return printers;
InterfaceForAppsTest.java 83 ArrayList<PrinterInfo> printers = new ArrayList<>(1); local
84 printers.add(printer.build());
86 session.addPrinters(printers);
161 // Create the session of the printers that we will be checking.
PageRangeAdjustAndVerify.java 376 List<PrinterInfo> printers = new ArrayList<>(); local
392 printers.add(firstPrinter);
394 session.addPrinters(printers);
PageRangeAdjustmentTest.java 512 List<PrinterInfo> printers = new ArrayList<>(); local
529 printers.add(firstPrinter);
531 session.addPrinters(printers);
PrintJobStateTransitionsTest.java 98 ArrayList<PrinterInfo> printers = new ArrayList<>(1); local
99 printers.add(printer.build());
101 sDiscoverySession.addPrinters(printers);
313 // Create the session of the printers that we will be checking.
PrintJobTest.java 92 ArrayList<PrinterInfo> printers = new ArrayList<>(1); local
93 printers.add(printer.build());
95 sDiscoverySession.addPrinters(printers);
146 // Create the session of the printers that we will be checking.
299 // Create the session of the printers that we will be checking.
PrintServicesTest.java 94 List<PrinterInfo> printers = new ArrayList<>(); local
122 printers.add(sPrinter);
124 session.addPrinters(printers);
346 ArrayList<PrinterInfo> printers = new ArrayList<>(1);
347 printers.add(printer);
348 sessionCallbacks.getSession().addPrinters(printers);
601 selectPrinter("All printers?");
PrinterInfoTest.java 62 * Create a mock {@link PrinterDiscoverySessionCallbacks} that discovers a printers with all
63 * possible combinations of interesting printers.
125 List<PrinterInfo> printers = new ArrayList<>(); local
149 + printers
264 // Don't create bad printers
280 printers.add(printer);
290 sDiscoverySession.addPrinters(printers);
319 // Create the session of the printers that we will be checking.
PrintAttributesTest.java 154 List<PrinterInfo> printers = new ArrayList<>(); local
196 printers.add(printer);
198 session.addPrinters(printers);
PrintDocumentInfoTest.java 273 List<PrinterInfo> printers = new ArrayList<>(); local
290 printers.add(firstPrinter);
292 session.addPrinters(printers);
PrinterDiscoverySessionLifecycleTest.java 121 // ids of printers as we want to make some assertions about them
216 // ids of printers as we want to make some assertions about them
438 ArrayList<PrinterInfo> printers = new ArrayList<>(); local
439 printers.add(printer1);
440 runOnMainThread(() -> session[0].addPrinters(printers));
443 printers.add(printer2);
444 printers.add(printer3);
445 runOnMainThread(() -> session[0].addPrinters(printers));
495 List<PrinterInfo> printers = new ArrayList<>(); local
503 printers.add(firstPrinter)
561 List<PrinterInfo> printers = new ArrayList<>(); external variable declarations
563 session.addPrinters(printers); external variable declarations
    [all...]
PrintDocumentAdapterContractTest.java 143 // there are other printers but none of them was used.
215 // there are other printers but none of them was used.
474 // there are other printers but none of them was used.
736 // there are other printers but none of them was used.
1959 List<PrinterInfo> printers = new ArrayList<>(); local
    [all...]
  /frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
PrinterRegistry.java 51 public void onPrintersChanged(List<PrinterInfo> printers);
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; local
172 mOnPrintersChangeListener.onPrintersChanged(printers);
FusedPrintersProvider.java 76 * This class is responsible for loading printers by doing discovery
77 * and merging the discovered printers with the previously used ones.
120 /** Location used when the printers were updated the last time */
150 * @param dest The list the printers should be added to
165 * Compute the printers, order them appropriately and deliver the printers to the clients. We
166 * prefer printers that have been previously used (favorites) and printers that have been used
167 * previously close to the current location (near printers).
169 * @param discoveredPrinters All printers currently discovered by the print discovery session
175 List<PrinterInfo> printers = new ArrayList<>(); local
329 List<PrinterInfo> printers = mDiscoverySession.getPrinters(); local
766 public final List<Pair<PrinterInfo, Location>> printers; field in class:FusedPrintersProvider.PersistenceManager.PrinterRecord
859 List<Pair<PrinterInfo, Location>> printers = new ArrayList<>(); local
    [all...]
SelectPrinterActivity.java 357 List<PrinterInfo> printers = adapter.getPrinters(); local
366 PrinterInfo printer = printers.get(i);
498 * Get the currently known printers.
500 * @return The currently known printers
509 public void onPrintersChanged(List<PrinterInfo> printers) {
512 mPrinters.addAll(printers);
514 mFilteredPrinters.addAll(printers);
572 List<PrinterInfo> printers = (List<PrinterInfo>) results.values; local
573 mFilteredPrinters.addAll(printers);
617 // Use separate view types for the "add printer" item an the items referring to printers
    [all...]
  /frameworks/base/packages/PrintSpooler/tests/outofprocess/src/com/android/printspooler/outofprocess/tests/
WorkflowTest.java 176 List<PrinterInfo> printers = new ArrayList<>(1); local
197 printers.add(printerInfo);
198 session.addPrinters(printers);
378 setPrinter("All printers\u2026");
  /frameworks/base/core/java/android/print/
PrinterDiscoverySession.java 79 Log.w(LOG_TAG, "Ignoring start printers discovery - session destroyed");
94 Log.w(LOG_TAG, "Ignoring stop printers discovery - session destroyed");
133 Log.w(LOG_TAG, "Ignoring validate printers - session destroyed");
139 Log.e(LOG_TAG, "Error validating printers", re);
152 Log.w(LOG_TAG, "Ignoring get printers - session destroyed");
203 // No old printers - do not bother keeping their position.
214 // Add the printers to a map.
223 // Update printers we already have.
231 // Add the new printers, i.e. what is left.
278 List<PrinterInfo> printers = (List<PrinterInfo>) message.obj local
    [all...]
  /packages/experimental/PrintService/src/foo/bar/printservice/
MyPrintService.java 511 List<PrinterInfo> printers = mFakePrinters.subList(0, mFakePrinters.size()); local
512 addPrinters(printers);
  /external/strace/
syscall.c 219 const struct_printers *printers = &printers0; variable
285 printers = &printers0;
295 printers = &printers1;
306 printers = &printers2;
  /external/tcpdump/
tcpdump.c 207 static const struct printer printers[] = { variable in typeref:struct:printer
407 for (p = printers; p->f; ++p)
    [all...]
  /packages/apps/Settings/src/com/android/settings/print/
PrintServiceSettingsFragment.java 507 List<PrinterInfo> printers = (List<PrinterInfo>) results.values; local
508 mFilteredPrinters.addAll(printers);
619 List<PrinterInfo> printers) {
622 final int printerCount = printers.size();
624 PrinterInfo printer = printers.get(i);
665 public void deliverResult(List<PrinterInfo> printers) {
667 super.deliverResult(printers);
  /external/protobuf/java/util/src/main/java/com/google/protobuf/util/
JsonFormat.java 472 Map<String, WellKnownTypePrinter> printers = local
475 printers.put(Any.getDescriptor().getFullName(),
492 printers.put(BoolValue.getDescriptor().getFullName(), wrappersPrinter);
493 printers.put(Int32Value.getDescriptor().getFullName(), wrappersPrinter);
494 printers.put(UInt32Value.getDescriptor().getFullName(), wrappersPrinter);
495 printers.put(Int64Value.getDescriptor().getFullName(), wrappersPrinter);
496 printers.put(UInt64Value.getDescriptor().getFullName(), wrappersPrinter);
497 printers.put(StringValue.getDescriptor().getFullName(), wrappersPrinter);
498 printers.put(BytesValue.getDescriptor().getFullName(), wrappersPrinter);
499 printers.put(FloatValue.getDescriptor().getFullName(), wrappersPrinter)
    [all...]
  /frameworks/base/services/print/java/com/android/server/print/
UserState.java 711 public void onPrintersAdded(List<PrinterInfo> printers) {
722 mPrinterDiscoverySession.onPrintersAddedLocked(printers);
1290 List<PrinterInfo> printers = new ArrayList<PrinterInfo>(mPrinters.values()); local
    [all...]
  /prebuilts/tools/common/m2/repository/com/google/protobuf/protobuf-java-util/3.0.0/
protobuf-java-util-3.0.0.jar 

Completed in 461 milliseconds

1 2