Home
last modified time | relevance | path

Searched refs:printJobInfo (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/java/com/android/internal/print/
DDumpUtils.java284 @NonNull PrintJobInfo printJobInfo) { in writePrintJobInfo() argument
286 proto.write("label", PrintJobInfoProto.LABEL, printJobInfo.getLabel()); in writePrintJobInfo()
288 PrintJobId printJobId = printJobInfo.getId(); in writePrintJobInfo()
294 int state = printJobInfo.getState(); in writePrintJobInfo()
301 PrinterId printer = printJobInfo.getPrinterId(); in writePrintJobInfo()
306 String tag = printJobInfo.getTag(); in writePrintJobInfo()
312 printJobInfo.getCreationTime()); in writePrintJobInfo()
314 PrintAttributes attributes = printJobInfo.getAttributes(); in writePrintJobInfo()
320 PrintDocumentInfo docInfo = printJobInfo.getDocumentInfo(); in writePrintJobInfo()
326 proto.write("is_canceling", PrintJobInfoProto.IS_CANCELING, printJobInfo.isCancelling()); in writePrintJobInfo()
[all …]
/frameworks/base/core/java/android/printservice/
DPrintService.java441 public void requestCancelPrintJob(PrintJobInfo printJobInfo) { in onBind() argument
443 printJobInfo).sendToTarget(); in onBind()
447 public void onPrintJobQueued(PrintJobInfo printJobInfo) { in onBind() argument
449 printJobInfo).sendToTarget(); in onBind()
574 PrintJobInfo printJobInfo = (PrintJobInfo) message.obj;
575 onRequestCancelPrintJob(new PrintJob(PrintService.this, printJobInfo, mClient));
583 PrintJobInfo printJobInfo = (PrintJobInfo) message.obj;
585 Log.i(LOG_TAG, "Queued: " + printJobInfo);
587 onPrintJobQueued(new PrintJob(PrintService.this, printJobInfo, mClient));
DIPrintService.aidl30 void requestCancelPrintJob(in PrintJobInfo printJobInfo); in requestCancelPrintJob() argument
31 void onPrintJobQueued(in PrintJobInfo printJobInfo); in onPrintJobQueued() argument
/frameworks/base/services/print/java/com/android/server/print/
DUserState.java341 PrintJobInfo printJobInfo = mSpooler.getPrintJobInfo(printJobId, appId); in cancelPrintJob() local
342 if (printJobInfo == null) { in cancelPrintJob()
349 if (printJobInfo.getState() != PrintJobInfo.STATE_FAILED) { in cancelPrintJob()
350 PrinterId printerId = printJobInfo.getPrinterId(); in cancelPrintJob()
361 printService.onRequestCancelPrintJob(printJobInfo); in cancelPrintJob()
371 PrintJobInfo printJobInfo = getPrintJobInfo(printJobId, appId); in restartPrintJob() local
372 if (printJobInfo == null || printJobInfo.getState() != PrintJobInfo.STATE_FAILED) { in restartPrintJob()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DPrintActivity.java850 PrintJobInfo printJobInfo = data.getParcelableExtra(PrintService.EXTRA_PRINT_JOB_INFO); in onAdvancedPrintOptionsActivityResult() local
852 if (printJobInfo == null) { in onAdvancedPrintOptionsActivityResult()
857 mPrintJob.setAdvancedOptions(printJobInfo.getAdvancedOptions()); in onAdvancedPrintOptionsActivityResult()
859 if (printJobInfo.getCopies() < 1) { in onAdvancedPrintOptionsActivityResult()
861 "must be 1 or more. Actual value is: " + printJobInfo.getCopies() + ". " + in onAdvancedPrintOptionsActivityResult()
864 mCopiesEditText.setText(String.valueOf(printJobInfo.getCopies())); in onAdvancedPrintOptionsActivityResult()
865 mPrintJob.setCopies(printJobInfo.getCopies()); in onAdvancedPrintOptionsActivityResult()
869 PrintAttributes newAttributes = printJobInfo.getAttributes(); in onAdvancedPrintOptionsActivityResult()
950 PageRange[] pageRanges = printJobInfo.getPages(); in onAdvancedPrintOptionsActivityResult()