Searched refs:mPrinters (Results 1 – 3 of 3) sorted by relevance
44 private final Map<Uri, DiscoveredPrinter> mPrinters = new HashMap<>(); field in Discovery58 mPrinters.values().forEach(listener::onPrinterFound); in start()104 mPrinters.clear(); in stop()122 DiscoveredPrinter current = mPrinters.get(printer.getUri()); in printerFound()127 mPrinters.put(printer.getUri(), printer); in printerFound()137 DiscoveredPrinter printer = mPrinters.remove(printerUri); in printerLost()146 for (DiscoveredPrinter printer : mPrinters.values()) { in allPrintersLost()151 mPrinters.clear(); in allPrintersLost()158 return mPrinters.values(); in getPrinters()165 return mPrinters.get(uri); in getPrinter()
64 private final Map<PrinterId, LocalPrinter> mPrinters = new HashMap<>(); field in LocalDiscoverySession101 mPrinters.values().forEach(LocalPrinter::notFound); in onStartPrinterDiscovery()136 LocalPrinter localPrinter = mPrinters.get(printerId); in onStartPrinterStateTracking()170 LocalPrinter localPrinter = mPrinters.get(printerId); in onPrinterFound()173 mPrinters.put(printerId, localPrinter); in onPrinterFound()191 LocalPrinter localPrinter = mPrinters.get(printerId); in onPrinterLost()200 if (mExpirePrinters == null && !mPrinters.isEmpty()) { in monitorExpiredPrinters()254 return mPrinters.containsKey(printerId); in isKnown()323 for (LocalPrinter printer : mPrinters.values()) { in onPrintServicesStateUpdated()393 for (LocalPrinter localPrinter : mPrinters.values()) { in run()[all …]
453 private final List<PrinterInfo> mPrinters = new ArrayList<PrinterInfo>(); field in PrintServiceSettingsFragment.PrintersAdapter465 mPrinters.clear(); in disable()469 return mPrinters.size(); in getUnfilteredCount()484 final int printerCount = mPrinters.size(); in getFilter()486 PrinterInfo printer = mPrinters.get(i); in getFilter()505 mFilteredPrinters.addAll(mPrinters); in getFilter()621 mPrinters.clear();626 mPrinters.add(printer);630 mFilteredPrinters.addAll(mPrinters);641 mPrinters.clear();[all …]