Home
last modified time | relevance | path

Searched refs:printers (Results 1 – 13 of 13) sorted by relevance

/cts/tests/tests/print/src/android/print/cts/
DPrinterCapabilitiesTest.java202 ArrayList<PrinterInfo> printers = new ArrayList<>(); in sanePrinterCapabilityInfos()
212 .generatePrinterId(Integer.valueOf(printers.size()) in sanePrinterCapabilityInfos()
245 Integer.valueOf(printers.size()).toString(), in sanePrinterCapabilityInfos()
277 printers.add(printer); in sanePrinterCapabilityInfos()
283 session.addPrinters(printers); in sanePrinterCapabilityInfos()
329 ArrayList<PrinterInfo> printers = new ArrayList<>(); in testPrinterCapabilityInfo()
330 printers.add((new PrinterInfo.Builder(printerId, PRINTER_NAME, in testPrinterCapabilityInfo()
334 session.addPrinters(printers); in testPrinterCapabilityInfo()
DPrinterDiscoverySessionLifecycleTest.java610 ArrayList<PrinterInfo> printers = new ArrayList<>(); in addRemovePrinters() local
611 printers.add(printer1); in addRemovePrinters()
612 runOnMainThread(() -> session[0].addPrinters(printers)); in addRemovePrinters()
615 printers.add(printer2); in addRemovePrinters()
616 printers.add(printer3); in addRemovePrinters()
617 runOnMainThread(() -> session[0].addPrinters(printers)); in addRemovePrinters()
715 List<PrinterInfo> printers = new ArrayList<>(); in createFirstMockPrinterDiscoverySessionCallbacks()
716 printers.add(updatedPrinter); in createFirstMockPrinterDiscoverySessionCallbacks()
717 session.addPrinters(printers); in createFirstMockPrinterDiscoverySessionCallbacks()
DPrinterInfoTest.java127 List<PrinterInfo> printers = new ArrayList<>(); in createFirstMockPrinterDiscoverySessionCallbacks() local
151 + printers in createFirstMockPrinterDiscoverySessionCallbacks()
282 printers.add(printer); in createFirstMockPrinterDiscoverySessionCallbacks()
292 sDiscoverySession.addPrinters(printers); in createFirstMockPrinterDiscoverySessionCallbacks()
DPrintServicesTest.java103 List<PrinterInfo> printers = new ArrayList<>(); in createMockPrinterDiscoverySessionCallbacks() local
131 printers.add(sPrinter); in createMockPrinterDiscoverySessionCallbacks()
133 session.addPrinters(printers); in createMockPrinterDiscoverySessionCallbacks()
355 ArrayList<PrinterInfo> printers = new ArrayList<>(1);
356 printers.add(printer);
357 sessionCallbacks.getSession().addPrinters(printers);
DPrintDocumentInfoTest.java276 List<PrinterInfo> printers = new ArrayList<>(); in createFirstMockDiscoverySessionCallbacks() local
293 printers.add(firstPrinter); in createFirstMockDiscoverySessionCallbacks()
295 session.addPrinters(printers); in createFirstMockDiscoverySessionCallbacks()
DPrinterCapabilitiesChangeTest.java88 List<PrinterInfo> printers = new ArrayList<>(1); in generatePrinters() local
107 printers.add(new PrinterInfo.Builder(printerId, PRINTER_NAME, status).setCapabilities(cap) in generatePrinters()
110 return printers; in generatePrinters()
DPrintJobStateTransitionsTest.java102 ArrayList<PrinterInfo> printers = new ArrayList<>(1); in createFirstMockPrinterDiscoverySessionCallbacks() local
103 printers.add(printer.build()); in createFirstMockPrinterDiscoverySessionCallbacks()
105 sDiscoverySession.addPrinters(printers); in createFirstMockPrinterDiscoverySessionCallbacks()
DInterfaceForAppsTest.java91 ArrayList<PrinterInfo> printers = new ArrayList<>(1); in createFirstMockPrinterDiscoverySessionCallbacks() local
92 printers.add(printer.build()); in createFirstMockPrinterDiscoverySessionCallbacks()
94 session.addPrinters(printers); in createFirstMockPrinterDiscoverySessionCallbacks()
DCustomPrintOptionsTest.java134 List<PrinterInfo> printers = new ArrayList<>(1); in setUpServicesAndAdapter()
148 printers.add(new PrinterInfo.Builder(printerId, PRINTER_NAME, in setUpServicesAndAdapter()
151 session.addPrinters(printers); in setUpServicesAndAdapter()
DPageRangeAdjustAndVerify.java377 List<PrinterInfo> printers = new ArrayList<>(); in createMockFirstPrinterDiscoverySessionCallbacks() local
393 printers.add(firstPrinter); in createMockFirstPrinterDiscoverySessionCallbacks()
395 session.addPrinters(printers); in createMockFirstPrinterDiscoverySessionCallbacks()
DPrintAttributesTest.java155 List<PrinterInfo> printers = new ArrayList<>(); in createMockPrinterDiscoverySessionCallbacks() local
197 printers.add(printer); in createMockPrinterDiscoverySessionCallbacks()
199 session.addPrinters(printers); in createMockPrinterDiscoverySessionCallbacks()
DPageRangeAdjustmentTest.java514 List<PrinterInfo> printers = new ArrayList<>(); in createMockFirstPrinterDiscoverySessionCallbacks() local
531 printers.add(firstPrinter); in createMockFirstPrinterDiscoverySessionCallbacks()
533 session.addPrinters(printers); in createMockFirstPrinterDiscoverySessionCallbacks()
DPrintJobTest.java100 ArrayList<PrinterInfo> printers = new ArrayList<>(1); in createFirstMockPrinterDiscoverySessionCallbacks() local
101 printers.add(printer.build()); in createFirstMockPrinterDiscoverySessionCallbacks()
103 sDiscoverySession.addPrinters(printers); in createFirstMockPrinterDiscoverySessionCallbacks()