/external/tcpdump/ |
print.c | 46 static const struct printer printers[] = { variable in typeref:struct:printer 255 for (p = printers; p->f; ++p) 277 for (p = printers; p->f; ++p) 325 * Some printers want to check that they're not walking off the
|
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/ |
RecommendationServiceImpl.java | 162 List<InetAddress> printers = plugin.getPrinters(); local 164 if (!printers.isEmpty()) { 166 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 | 91 ArrayList<PrinterInfo> printers = new ArrayList<>(1); local 92 printers.add(printer.build()); 94 session.addPrinters(printers); 169 // Create the session of the printers that we will be checking.
|
PageRangeAdjustAndVerify.java | 377 List<PrinterInfo> printers = new ArrayList<>(); local 393 printers.add(firstPrinter); 395 session.addPrinters(printers);
|
PageRangeAdjustmentTest.java | 514 List<PrinterInfo> printers = new ArrayList<>(); local 531 printers.add(firstPrinter); 533 session.addPrinters(printers);
|
PrintJobStateTransitionsTest.java | 102 ArrayList<PrinterInfo> printers = new ArrayList<>(1); local 103 printers.add(printer.build()); 105 sDiscoverySession.addPrinters(printers); 317 // Create the session of the printers that we will be checking.
|
PrintJobTest.java | 100 ArrayList<PrinterInfo> printers = new ArrayList<>(1); local 101 printers.add(printer.build()); 103 sDiscoverySession.addPrinters(printers); 154 // Create the session of the printers that we will be checking. 308 // Create the session of the printers that we will be checking.
|
PrintServicesTest.java | 103 List<PrinterInfo> printers = new ArrayList<>(); local 131 printers.add(sPrinter); 133 session.addPrinters(printers); 355 ArrayList<PrinterInfo> printers = new ArrayList<>(1); 356 printers.add(printer); 357 sessionCallbacks.getSession().addPrinters(printers); 610 selectPrinter("All printers?");
|
PrinterInfoTest.java | 64 * Create a mock {@link PrinterDiscoverySessionCallbacks} that discovers a printers with all 65 * possible combinations of interesting printers. 127 List<PrinterInfo> printers = new ArrayList<>(); local 151 + printers 266 // Don't create bad printers 282 printers.add(printer); 292 sDiscoverySession.addPrinters(printers); 321 // Create the session of the printers that we will be checking.
|
PrintAttributesTest.java | 155 List<PrinterInfo> printers = new ArrayList<>(); local 197 printers.add(printer); 199 session.addPrinters(printers);
|
PrintDocumentInfoTest.java | 276 List<PrinterInfo> printers = new ArrayList<>(); local 293 printers.add(firstPrinter); 295 session.addPrinters(printers);
|
PrintDocumentAdapterContractTest.java | 145 // there are other printers but none of them was used. 217 // there are other printers but none of them was used. 476 // there are other printers but none of them was used. 738 // there are other printers but none of them was used. 1961 List<PrinterInfo> printers = new ArrayList<>(); local [all...] |
PrinterDiscoverySessionLifecycleTest.java | 127 * Select a printer in the all printers activity 176 selectPrinter("All printers?"); 177 // Let all printers activity start 225 selectPrinter("All printers?"); 226 // Let all printers activity start 293 // ids of printers as we want to make some assertions about them 388 // ids of printers as we want to make some assertions about them 610 ArrayList<PrinterInfo> printers = new ArrayList<>(); local 611 printers.add(printer1); 612 runOnMainThread(() -> session[0].addPrinters(printers)); 715 List<PrinterInfo> printers = new ArrayList<>(); external variable declarations 717 session.addPrinters(printers); external variable declarations [all...] |
/packages/services/BuiltInPrintService/src/com/android/bips/discovery/ |
SavedDiscovery.java | 46 private static final List<String> PRINTER_LIST_NAMES = Arrays.asList("printers", 103 * Return a non-modifiable list of saved printers 114 List<DiscoveredPrinter> printers = new ArrayList<>(); local 116 return printers; 126 printers.add(new DiscoveredPrinter(reader)); 135 if (DEBUG) Log.d(TAG, "Loaded size=" + printers.size() + " from " + mCacheFile); 136 return printers;
|
Discovery.java | 59 * printers it finds. 64 // If printers are already present, signal them to the listener 78 * Remove a listener so that it no longer receives notifications of found printers. 133 * Start searching for printers 138 * Stop searching for printers, freeing any search-related resources 170 /** Signal loss of all printers */ 178 * Return the working collection of currently-found printers 200 * Return a collection of saved printers. Subclasses supporting saved printers should override 204 List<DiscoveredPrinter> 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 | 362 List<PrinterInfo> printers = adapter.getPrinters(); local 371 PrinterInfo printer = printers.get(i); 503 * Get the currently known printers. 505 * @return The currently known printers 514 public void onPrintersChanged(List<PrinterInfo> printers) { 517 mPrinters.addAll(printers); 519 mFilteredPrinters.addAll(printers); 577 List<PrinterInfo> printers = (List<PrinterInfo>) results.values; local 578 mFilteredPrinters.addAll(printers); 622 // 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 | 103 List<PrinterInfo> printers = new ArrayList<>(1); local 124 printers.add(printerInfo); 125 session.addPrinters(printers); 305 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...] |
/external/strace/ |
syscall.c | 189 const struct_printers *printers = &printers0; variable 275 printers = &printers0; 285 printers = &printers1; 296 printers = &printers2;
|
/packages/experimental/PrintService/src/foo/bar/printservice/ |
MyPrintService.java | 511 List<PrinterInfo> printers = mFakePrinters.subList(0, mFakePrinters.size()); local 512 addPrinters(printers);
|
/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...] |