Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/print/
DPrintSettingsFragment.java300 List<PrintJobInfo> printJobs) { in onLoadFinished() argument
301 if (printJobs == null || printJobs.isEmpty()) { in onLoadFinished()
315 for (PrintJobInfo printJob : printJobs) { in onLoadFinished()
417 public void deliverResult(List<PrintJobInfo> printJobs) { in deliverResult() argument
419 super.deliverResult(printJobs); in deliverResult()
478 List<PrintJob> printJobs = mPrintManager.getPrintJobs(); in loadInBackground() local
479 final int printJobCount = printJobs.size(); in loadInBackground()
481 PrintJobInfo printJob = printJobs.get(i).getInfo(); in loadInBackground()
DPrintSettingPreferenceController.java101 final List<PrintJob> printJobs = mPrintManager.getPrintJobs(); in getSummary() local
104 if (printJobs != null) { in getSummary()
105 for (PrintJob job : printJobs) { in getSummary()
/packages/apps/Settings/tests/robotests/src/com/android/settings/print/
DPrintSettingsPreferenceControllerTest.java113 final List<PrintJob> printJobs = new ArrayList<>(); in updateState_hasActiveJob_shouldSetSummaryToNumberOfJobs() local
115 printJobs.add(job); in updateState_hasActiveJob_shouldSetSummaryToNumberOfJobs()
117 when(mPrintManager.getPrintJobs()).thenReturn(printJobs); in updateState_hasActiveJob_shouldSetSummaryToNumberOfJobs()