/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/ |
D | NotificationController.java | 74 PrintJobInfo printJob = printJobs.get(i); in onUpdateNotifications() local 75 if (shouldNotifyForState(printJob.getState())) { in onUpdateNotifications() 76 notifyPrintJobs.add(printJob); in onUpdateNotifications() 93 private void createSimpleNotification(PrintJobInfo printJob) { in createSimpleNotification() argument 94 switch (printJob.getState()) { in createSimpleNotification() 96 createFailedNotification(printJob); in createSimpleNotification() 100 if (!printJob.isCancelling()) { in createSimpleNotification() 101 createBlockedNotification(printJob); in createSimpleNotification() 103 createCancellingNotification(printJob); in createSimpleNotification() 108 if (!printJob.isCancelling()) { in createSimpleNotification() [all …]
|
D | PrintSpoolerService.java | 144 PrintJobInfo printJob = mPrintJobs.get(i); in dump() local 145 pw.append(prefix).append(tab).append(printJob.toString()); in dump() 163 private void sendOnPrintJobQueued(PrintJobInfo printJob) { in sendOnPrintJobQueued() argument 165 HandlerCallerCallback.MSG_ON_PRINT_JOB_QUEUED, printJob); in sendOnPrintJobQueued() 205 PrintJobInfo printJob = (PrintJobInfo) message.obj; in executeMessage() local 208 mClient.onPrintJobQueued(printJob); in executeMessage() 243 PrintJobInfo printJob = (PrintJobInfo) message.obj; in executeMessage() local 245 mClient.onPrintJobStateChanged(printJob); in executeMessage() 261 PrintJobInfo printJob = mPrintJobs.get(i); in getPrintJobInfos() local 262 PrinterId printerId = printJob.getPrinterId(); in getPrintJobInfos() [all …]
|
/frameworks/base/services/print/java/com/android/server/print/ |
D | UserState.java | 135 public void onPrintJobQueued(PrintJobInfo printJob) { in onPrintJobQueued() argument 139 ComponentName printServiceName = printJob.getPrinterId().getServiceName(); in onPrintJobQueued() 143 service.onPrintJobQueued(printJob); in onPrintJobQueued() 147 mSpooler.setPrintJobState(printJob.getId(), PrintJobInfo.STATE_FAILED, in onPrintJobQueued() 172 final PrintJobInfo printJob = new PrintJobInfo(); in print() local 173 printJob.setId(new PrintJobId()); in print() 174 printJob.setAppId(appId); in print() 175 printJob.setLabel(printJobName); in print() 176 printJob.setAttributes(attributes); in print() 177 printJob.setState(PrintJobInfo.STATE_CREATED); in print() [all …]
|
D | RemotePrintSpooler.java | 91 public void onPrintJobQueued(PrintJobInfo printJob); in onPrintJobQueued() argument 93 public void onPrintJobStateChanged(PrintJobInfo printJob); in onPrintJobStateChanged() argument 133 public final void createPrintJob(PrintJobInfo printJob) { in createPrintJob() argument 140 getRemoteInstanceLazy().createPrintJob(printJob); in createPrintJob() 345 private void onPrintJobStateChanged(PrintJobInfo printJob) { in onPrintJobStateChanged() argument 346 mCallbacks.onPrintJobStateChanged(printJob); in onPrintJobStateChanged() 492 public void onGetPrintJobInfoResult(PrintJobInfo printJob, int sequence) { in GetPrintJobInfoCaller() 493 onRemoteMethodResult(printJob, sequence); in GetPrintJobInfoCaller() 556 public void onGetPrintJobInfoResult(PrintJobInfo printJob, int sequence) { in onGetPrintJobInfoResult() argument 585 public void onPrintJobQueued(PrintJobInfo printJob) { in onPrintJobQueued() argument [all …]
|
D | RemotePrintService.java | 188 public void onRequestCancelPrintJob(PrintJobInfo printJob) { in onRequestCancelPrintJob() argument 190 printJob).sendToTarget(); in onRequestCancelPrintJob() 193 private void handleRequestCancelPrintJob(final PrintJobInfo printJob) { in handleRequestCancelPrintJob() argument 200 handleRequestCancelPrintJob(printJob); in handleRequestCancelPrintJob() 208 mPrintService.requestCancelPrintJob(printJob); in handleRequestCancelPrintJob() 215 public void onPrintJobQueued(PrintJobInfo printJob) { in onPrintJobQueued() argument 217 printJob).sendToTarget(); in onPrintJobQueued() 220 private void handleOnPrintJobQueued(final PrintJobInfo printJob) { in handleOnPrintJobQueued() argument 228 handleOnPrintJobQueued(printJob); in handleOnPrintJobQueued() 236 mPrintService.onPrintJobQueued(printJob); in handleOnPrintJobQueued() [all …]
|
/frameworks/base/core/java/android/print/ |
D | IPrintSpoolerClient.aidl | 29 void onPrintJobQueued(in PrintJobInfo printJob); in onPrintJobQueued() argument 32 void onPrintJobStateChanged(in PrintJobInfo printJob); in onPrintJobStateChanged() argument
|
D | IPrintSpoolerCallbacks.aidl | 30 void onGetPrintJobInfosResult(in List<PrintJobInfo> printJob, int sequence); in onGetPrintJobInfosResult() argument 34 void onGetPrintJobInfoResult(in PrintJobInfo printJob, int sequence); in onGetPrintJobInfoResult() argument
|
D | PrintManager.java | 303 PrintJobInfo printJob = mService.getPrintJobInfo(printJobId, mAppId, mUserId); in getPrintJob() local 304 if (printJob != null) { in getPrintJob() 305 return new PrintJob(printJob, this); in getPrintJob() 435 PrintJobInfo printJob = result.getParcelable(EXTRA_PRINT_JOB); in print() local 437 if (printJob == null || intent == null) { in print() 442 return new PrintJob(printJob, this); in print()
|
D | IPrintSpooler.aidl | 41 void createPrintJob(in PrintJobInfo printJob); in createPrintJob() argument
|
/frameworks/base/core/java/android/printservice/ |
D | PrintService.java | 281 protected abstract void onRequestCancelPrintJob(PrintJob printJob); in onRequestCancelPrintJob() argument 292 protected abstract void onPrintJobQueued(PrintJob printJob); in onPrintJobQueued() argument
|
/frameworks/base/docs/html/training/printing/ |
D | html-docs.jd | 162 PrintJob printJob = printManager.print(jobName, printAdapter, 166 mPrintJobs.add(printJob);
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/ |
D | PrintActivity.java | 2377 public DocumentTransformer(Context context, PrintJobInfo printJob, in DocumentTransformer() argument 2381 mPrintJob = printJob; in DocumentTransformer() 2499 private static PageRange[] computePagesToShred(PrintJobInfo printJob) { in computePagesToShred() argument 2503 final int pageCount = printJob.getDocumentInfo().getPageCount(); in computePagesToShred() 2505 PageRange[] printedPages = printJob.getPages(); in computePagesToShred() 2528 final int endPageIdx = printJob.getDocumentInfo().getPageCount() - 1; in computePagesToShred()
|