Searched refs:printJobInfo (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/core/java/com/android/internal/print/ |
D | DumpUtils.java | 284 @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/ |
D | PrintService.java | 441 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));
|
D | IPrintService.aidl | 30 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/ |
D | UserState.java | 340 PrintJobInfo printJobInfo = mSpooler.getPrintJobInfo(printJobId, appId); in cancelPrintJob() local 341 if (printJobInfo == null) { in cancelPrintJob() 348 if (printJobInfo.getState() != PrintJobInfo.STATE_FAILED) { in cancelPrintJob() 349 PrinterId printerId = printJobInfo.getPrinterId(); in cancelPrintJob() 360 printService.onRequestCancelPrintJob(printJobInfo); in cancelPrintJob() 370 PrintJobInfo printJobInfo = getPrintJobInfo(printJobId, appId); in restartPrintJob() local 371 if (printJobInfo == null || printJobInfo.getState() != PrintJobInfo.STATE_FAILED) { in restartPrintJob()
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/ |
D | PrintActivity.java | 851 PrintJobInfo printJobInfo = data.getParcelableExtra(PrintService.EXTRA_PRINT_JOB_INFO); in onAdvancedPrintOptionsActivityResult() local 853 if (printJobInfo == null) { in onAdvancedPrintOptionsActivityResult() 858 mPrintJob.setAdvancedOptions(printJobInfo.getAdvancedOptions()); in onAdvancedPrintOptionsActivityResult() 860 if (printJobInfo.getCopies() < 1) { in onAdvancedPrintOptionsActivityResult() 862 "must be 1 or more. Actual value is: " + printJobInfo.getCopies() + ". " + in onAdvancedPrintOptionsActivityResult() 865 mCopiesEditText.setText(String.valueOf(printJobInfo.getCopies())); in onAdvancedPrintOptionsActivityResult() 866 mPrintJob.setCopies(printJobInfo.getCopies()); in onAdvancedPrintOptionsActivityResult() 870 PrintAttributes newAttributes = printJobInfo.getAttributes(); in onAdvancedPrintOptionsActivityResult() 951 PageRange[] pageRanges = printJobInfo.getPages(); in onAdvancedPrintOptionsActivityResult()
|