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/model/
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()
181 private void createStackedNotification(List<PrintJobInfo> printJobs) { in createStackedNotification() argument
188 final int printJobCount = printJobs.size(); in createStackedNotification()
[all …]
DPrintSpoolerService.java767 List<PrintJobInfo> printJobs = mPrintJobs; in doWriteStateLocked() local
769 final int printJobCount = printJobs.size(); in doWriteStateLocked()
771 PrintJobInfo printJob = printJobs.get(j); in doWriteStateLocked()
1235 List<PrintJobInfo> printJobs = null; in getPrintJobInfos() local
1237 printJobs = PrintSpoolerService.this.getPrintJobInfos( in getPrintJobInfos()
1240 callback.onGetPrintJobInfosResult(printJobs, sequence); in getPrintJobInfos()
/frameworks/base/core/java/android/printservice/
DPrintService.java322 List<PrintJob> printJobs = null; in getActivePrintJobs() local
326 printJobs = new ArrayList<PrintJob>(printJobInfoCount); in getActivePrintJobs()
328 printJobs.add(new PrintJob(printJobInfos.get(i), mClient)); in getActivePrintJobs()
331 if (printJobs != null) { in getActivePrintJobs()
332 return printJobs; in getActivePrintJobs()
/frameworks/base/services/print/java/com/android/server/print/
DUserState.java243 List<PrintJobInfo> printJobs = mSpooler.getPrintJobInfos(null, in getPrintJobInfos() local
245 if (printJobs != null) { in getPrintJobInfos()
246 final int printJobCount = printJobs.size(); in getPrintJobInfos()
248 PrintJobInfo printJob = printJobs.get(i); in getPrintJobInfos()
867 List<PrintJobInfo> printJobs = mSpooler.getPrintJobInfos(serviceName, in failScheduledPrintJobsForServiceInternal() local
869 if (printJobs == null) { in failScheduledPrintJobsForServiceInternal()
874 final int printJobCount = printJobs.size(); in failScheduledPrintJobsForServiceInternal()
876 PrintJobInfo printJob = printJobs.get(i); in failScheduledPrintJobsForServiceInternal()
1633 List<PrintJobInfo> printJobs = null; in getPrintJobs() local
1638 if (printJobs == null) { in getPrintJobs()
[all …]
DRemotePrintSpooler.java470 public void onGetPrintJobInfosResult(List<PrintJobInfo> printJobs, int sequence) { in GetPrintJobInfosCaller()
471 onRemoteMethodResult(printJobs, sequence); in GetPrintJobInfosCaller()
/frameworks/base/core/java/android/print/
DPrintManager.java330 List<PrintJob> printJobs = new ArrayList<PrintJob>(printJobCount); in getPrintJobs() local
332 printJobs.add(new PrintJob(printJobInfos.get(i), this)); in getPrintJobs()
334 return printJobs; in getPrintJobs()