Home
last modified time | relevance | path

Searched refs:sDiscoverySession (Results 1 – 3 of 3) sorted by relevance

/cts/tests/tests/print/src/android/print/cts/
DPrinterInfoTest.java56 private static StubbablePrinterDiscoverySession sDiscoverySession; field in PrinterInfoTest
73 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()
DPrintJobStateTransitionsTest.java59 private static StubbablePrinterDiscoverySession sDiscoverySession; field in PrintJobStateTransitionsTest
85 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()
DPrintJobTest.java73 private static StubbablePrinterDiscoverySession sDiscoverySession; field in PrintJobTest
84 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()