Home
last modified time | relevance | path

Searched refs:PrinterDiscoverySessionCallbacks (Results 1 – 19 of 19) sorted by relevance

/cts/tests/tests/print/src/android/print/cts/
DPrinterDiscoverySessionLifecycleTest.java39 import android.print.test.services.PrinterDiscoverySessionCallbacks;
153 final PrinterDiscoverySessionCallbacks firstSessionCallbacks = in defaultPrinterBecomesAvailableWhileInBackground()
156 ((PrinterDiscoverySessionCallbacks) invocation.getMock()).getSession(); in defaultPrinterBecomesAvailableWhileInBackground()
205 final PrinterDiscoverySessionCallbacks firstSessionCallbacks = in defaultPrinterBecomesUsableWhileInBackground()
208 ((PrinterDiscoverySessionCallbacks) invocation.getMock()).getSession(); in defaultPrinterBecomesUsableWhileInBackground()
259 final PrinterDiscoverySessionCallbacks firstSessionCallbacks = in normalLifecycle()
367 final PrinterDiscoverySessionCallbacks firstSessionCallbacks = in cancelPrintServicesAlertDialog()
457 final PrinterDiscoverySessionCallbacks firstSessionCallbacks = in startPrinterDiscoveryWithHistoricalPrinters()
587 final PrinterDiscoverySessionCallbacks firstSessionCallbacks = in addRemovePrinters()
589 session[0] = ((PrinterDiscoverySessionCallbacks) in addRemovePrinters()
[all …]
DPrintServicesTest.java55 import android.print.test.services.PrinterDiscoverySessionCallbacks;
109 private PrinterDiscoverySessionCallbacks createMockPrinterDiscoverySessionCallbacks( in createMockPrinterDiscoverySessionCallbacks()
114 ((PrinterDiscoverySessionCallbacks) invocation.getMock()).getSession(); in createMockPrinterDiscoverySessionCallbacks()
241 final PrinterDiscoverySessionCallbacks sessionCallbacks) { in createMockPrinterServiceCallbacks()
266 PrinterDiscoverySessionCallbacks sessionCallbacks =
341 private void updatePrinter(PrinterDiscoverySessionCallbacks sessionCallbacks,
374 final PrinterDiscoverySessionCallbacks sessionCallbacks =
438 final PrinterDiscoverySessionCallbacks sessionCallbacks =
482 PrinterDiscoverySessionCallbacks sessionCallbacks1 =
489 PrinterDiscoverySessionCallbacks sessionCallbacks2 =
[all …]
DPrintDocumentInfoTest.java40 import android.print.test.services.PrinterDiscoverySessionCallbacks;
105 PrinterDiscoverySessionCallbacks printerDiscoverySessionCallbacks = in printDocumentBaseTest()
282 private PrinterDiscoverySessionCallbacks createFirstMockDiscoverySessionCallbacks() { in createFirstMockDiscoverySessionCallbacks()
284 PrinterDiscoverySessionCallbacks mock = (PrinterDiscoverySessionCallbacks) in createFirstMockDiscoverySessionCallbacks()
321 final PrinterDiscoverySessionCallbacks callbacks = in createFirstMockPrintServiceCallbacks()
DPrintJobStateTransitionsTest.java36 import android.print.test.services.PrinterDiscoverySessionCallbacks;
82 private PrinterDiscoverySessionCallbacks createFirstMockPrinterDiscoverySessionCallbacks() { in createFirstMockPrinterDiscoverySessionCallbacks()
85 sDiscoverySession = ((PrinterDiscoverySessionCallbacks) invocation.getMock()) in createFirstMockPrinterDiscoverySessionCallbacks()
127 final PrinterDiscoverySessionCallbacks sessionCallbacks, in createFirstMockPrinterServiceCallbacks()
273 PrinterDiscoverySessionCallbacks sessionCallbacks
318 PrinterDiscoverySessionCallbacks sessionCallbacks
DPrinterInfoTest.java33 import android.print.test.services.PrinterDiscoverySessionCallbacks;
70 private PrinterDiscoverySessionCallbacks createFirstMockPrinterDiscoverySessionCallbacks() { in createFirstMockPrinterDiscoverySessionCallbacks()
73 sDiscoverySession = ((PrinterDiscoverySessionCallbacks) invocation.getMock()) in createFirstMockPrinterDiscoverySessionCallbacks()
309 final PrinterDiscoverySessionCallbacks sessionCallbacks) { in createFirstMockPrinterServiceCallbacks()
323 PrinterDiscoverySessionCallbacks sessionCallbacks in printerInfos()
DPrinterCapabilitiesTest.java40 import android.print.test.services.PrinterDiscoverySessionCallbacks;
74 final PrinterDiscoverySessionCallbacks firstSessionCallbacks = in illegalPrinterCapabilityInfos()
77 ((PrinterDiscoverySessionCallbacks) in illegalPrinterCapabilityInfos()
187 final PrinterDiscoverySessionCallbacks firstSessionCallbacks = in sanePrinterCapabilityInfos()
190 ((PrinterDiscoverySessionCallbacks) in sanePrinterCapabilityInfos()
321 final PrinterDiscoverySessionCallbacks firstSessionCallbacks = in testPrinterCapabilityInfo()
324 ((PrinterDiscoverySessionCallbacks) in testPrinterCapabilityInfo()
DPrintJobTest.java42 import android.print.test.services.PrinterDiscoverySessionCallbacks;
81 private PrinterDiscoverySessionCallbacks createFirstMockPrinterDiscoverySessionCallbacks() { in createFirstMockPrinterDiscoverySessionCallbacks()
84 sDiscoverySession = ((PrinterDiscoverySessionCallbacks) invocation.getMock()) in createFirstMockPrinterDiscoverySessionCallbacks()
126 final PrinterDiscoverySessionCallbacks sessionCallbacks, in createFirstMockPrinterServiceCallbacks()
155 PrinterDiscoverySessionCallbacks sessionCallbacks
224 PrinterDiscoverySessionCallbacks sessionCallbacks
316 PrinterDiscoverySessionCallbacks sessionCallbacks
DInteractionBetweenPrintDocumentAndPrinterDiscovery.java40 import android.print.test.services.PrinterDiscoverySessionCallbacks;
99 final PrinterDiscoverySessionCallbacks callbacks = in printerReappearsWhileCanceling()
101 session[0] = ((PrinterDiscoverySessionCallbacks) inv.getMock()).getSession(); in printerReappearsWhileCanceling()
DInterfaceForAppsTest.java37 import android.print.test.services.PrinterDiscoverySessionCallbacks;
68 …private @NonNull PrinterDiscoverySessionCallbacks createFirstMockPrinterDiscoverySessionCallbacks(… in createFirstMockPrinterDiscoverySessionCallbacks()
70 … StubbablePrinterDiscoverySession session = ((PrinterDiscoverySessionCallbacks) invocation in createFirstMockPrinterDiscoverySessionCallbacks()
112 final @NonNull PrinterDiscoverySessionCallbacks sessionCallbacks, int blockAfterState) { in createFirstMockPrinterServiceCallbacks()
170PrinterDiscoverySessionCallbacks sessionCallbacks = createFirstMockPrinterDiscoverySessionCallback…
DPageRangeAdjustAndVerify.java43 import android.print.test.services.PrinterDiscoverySessionCallbacks;
369 private PrinterDiscoverySessionCallbacks createMockFirstPrinterDiscoverySessionCallbacks() { in createMockFirstPrinterDiscoverySessionCallbacks()
371 PrinterDiscoverySessionCallbacks mock = (PrinterDiscoverySessionCallbacks) in createMockFirstPrinterDiscoverySessionCallbacks()
DPrintAttributesTest.java37 import android.print.test.services.PrinterDiscoverySessionCallbacks;
146 private PrinterDiscoverySessionCallbacks createMockPrinterDiscoverySessionCallbacks( in createMockPrinterDiscoverySessionCallbacks()
153 ((PrinterDiscoverySessionCallbacks) invocation.getMock()).getSession(); in createMockPrinterDiscoverySessionCallbacks()
278 final PrinterDiscoverySessionCallbacks sessionCallbacks =
DPageRangeAdjustmentTest.java42 import android.print.test.services.PrinterDiscoverySessionCallbacks;
506 private PrinterDiscoverySessionCallbacks createMockFirstPrinterDiscoverySessionCallbacks() { in createMockFirstPrinterDiscoverySessionCallbacks()
508 PrinterDiscoverySessionCallbacks mock = (PrinterDiscoverySessionCallbacks) in createMockFirstPrinterDiscoverySessionCallbacks()
DPrinterCapabilitiesChangeTest.java37 import android.print.test.services.PrinterDiscoverySessionCallbacks;
160 final PrinterDiscoverySessionCallbacks firstSessionCallbacks = in setUpPrinting()
162 mSession[0] = ((PrinterDiscoverySessionCallbacks) invocation.getMock()) in setUpPrinting()
DCustomPrintOptionsTest.java40 import android.print.test.services.PrinterDiscoverySessionCallbacks;
129 final PrinterDiscoverySessionCallbacks firstSessionCallbacks = in setUpServicesAndAdapter()
132 ((PrinterDiscoverySessionCallbacks) invocation.getMock()) in setUpServicesAndAdapter()
DPrintDocumentAdapterContractTest.java44 import android.print.test.services.PrinterDiscoverySessionCallbacks;
1985 private PrinterDiscoverySessionCallbacks createFirstMockDiscoverySessionCallbacks() { in createFirstMockDiscoverySessionCallbacks()
1987 PrinterDiscoverySessionCallbacks mock = (PrinterDiscoverySessionCallbacks) in createFirstMockDiscoverySessionCallbacks()
2068 final PrinterDiscoverySessionCallbacks callbacks = in createFirstMockPrintServiceCallbacks()
/cts/tests/tests/print/printTestUtilLib/src/android/print/test/services/
DStubbablePrinterDiscoverySession.java30 private final PrinterDiscoverySessionCallbacks mCallbacks;
33 PrinterDiscoverySessionCallbacks callbacks) { in StubbablePrinterDiscoverySession()
DPrintServiceCallbacks.java33 public abstract PrinterDiscoverySessionCallbacks onCreatePrinterDiscoverySessionCallbacks(); in onCreatePrinterDiscoverySessionCallbacks()
DPrinterDiscoverySessionCallbacks.java25 public abstract class PrinterDiscoverySessionCallbacks { class
/cts/tests/tests/print/printTestUtilLib/src/android/print/test/
DBasePrintTest.java58 import android.print.test.services.PrinterDiscoverySessionCallbacks;
899 protected static PrinterDiscoverySessionCallbacks createMockPrinterDiscoverySessionCallbacks( in createMockPrinterDiscoverySessionCallbacks()
904 PrinterDiscoverySessionCallbacks callbacks = mock(PrinterDiscoverySessionCallbacks.class); in createMockPrinterDiscoverySessionCallbacks()
941 Answer<PrinterDiscoverySessionCallbacks> onCreatePrinterDiscoverySessionCallbacks, in createMockPrintServiceCallbacks()