Searched refs:printerId (Results 1 – 4 of 4) sorted by relevance
117 public void onStartPrinterStateTracking(final PrinterId printerId) { in onStartPrinterStateTracking() argument118 if (DEBUG) Log.d(TAG, "onStartPrinterStateTracking() " + printerId); in onStartPrinterStateTracking()119 LocalPrinter localPrinter = mPrinters.get(printerId); in onStartPrinterStateTracking()120 mTrackingIds.add(printerId); in onStartPrinterStateTracking()130 public void onStopPrinterStateTracking(PrinterId printerId) { in onStopPrinterStateTracking() argument131 if (DEBUG) Log.d(TAG, "onStopPrinterStateTracking() " + printerId.getLocalId()); in onStopPrinterStateTracking()132 LocalPrinter localPrinter = mPrinters.get(printerId); in onStopPrinterStateTracking()136 mTrackingIds.remove(printerId); in onStopPrinterStateTracking()156 PrinterId printerId = discoveredPrinter.getId(mPrintService); in onPrinterFound() local157 LocalPrinter localPrinter = mPrinters.computeIfAbsent(printerId, in onPrinterFound()[all …]
40 void cancel(PrinterId printerId) { in cancel() argument42 if (printerId.equals(job.getPrintJob().getInfo().getPrinterId())) { in cancel()47 if (mCurrent != null && printerId.equals(mCurrent.getPrintJob().getInfo().getPrinterId())) { in cancel()53 void restart(PrinterId printerId) { in restart() argument54 if (mCurrent != null && printerId.equals(mCurrent.getPrintJob().getInfo().getPrinterId())) { in restart()
127 boolean isKnownGood(PrinterId printerId) { in isKnownGood() argument128 return mKnownGood.contains(printerId); in isKnownGood()131 void setKnownGood(PrinterId printerId) { in setKnownGood() argument132 mKnownGood.remove(printerId); in setKnownGood()133 mKnownGood.add(0, printerId); in setKnownGood()
305 void notifyCertificateChange(String printerName, PrinterId printerId, String printerUuid, in notifyCertificateChange() argument316 .putExtra(EXTRA_PRINTER_ID, printerId); in notifyCertificateChange()329 .putExtra(EXTRA_PRINTER_ID, printerId); in notifyCertificateChange()362 PrinterId printerId = intent.getParcelableExtra(EXTRA_PRINTER_ID); in onStartCommand() local370 mJobQueue.restart(printerId); in onStartCommand()374 PrinterId printerId = intent.getParcelableExtra(EXTRA_PRINTER_ID); in onStartCommand() local375 mJobQueue.cancel(printerId); in onStartCommand()