Home
last modified time | relevance | path

Searched refs:printJobs (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/
DNotificationController.java69 public void onUpdateNotifications(List<PrintJobInfo> printJobs) { in onUpdateNotifications() argument
72 final int printJobCount = printJobs.size(); in onUpdateNotifications()
74 PrintJobInfo printJob = printJobs.get(i); in onUpdateNotifications()
83 private void updateNotification(List<PrintJobInfo> printJobs) { in updateNotification() argument
84 if (printJobs.size() <= 0) { in updateNotification()
86 } else if (printJobs.size() == 1) { in updateNotification()
87 createSimpleNotification(printJobs.get(0)); in updateNotification()
89 createStackedNotification(printJobs); in updateNotification()
173 private void createStackedNotification(List<PrintJobInfo> printJobs) { in createStackedNotification() argument
180 final int printJobCount = printJobs.size(); in createStackedNotification()
[all …]
DPrintSpoolerService.java800 List<PrintJobInfo> printJobs = mPrintJobs; in doWriteStateLocked() local
802 final int printJobCount = printJobs.size(); in doWriteStateLocked()
804 PrintJobInfo printJob = printJobs.get(j); in doWriteStateLocked()
1258 List<PrintJobInfo> printJobs = null; in getPrintJobInfos() local
1260 printJobs = PrintSpoolerService.this.getPrintJobInfos( in getPrintJobInfos()
1263 callback.onGetPrintJobInfosResult(printJobs, sequence); in getPrintJobInfos()
/frameworks/base/core/java/android/printservice/
DPrintService.java298 List<PrintJob> printJobs = null; in getActivePrintJobs() local
302 printJobs = new ArrayList<PrintJob>(printJobInfoCount); in getActivePrintJobs()
304 printJobs.add(new PrintJob(printJobInfos.get(i), mClient)); in getActivePrintJobs()
307 if (printJobs != null) { in getActivePrintJobs()
308 return printJobs; in getActivePrintJobs()
/frameworks/base/services/java/com/android/server/print/
DUserState.java241 List<PrintJobInfo> printJobs = mSpooler.getPrintJobInfos(null, in getPrintJobInfos() local
243 if (printJobs != null) { in getPrintJobInfos()
244 final int printJobCount = printJobs.size(); in getPrintJobInfos()
246 PrintJobInfo printJob = printJobs.get(i); in getPrintJobInfos()
820 List<PrintJobInfo> printJobs = mSpooler.getPrintJobInfos(serviceName, in failScheduledPrintJobsForServiceInternal() local
822 if (printJobs == null) { in failScheduledPrintJobsForServiceInternal()
827 final int printJobCount = printJobs.size(); in failScheduledPrintJobsForServiceInternal()
829 PrintJobInfo printJob = printJobs.get(i); in failScheduledPrintJobsForServiceInternal()
1585 List<PrintJobInfo> printJobs = null; in getPrintJobs() local
1590 if (printJobs == null) { in getPrintJobs()
[all …]
DRemotePrintSpooler.java468 public void onGetPrintJobInfosResult(List<PrintJobInfo> printJobs, int sequence) { in GetPrintJobInfosCaller()
469 onRemoteMethodResult(printJobs, sequence); in GetPrintJobInfosCaller()
/frameworks/base/core/java/android/print/
DPrintManager.java308 List<PrintJob> printJobs = new ArrayList<PrintJob>(printJobCount); in getPrintJobs() local
310 printJobs.add(new PrintJob(printJobInfos.get(i), this)); in getPrintJobs()
312 return printJobs; in getPrintJobs()