Searched refs:printers (Results 1 – 13 of 13) sorted by relevance
202 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()
610 ArrayList<PrinterInfo> printers = new ArrayList<>(); in addRemovePrinters() local611 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()
127 List<PrinterInfo> printers = new ArrayList<>(); in createFirstMockPrinterDiscoverySessionCallbacks() local151 + printers in createFirstMockPrinterDiscoverySessionCallbacks()282 printers.add(printer); in createFirstMockPrinterDiscoverySessionCallbacks()292 sDiscoverySession.addPrinters(printers); in createFirstMockPrinterDiscoverySessionCallbacks()
103 List<PrinterInfo> printers = new ArrayList<>(); in createMockPrinterDiscoverySessionCallbacks() local131 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);
276 List<PrinterInfo> printers = new ArrayList<>(); in createFirstMockDiscoverySessionCallbacks() local293 printers.add(firstPrinter); in createFirstMockDiscoverySessionCallbacks()295 session.addPrinters(printers); in createFirstMockDiscoverySessionCallbacks()
88 List<PrinterInfo> printers = new ArrayList<>(1); in generatePrinters() local107 printers.add(new PrinterInfo.Builder(printerId, PRINTER_NAME, status).setCapabilities(cap) in generatePrinters()110 return printers; in generatePrinters()
102 ArrayList<PrinterInfo> printers = new ArrayList<>(1); in createFirstMockPrinterDiscoverySessionCallbacks() local103 printers.add(printer.build()); in createFirstMockPrinterDiscoverySessionCallbacks()105 sDiscoverySession.addPrinters(printers); in createFirstMockPrinterDiscoverySessionCallbacks()
91 ArrayList<PrinterInfo> printers = new ArrayList<>(1); in createFirstMockPrinterDiscoverySessionCallbacks() local92 printers.add(printer.build()); in createFirstMockPrinterDiscoverySessionCallbacks()94 session.addPrinters(printers); in createFirstMockPrinterDiscoverySessionCallbacks()
134 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()
377 List<PrinterInfo> printers = new ArrayList<>(); in createMockFirstPrinterDiscoverySessionCallbacks() local393 printers.add(firstPrinter); in createMockFirstPrinterDiscoverySessionCallbacks()395 session.addPrinters(printers); in createMockFirstPrinterDiscoverySessionCallbacks()
155 List<PrinterInfo> printers = new ArrayList<>(); in createMockPrinterDiscoverySessionCallbacks() local197 printers.add(printer); in createMockPrinterDiscoverySessionCallbacks()199 session.addPrinters(printers); in createMockPrinterDiscoverySessionCallbacks()
514 List<PrinterInfo> printers = new ArrayList<>(); in createMockFirstPrinterDiscoverySessionCallbacks() local531 printers.add(firstPrinter); in createMockFirstPrinterDiscoverySessionCallbacks()533 session.addPrinters(printers); in createMockFirstPrinterDiscoverySessionCallbacks()
100 ArrayList<PrinterInfo> printers = new ArrayList<>(1); in createFirstMockPrinterDiscoverySessionCallbacks() local101 printers.add(printer.build()); in createFirstMockPrinterDiscoverySessionCallbacks()103 sDiscoverySession.addPrinters(printers); in createFirstMockPrinterDiscoverySessionCallbacks()