Searched refs:mPrinters (Results 1 – 4 of 4) sorted by relevance
48 private final Map<Uri, DiscoveredPrinter> mPrinters = new HashMap<>(); field in Discovery65 if (!mPrinters.isEmpty()) { in start()69 for (DiscoveredPrinter printer : new ArrayList<>(mPrinters.values())) { in start()127 mPrinters.clear(); in stop()146 DiscoveredPrinter current = mPrinters.get(printer.getUri()); in printerFound()151 mPrinters.put(printer.getUri(), printer); in printerFound()161 DiscoveredPrinter printer = mPrinters.remove(printerUri); in printerLost()172 for (Uri uri: new ArrayList<>(mPrinters.keySet())) { in allPrintersLost()181 return mPrinters.values(); in getPrinters()188 return mPrinters.get(uri); in getPrinter()
52 private final Map<PrinterId, LocalPrinter> mPrinters = new HashMap<>(); field in LocalDiscoverySession82 for (LocalPrinter printer : mPrinters.values()) { in onStartPrinterDiscovery()119 LocalPrinter localPrinter = mPrinters.get(printerId); in onStartPrinterStateTracking()132 LocalPrinter localPrinter = mPrinters.get(printerId); in onStopPrinterStateTracking()157 LocalPrinter localPrinter = mPrinters.computeIfAbsent(printerId, in onPrinterFound()176 LocalPrinter localPrinter = mPrinters.get(printerId); in onPrinterLost()187 if (mExpirePrinters == null && !mPrinters.isEmpty()) { in monitorExpiredPrinters()193 for (LocalPrinter localPrinter : mPrinters.values()) { in monitorExpiredPrinters()203 mPrinters.remove(id); in monitorExpiredPrinters()257 return mPrinters.containsKey(printerId); in isKnown()[all …]
419 private final List<PrinterInfo> mPrinters = new ArrayList<PrinterInfo>(); field in PrintServiceSettingsFragment.PrintersAdapter431 mPrinters.clear(); in disable()435 return mPrinters.size(); in getUnfilteredCount()450 final int printerCount = mPrinters.size(); in getFilter()452 PrinterInfo printer = mPrinters.get(i); in getFilter()471 mFilteredPrinters.addAll(mPrinters); in getFilter()601 mPrinters.clear();606 mPrinters.add(printer);610 mFilteredPrinters.addAll(mPrinters);621 mPrinters.clear();[all …]