Lines Matching refs:mPrintJob

65     private final PrintJob mPrintJob;  field in LocalPrintJob
84 mPrintJob = printJob; in LocalPrintJob()
89 mPrintJob.start(); in LocalPrintJob()
90 mPrintJob.block(printService.getString(R.string.waiting_to_send)); in LocalPrintJob()
102 if (DEBUG) Log.d(TAG, "start() " + mPrintJob); in start()
107 mPrintJob.start(); in start()
128 if (DEBUG) Log.d(TAG, "restart() " + mPrintJob + " in state " + mState); in restart()
136 if (DEBUG) Log.d(TAG, "cancel() " + mPrintJob + " in state " + mState); in cancel()
159 return mPrintJob.getId(); in getPrintJobId()
167 if (!printer.getId(mPrintService).equals(mPrintJob.getInfo().getPrinterId())) { in onPrinterFound()
213 } else if (mPrintJob.isBlocked()) { in onConnectionComplete()
214 mPrintJob.start(); in onConnectionComplete()
228 mPrintJob.block(mPrintService.getString(R.string.connect_hint_text)); in onConnectionDelayed()
231 mPrintJob.start(); in onConnectionDelayed()
236 return mPrintJob; in getPrintJob()
249 if (DEBUG) Log.d(TAG, "Starting backend print of " + mPrintJob); in onCapabilities()
270 mPrintJob.block(mPrintService.getString(R.string.printer_not_encrypted)); in deliver()
272 mPrintJob.getInfo().getPrinterId(), mCapabilities.uuid, null); in deliver()
275 mPrintJob.start(); in deliver()
276 mBackend.print(mPath, mPrintJob, mCapabilities, this::handleJobStatus); in deliver()
336 mPrintJob.block(blockedReason); in handleJobStatus()
343 mPrintJob.start(); 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()
358 mPrintJob.getInfo().getPrinterId(), mCapabilities.uuid, certificate); in handleBadCertificate()
381 mPrintJob.start(); in finish()
382 mPrintJob.complete(); in finish()
384 mPrintJob.cancel(); in finish()
386 mPrintJob.fail(error); in finish()
412 bundle.putString(BackendConstants.PARAM_JOB_ID, mPrintJob.getId().toString()); in getJobCompletedAnalyticsBundle()
431 bundle.putString(BackendConstants.PARAM_JOB_ID, mPrintJob.getId().toString()); in getJobAttemptedAnalyticsBundle()
437 mPrintJob.getInfo().getCopies() * mPrintJob.getDocument().getInfo().getPageCount()); in getJobAttemptedAnalyticsBundle()