Searched refs:sDiscoverySession (Results 1 – 3 of 3) sorted by relevance
54 private static StubbablePrinterDiscoverySession sDiscoverySession; field in PrinterInfoTest71 sDiscoverySession = ((PrinterDiscoverySessionCallbacks) invocation.getMock()) in createFirstMockPrinterDiscoverySessionCallbacks()74 if (sDiscoverySession.getPrinters().isEmpty()) { in createFirstMockPrinterDiscoverySessionCallbacks()78 sDiscoverySession.getService().generatePrinterId("bad printer"), in createFirstMockPrinterDiscoverySessionCallbacks()113 new PrinterCapabilitiesInfo.Builder(sDiscoverySession.getService() in createFirstMockPrinterDiscoverySessionCallbacks()141 printerId = sDiscoverySession in createFirstMockPrinterDiscoverySessionCallbacks()146 printerId = sDiscoverySession in createFirstMockPrinterDiscoverySessionCallbacks()291 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()