Searched refs:sDiscoverySession (Results 1 – 3 of 3) sorted by relevance
56 private static StubbablePrinterDiscoverySession sDiscoverySession; field in PrinterInfoTest73 sDiscoverySession = ((PrinterDiscoverySessionCallbacks) invocation.getMock()) in createFirstMockPrinterDiscoverySessionCallbacks()76 if (sDiscoverySession.getPrinters().isEmpty()) { in createFirstMockPrinterDiscoverySessionCallbacks()80 sDiscoverySession.getService().generatePrinterId("bad printer"), in createFirstMockPrinterDiscoverySessionCallbacks()115 new PrinterCapabilitiesInfo.Builder(sDiscoverySession.getService() in createFirstMockPrinterDiscoverySessionCallbacks()143 printerId = sDiscoverySession in createFirstMockPrinterDiscoverySessionCallbacks()148 printerId = sDiscoverySession in createFirstMockPrinterDiscoverySessionCallbacks()293 sDiscoverySession.addPrinters(printers); in createFirstMockPrinterDiscoverySessionCallbacks()
59 private static StubbablePrinterDiscoverySession sDiscoverySession; field in PrintJobStateTransitionsTest85 sDiscoverySession = ((PrinterDiscoverySessionCallbacks) invocation.getMock()) in createFirstMockPrinterDiscoverySessionCallbacks()88 if (sDiscoverySession.getPrinters().isEmpty()) { in createFirstMockPrinterDiscoverySessionCallbacks()90 sDiscoverySession.getService().generatePrinterId(PRINTER_NAME); in createFirstMockPrinterDiscoverySessionCallbacks()92 sDiscoverySession.getService().generatePrinterId(PRINTER_NAME), in createFirstMockPrinterDiscoverySessionCallbacks()105 sDiscoverySession.addPrinters(printers); in createFirstMockPrinterDiscoverySessionCallbacks()
73 private static StubbablePrinterDiscoverySession sDiscoverySession; field in PrintJobTest84 sDiscoverySession = ((PrinterDiscoverySessionCallbacks) invocation.getMock()) in createFirstMockPrinterDiscoverySessionCallbacks()87 if (sDiscoverySession.getPrinters().isEmpty()) { in createFirstMockPrinterDiscoverySessionCallbacks()89 sDiscoverySession.getService().generatePrinterId(PRINTER_NAME); in createFirstMockPrinterDiscoverySessionCallbacks()91 sDiscoverySession.getService().generatePrinterId(PRINTER_NAME), in createFirstMockPrinterDiscoverySessionCallbacks()104 sDiscoverySession.addPrinters(printers); in createFirstMockPrinterDiscoverySessionCallbacks()