Lines Matching refs:printer
82 for (LocalPrinter printer : mPrinters.values()) { in onStartPrinterDiscovery()
83 printer.notFound(); in onStartPrinterDiscovery()
267 private boolean isHandledByOtherService(LocalPrinter printer) { in isHandledByOtherService() argument
268 InetAddress address = printer.getAddress(); in isHandledByOtherService()
273 ArrayList<String> printerServices = mPrintersOfOtherService.get(printer.getAddress()); in isHandledByOtherService()
294 for (LocalPrinter printer : mPrinters.values()) { in onPrintServicesStateUpdated()
295 boolean knownGood = mInfo.isKnownGood(printer.getPrinterId()); in onPrintServicesStateUpdated()
296 PrinterInfo info = printer.createPrinterInfo(knownGood); in onPrintServicesStateUpdated()
298 if (printer.getCapabilities() != null && printer.isFound() in onPrintServicesStateUpdated()
299 && !isHandledByOtherService(printer) && info != null) { in onPrintServicesStateUpdated()
302 printersToRemove.add(printer.getPrinterId()); in onPrintServicesStateUpdated()