Searched refs:PrinterDiscoverySessionCallbacks (Results 1 – 7 of 7) sorted by relevance
36 import android.print.cts.services.PrinterDiscoverySessionCallbacks;68 final PrinterDiscoverySessionCallbacks firstSessionCallbacks = in testNormalLifecycle()73 new Answer<PrinterDiscoverySessionCallbacks>() { in testNormalLifecycle()75 public PrinterDiscoverySessionCallbacks answer(InvocationOnMock invocation) { in testNormalLifecycle()165 final PrinterDiscoverySessionCallbacks firstSessionCallbacks = in testStartPrinterDiscoveryWithHistoricalPrinters()170 new Answer<PrinterDiscoverySessionCallbacks>() { in testStartPrinterDiscoveryWithHistoricalPrinters()172 public PrinterDiscoverySessionCallbacks answer(InvocationOnMock invocation) { in testStartPrinterDiscoveryWithHistoricalPrinters()282 final PrinterDiscoverySessionCallbacks sessionCallbacks, String printerLocalId) { in getAddedPrinterIdForLocalId()309 private PrinterDiscoverySessionCallbacks createFirstMockPrinterDiscoverySessionCallbacks() { in createFirstMockPrinterDiscoverySessionCallbacks()314 StubbablePrinterDiscoverySession session = ((PrinterDiscoverySessionCallbacks) in createFirstMockPrinterDiscoverySessionCallbacks()[all …]
39 import android.print.cts.services.PrinterDiscoverySessionCallbacks;71 new Answer<PrinterDiscoverySessionCallbacks>() { in testAllPagesWantedAndAllPagesWritten()73 public PrinterDiscoverySessionCallbacks answer(InvocationOnMock invocation) { in testAllPagesWantedAndAllPagesWritten()174 new Answer<PrinterDiscoverySessionCallbacks>() { in testSomePagesWantedAndAllPagesWritten()176 public PrinterDiscoverySessionCallbacks answer(InvocationOnMock invocation) { in testSomePagesWantedAndAllPagesWritten()286 new Answer<PrinterDiscoverySessionCallbacks>() { in testSomePagesWantedAndSomeMorePagesWritten()288 public PrinterDiscoverySessionCallbacks answer(InvocationOnMock invocation) { in testSomePagesWantedAndSomeMorePagesWritten()414 new Answer<PrinterDiscoverySessionCallbacks>() { in testSomePagesWantedAndNotWritten()416 public PrinterDiscoverySessionCallbacks answer(InvocationOnMock invocation) { in testSomePagesWantedAndNotWritten()506 new Answer<PrinterDiscoverySessionCallbacks>() { in testWantedPagesAlreadyWrittenForPreview()[all …]
46 import android.print.cts.services.PrinterDiscoverySessionCallbacks;435 protected PrinterDiscoverySessionCallbacks createMockPrinterDiscoverySessionCallbacks( in createMockPrinterDiscoverySessionCallbacks()439 PrinterDiscoverySessionCallbacks callbacks = mock(PrinterDiscoverySessionCallbacks.class); in createMockPrinterDiscoverySessionCallbacks()471 Answer<PrinterDiscoverySessionCallbacks> onCreatePrinterDiscoverySessionCallbacks, in createMockPrintServiceCallbacks()
41 import android.print.cts.services.PrinterDiscoverySessionCallbacks;1567 final PrinterDiscoverySessionCallbacks callbacks = in createFirstMockPrintServiceCallbacks()1571 PrinterDiscoverySessionCallbacks mock = (PrinterDiscoverySessionCallbacks) in createFirstMockPrintServiceCallbacks()1647 return createMockPrintServiceCallbacks(new Answer<PrinterDiscoverySessionCallbacks>() { in createFirstMockPrintServiceCallbacks()1649 public PrinterDiscoverySessionCallbacks answer(InvocationOnMock invocation) { in createFirstMockPrintServiceCallbacks()
27 private final PrinterDiscoverySessionCallbacks mCallbacks;30 PrinterDiscoverySessionCallbacks callbacks) { in StubbablePrinterDiscoverySession()
34 public abstract PrinterDiscoverySessionCallbacks onCreatePrinterDiscoverySessionCallbacks(); in onCreatePrinterDiscoverySessionCallbacks()
23 public abstract class PrinterDiscoverySessionCallbacks { class