Lines Matching refs:mPrintService
61 private final BuiltInPrintService mPrintService; field in LocalPrintJob
77 mPrintService = printService; in LocalPrintJob()
80 mCertificateStore = mPrintService.getCertificateStore(); in LocalPrintJob()
103 mPrintService.lockWifi(); in start()
107 mDiscoveryTimeout = mPrintService.delay(DISCOVERY_TIMEOUT, () -> { in start()
110 finish(false, mPrintService.getString(R.string.printer_offline)); in start()
114 mPrintService.getDiscovery().start(this); in start()
157 if (!printer.getId(mPrintService).equals(mPrintJob.getInfo().getPrinterId())) { in onPrinterFound()
165 mConnection = new P2pPrinterConnection(mPrintService, printer, this); in onPrinterFound()
169 if (P2pUtils.isOnConnectedInterface(mPrintService, printer) && mConnection == null) { in onPrinterFound()
171 mConnection = new P2pPrinterConnection(mPrintService, printer, this); in onPrinterFound()
175 mPrintService.getDiscovery().stop(this); in onPrinterFound()
186 mPrintService.getCapabilitiesCache().request(printer, true, this); in onPrinterFound()
202 finish(false, mPrintService.getString(R.string.failed_printer_connection)); in onConnectionComplete()
218 mPrintJob.block(mPrintService.getString(R.string.connect_hint_text)); in onConnectionDelayed()
237 finish(false, mPrintService.getString(R.string.printer_offline)); in onCapabilities()
260 mPrintJob.block(mPrintService.getString(R.string.printer_not_encrypted)); in deliver()
261 mPrintService.notifyCertificateChange(mCapabilities.name, in deliver()
293 finish(false, mPrintService.getString(R.string.unreadable_input)); in handleJobStatus()
312 String blockedReason = mPrintService.getString(blockedId); in handleJobStatus()
329 mPrintJob.fail(mPrintService.getString(R.string.printer_bad_certificate)); in handleBadCertificate()
333 mPrintJob.block(mPrintService.getString(R.string.printer_bad_certificate)); in handleBadCertificate()
334 mPrintService.notifyCertificateChange(mCapabilities.name, in handleBadCertificate()
347 mPrintService.getDiscovery().stop(this); in finish()
354 mPrintService.unlockWifi(); in finish()