/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/ |
D | NotificationController.java | 96 PrintJobInfo printJob = printJobs.get(i); in onUpdateNotifications() local 97 if (shouldNotifyForState(printJob.getState())) { in onUpdateNotifications() 98 notifyPrintJobs.add(printJob); in onUpdateNotifications() 117 PrintJobInfo printJob = printJobs.get(i); in updateNotifications() local 118 PrintJobId printJobId = printJob.getId(); in updateNotifications() 123 createSimpleNotification(printJob); in updateNotifications() 136 private void createSimpleNotification(PrintJobInfo printJob) { in createSimpleNotification() argument 137 switch (printJob.getState()) { in createSimpleNotification() 139 createFailedNotification(printJob); in createSimpleNotification() 143 if (!printJob.isCancelling()) { in createSimpleNotification() [all …]
|
D | PrintSpoolerService.java | 237 private void sendOnPrintJobQueued(PrintJobInfo printJob) { in sendOnPrintJobQueued() argument 239 PrintSpoolerService::onPrintJobQueued, this, printJob); in sendOnPrintJobQueued() 256 private void onPrintJobStateChanged(PrintJobInfo printJob) { in onPrintJobStateChanged() argument 259 mClient.onPrintJobStateChanged(printJob); in onPrintJobStateChanged() 287 private void onPrintJobQueued(PrintJobInfo printJob) { in onPrintJobQueued() argument 290 mClient.onPrintJobQueued(printJob); in onPrintJobQueued() 315 PrintJobInfo printJob = mPrintJobs.get(i); in getPrintJobInfos() local 316 PrinterId printerId = printJob.getPrinterId(); in getPrintJobInfos() 321 || printJob.getAppId() == appId; in getPrintJobInfos() 322 final boolean sameState = (state == printJob.getState()) in getPrintJobInfos() [all …]
|
/frameworks/base/services/print/java/com/android/server/print/ |
D | UserState.java | 187 public void onPrintJobQueued(PrintJobInfo printJob) { in onPrintJobQueued() argument 191 ComponentName printServiceName = printJob.getPrinterId().getServiceName(); in onPrintJobQueued() 195 service.onPrintJobQueued(printJob); in onPrintJobQueued() 199 mSpooler.setPrintJobState(printJob.getId(), PrintJobInfo.STATE_FAILED, in onPrintJobQueued() 224 final PrintJobInfo printJob = new PrintJobInfo(); in print() local 225 printJob.setId(new PrintJobId()); in print() 226 printJob.setAppId(appId); in print() 227 printJob.setLabel(printJobName); in print() 228 printJob.setAttributes(attributes); in print() 229 printJob.setState(PrintJobInfo.STATE_CREATED); in print() [all …]
|
D | RemotePrintSpooler.java | 121 public void onPrintJobQueued(PrintJobInfo printJob); in onPrintJobQueued() argument 123 public void onPrintJobStateChanged(PrintJobInfo printJob); in onPrintJobStateChanged() argument 186 public final void createPrintJob(PrintJobInfo printJob) { in createPrintJob() argument 193 getRemoteInstanceLazy().createPrintJob(printJob); in createPrintJob() 585 private void onPrintJobStateChanged(PrintJobInfo printJob) { in onPrintJobStateChanged() argument 586 mCallbacks.onPrintJobStateChanged(printJob); in onPrintJobStateChanged() 749 public void onGetPrintJobInfoResult(PrintJobInfo printJob, int sequence) { in GetPrintJobInfoCaller() 750 onRemoteMethodResult(printJob, sequence); in GetPrintJobInfoCaller() 876 public void onGetPrintJobInfoResult(PrintJobInfo printJob, int sequence) { in onGetPrintJobInfoResult() argument 920 public void onPrintJobQueued(PrintJobInfo printJob) { in onPrintJobQueued() argument [all …]
|
D | RemotePrintService.java | 210 public void onRequestCancelPrintJob(PrintJobInfo printJob) { in onRequestCancelPrintJob() argument 212 RemotePrintService::handleRequestCancelPrintJob, this, printJob)); in onRequestCancelPrintJob() 215 private void handleRequestCancelPrintJob(final PrintJobInfo printJob) { in handleRequestCancelPrintJob() argument 221 handleRequestCancelPrintJob(printJob); in handleRequestCancelPrintJob() 229 mPrintService.requestCancelPrintJob(printJob); in handleRequestCancelPrintJob() 236 public void onPrintJobQueued(PrintJobInfo printJob) { in onPrintJobQueued() argument 238 RemotePrintService::handleOnPrintJobQueued, this, printJob)); in onPrintJobQueued() 241 private void handleOnPrintJobQueued(final PrintJobInfo printJob) { in handleOnPrintJobQueued() argument 248 handleOnPrintJobQueued(printJob); in handleOnPrintJobQueued() 256 mPrintService.onPrintJobQueued(printJob); in handleOnPrintJobQueued()
|
/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 | 32 void onGetPrintJobInfosResult(in List<PrintJobInfo> printJob, int sequence); in onGetPrintJobInfosResult() argument 36 void onGetPrintJobInfoResult(in PrintJobInfo printJob, int sequence); in onGetPrintJobInfoResult() argument
|
D | PrintManager.java | 378 PrintJobInfo printJob = mService.getPrintJobInfo(printJobId, mAppId, mUserId); in getPrintJob() local 379 if (printJob != null) { in getPrintJob() 380 return new PrintJob(printJob, this); in getPrintJob() 532 PrintJobInfo printJob = result.getParcelable(EXTRA_PRINT_JOB); in print() local 534 if (printJob == null || intent == null) { in print() 539 return new PrintJob(printJob, this); in print()
|
D | IPrintSpooler.aidl | 43 void createPrintJob(in PrintJobInfo printJob); in createPrintJob() argument
|
/frameworks/base/core/java/android/printservice/ |
D | PrintService.java | 320 protected abstract void onRequestCancelPrintJob(PrintJob printJob); in onRequestCancelPrintJob() argument 331 protected abstract void onPrintJobQueued(PrintJob printJob); in onPrintJobQueued() argument
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/ |
D | PrintActivity.java | 3127 public DocumentTransformer(Context context, PrintJobInfo printJob, in DocumentTransformer() argument 3131 mPrintJob = printJob; in DocumentTransformer() 3265 private static PageRange[] computePagesToShred(PrintJobInfo printJob) { in computePagesToShred() argument 3269 PageRange[] printedPages = printJob.getPages(); in computePagesToShred()
|