Lines Matching refs:mPrintService
64 private final BuiltInPrintService mPrintService; field in LocalPrintJob
82 mPrintService = printService; in LocalPrintJob()
85 mCertificateStore = mPrintService.getCertificateStore(); in LocalPrintJob()
110 mPrintService.lockWifi(); in start()
114 mDiscoveryTimeout = mPrintService.delay(DISCOVERY_TIMEOUT, () -> { in start()
117 finish(false, mPrintService.getString(R.string.printer_offline)); in start()
121 mPrintService.getDiscovery().start(this); in start()
167 if (!printer.getId(mPrintService).equals(mPrintJob.getInfo().getPrinterId())) { in onPrinterFound()
175 mConnection = new P2pPrinterConnection(mPrintService, printer, this); in onPrinterFound()
179 if (P2pUtils.isOnConnectedInterface(mPrintService, printer) && mConnection == null) { in onPrinterFound()
181 mConnection = new P2pPrinterConnection(mPrintService, printer, this); in onPrinterFound()
185 mPrintService.getDiscovery().stop(this); in onPrinterFound()
196 mPrintService.getCapabilitiesCache().request(printer, true, this); in onPrinterFound()
212 finish(false, mPrintService.getString(R.string.failed_printer_connection)); in onConnectionComplete()
228 mPrintJob.block(mPrintService.getString(R.string.connect_hint_text)); in onConnectionDelayed()
247 finish(false, mPrintService.getString(R.string.printer_offline)); in onCapabilities()
270 mPrintJob.block(mPrintService.getString(R.string.printer_not_encrypted)); in deliver()
271 mPrintService.notifyCertificateChange(mCapabilities.name, in deliver()
310 finish(false, mPrintService.getString(R.string.unreadable_input)); in handleJobStatus()
335 String blockedReason = mPrintService.getString(blockedId); in handleJobStatus()
352 mPrintJob.fail(mPrintService.getString(R.string.printer_bad_certificate)); in handleBadCertificate()
356 mPrintJob.block(mPrintService.getString(R.string.printer_bad_certificate)); in handleBadCertificate()
357 mPrintService.notifyCertificateChange(mCapabilities.name, in handleBadCertificate()
370 mPrintService.getDiscovery().stop(this); in finish()
377 mPrintService.unlockWifi(); in finish()