/cts/tests/tests/print/src/android/print/cts/ |
D | PrinterCapabilitiesTest.java | 203 ArrayList<PrinterInfo> printers = new ArrayList<>(); in sanePrinterCapabilityInfos() 213 .generatePrinterId(Integer.valueOf(printers.size()) in sanePrinterCapabilityInfos() 246 Integer.valueOf(printers.size()).toString(), in sanePrinterCapabilityInfos() 278 printers.add(printer); in sanePrinterCapabilityInfos() 284 session.addPrinters(printers); in sanePrinterCapabilityInfos() 330 ArrayList<PrinterInfo> printers = new ArrayList<>(); in testPrinterCapabilityInfo() 331 printers.add((new PrinterInfo.Builder(printerId, PRINTER_NAME, in testPrinterCapabilityInfo() 335 session.addPrinters(printers); in testPrinterCapabilityInfo()
|
D | PrintServicesTest.java | 117 List<PrinterInfo> printers = new ArrayList<>(); in createMockPrinterDiscoverySessionCallbacks() local 136 printers.add(sPrinter); in createMockPrinterDiscoverySessionCallbacks() 138 session.addPrinters(printers); in createMockPrinterDiscoverySessionCallbacks() 344 ArrayList<PrinterInfo> printers = new ArrayList<>(1); 345 printers.add(printer); 346 sessionCallbacks.getSession().addPrinters(printers); 611 List<PrinterInfo> printers = new ArrayList<>(); 612 printers.add(printer1); 613 printers.add(printer2); 614 session.addPrinters(printers);
|
D | PrinterDiscoverySessionLifecycleTest.java | 625 ArrayList<PrinterInfo> printers = new ArrayList<>(); in addRemovePrinters() local 626 printers.add(printer1); in addRemovePrinters() 627 runOnMainThread(() -> session[0].addPrinters(printers)); in addRemovePrinters() 630 printers.add(printer2); in addRemovePrinters() 631 printers.add(printer3); in addRemovePrinters() 632 runOnMainThread(() -> session[0].addPrinters(printers)); in addRemovePrinters() 730 List<PrinterInfo> printers = new ArrayList<>(); in createFirstMockPrinterDiscoverySessionCallbacks() 731 printers.add(updatedPrinter); in createFirstMockPrinterDiscoverySessionCallbacks() 732 session.addPrinters(printers); in createFirstMockPrinterDiscoverySessionCallbacks()
|
D | InteractionBetweenPrintDocumentAndPrinterDiscovery.java | 72 List<PrinterInfo> printers = new ArrayList<>(); in addPrinter() local 84 printers.add(testPrinter); in addPrinter() 86 session.addPrinters(printers); in addPrinter()
|
D | PrinterInfoTest.java | 128 List<PrinterInfo> printers = new ArrayList<>(); in createFirstMockPrinterDiscoverySessionCallbacks() local 152 + printers in createFirstMockPrinterDiscoverySessionCallbacks() 283 printers.add(printer); in createFirstMockPrinterDiscoverySessionCallbacks() 293 sDiscoverySession.addPrinters(printers); in createFirstMockPrinterDiscoverySessionCallbacks()
|
D | PrintDocumentInfoTest.java | 291 List<PrinterInfo> printers = new ArrayList<>(); in createFirstMockDiscoverySessionCallbacks() local 308 printers.add(firstPrinter); in createFirstMockDiscoverySessionCallbacks() 310 session.addPrinters(printers); in createFirstMockDiscoverySessionCallbacks()
|
D | PrinterCapabilitiesChangeTest.java | 88 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()
|
D | PrintJobStateTransitionsTest.java | 102 ArrayList<PrinterInfo> printers = new ArrayList<>(1); in createFirstMockPrinterDiscoverySessionCallbacks() local 103 printers.add(printer.build()); in createFirstMockPrinterDiscoverySessionCallbacks() 105 sDiscoverySession.addPrinters(printers); in createFirstMockPrinterDiscoverySessionCallbacks()
|
D | CustomPrintOptionsTest.java | 135 List<PrinterInfo> printers = new ArrayList<>(1); in setUpServicesAndAdapter() 149 printers.add(new PrinterInfo.Builder(printerId, PRINTER_NAME, in setUpServicesAndAdapter() 152 session.addPrinters(printers); in setUpServicesAndAdapter()
|
D | PageRangeAdjustAndVerify.java | 378 List<PrinterInfo> printers = new ArrayList<>(); in createMockFirstPrinterDiscoverySessionCallbacks() local 394 printers.add(firstPrinter); in createMockFirstPrinterDiscoverySessionCallbacks() 396 session.addPrinters(printers); in createMockFirstPrinterDiscoverySessionCallbacks()
|
D | InterfaceForAppsTest.java | 91 ArrayList<PrinterInfo> printers = new ArrayList<>(1); in createFirstMockPrinterDiscoverySessionCallbacks() local 92 printers.add(printer.build()); in createFirstMockPrinterDiscoverySessionCallbacks() 94 session.addPrinters(printers); in createFirstMockPrinterDiscoverySessionCallbacks()
|
D | PrintAttributesTest.java | 156 List<PrinterInfo> printers = new ArrayList<>(); in createMockPrinterDiscoverySessionCallbacks() local 198 printers.add(printer); in createMockPrinterDiscoverySessionCallbacks() 200 session.addPrinters(printers); in createMockPrinterDiscoverySessionCallbacks()
|
D | PageRangeAdjustmentTest.java | 515 List<PrinterInfo> printers = new ArrayList<>(); in createMockFirstPrinterDiscoverySessionCallbacks() local 532 printers.add(firstPrinter); in createMockFirstPrinterDiscoverySessionCallbacks() 534 session.addPrinters(printers); in createMockFirstPrinterDiscoverySessionCallbacks()
|
D | PrintJobTest.java | 101 ArrayList<PrinterInfo> printers = new ArrayList<>(1); in createFirstMockPrinterDiscoverySessionCallbacks() local 102 printers.add(printer.build()); in createFirstMockPrinterDiscoverySessionCallbacks() 104 sDiscoverySession.addPrinters(printers); in createFirstMockPrinterDiscoverySessionCallbacks()
|
D | PrintDocumentAdapterContractTest.java | 1994 List<PrinterInfo> printers = new ArrayList<>(); in createFirstMockDiscoverySessionCallbacks() local 2011 printers.add(firstPrinter); in createFirstMockDiscoverySessionCallbacks() 2035 printers.add(secondPrinter); in createFirstMockDiscoverySessionCallbacks() 2055 printers.add(thirdPrinter); in createFirstMockDiscoverySessionCallbacks() 2057 session.addPrinters(printers); in createFirstMockDiscoverySessionCallbacks()
|