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.java354 List<PrintJobInfo> printJobs) { in onLoadFinished() argument
355 if (printJobs == null || printJobs.isEmpty()) { in onLoadFinished()
369 for (PrintJobInfo printJob : printJobs) { in onLoadFinished()
471 public void deliverResult(List<PrintJobInfo> printJobs) { in deliverResult() argument
473 super.deliverResult(printJobs); in deliverResult()
532 List<PrintJob> printJobs = mPrintManager.getPrintJobs(); in loadInBackground() local
533 final int printJobCount = printJobs.size(); in loadInBackground()
535 PrintJobInfo printJob = printJobs.get(i).getInfo(); in loadInBackground()
DPrintSettingPreferenceController.java102 final List<PrintJob> printJobs = mPrintManager.getPrintJobs(); in getSummary() local
105 if (printJobs != null) { in getSummary()
106 for (PrintJob job : printJobs) { in getSummary()
/packages/apps/Settings/tests/robotests/src/com/android/settings/print/
DPrintSettingsPreferenceControllerTest.java114 final List<PrintJob> printJobs = new ArrayList<>(); in updateState_hasActiveJob_shouldSetSummaryToNumberOfJobs() local
116 printJobs.add(job); in updateState_hasActiveJob_shouldSetSummaryToNumberOfJobs()
118 when(mPrintManager.getPrintJobs()).thenReturn(printJobs); in updateState_hasActiveJob_shouldSetSummaryToNumberOfJobs()