/cts/tests/tests/print/src/android/print/cts/ |
D | PrinterDiscoverySessionLifecycleTest.java | 39 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 …]
|
D | PrintServicesTest.java | 55 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 …]
|
D | PrintDocumentInfoTest.java | 40 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()
|
D | PrintJobStateTransitionsTest.java | 36 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
|
D | PrinterInfoTest.java | 33 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()
|
D | PrinterCapabilitiesTest.java | 40 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()
|
D | PrintJobTest.java | 42 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
|
D | InteractionBetweenPrintDocumentAndPrinterDiscovery.java | 40 import android.print.test.services.PrinterDiscoverySessionCallbacks; 99 final PrinterDiscoverySessionCallbacks callbacks = in printerReappearsWhileCanceling() 101 session[0] = ((PrinterDiscoverySessionCallbacks) inv.getMock()).getSession(); in printerReappearsWhileCanceling()
|
D | InterfaceForAppsTest.java | 37 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() 170 …PrinterDiscoverySessionCallbacks sessionCallbacks = createFirstMockPrinterDiscoverySessionCallback…
|
D | PageRangeAdjustAndVerify.java | 43 import android.print.test.services.PrinterDiscoverySessionCallbacks; 369 private PrinterDiscoverySessionCallbacks createMockFirstPrinterDiscoverySessionCallbacks() { in createMockFirstPrinterDiscoverySessionCallbacks() 371 PrinterDiscoverySessionCallbacks mock = (PrinterDiscoverySessionCallbacks) in createMockFirstPrinterDiscoverySessionCallbacks()
|
D | PrintAttributesTest.java | 37 import android.print.test.services.PrinterDiscoverySessionCallbacks; 146 private PrinterDiscoverySessionCallbacks createMockPrinterDiscoverySessionCallbacks( in createMockPrinterDiscoverySessionCallbacks() 153 ((PrinterDiscoverySessionCallbacks) invocation.getMock()).getSession(); in createMockPrinterDiscoverySessionCallbacks() 278 final PrinterDiscoverySessionCallbacks sessionCallbacks =
|
D | PageRangeAdjustmentTest.java | 42 import android.print.test.services.PrinterDiscoverySessionCallbacks; 506 private PrinterDiscoverySessionCallbacks createMockFirstPrinterDiscoverySessionCallbacks() { in createMockFirstPrinterDiscoverySessionCallbacks() 508 PrinterDiscoverySessionCallbacks mock = (PrinterDiscoverySessionCallbacks) in createMockFirstPrinterDiscoverySessionCallbacks()
|
D | PrinterCapabilitiesChangeTest.java | 37 import android.print.test.services.PrinterDiscoverySessionCallbacks; 160 final PrinterDiscoverySessionCallbacks firstSessionCallbacks = in setUpPrinting() 162 mSession[0] = ((PrinterDiscoverySessionCallbacks) invocation.getMock()) in setUpPrinting()
|
D | CustomPrintOptionsTest.java | 40 import android.print.test.services.PrinterDiscoverySessionCallbacks; 129 final PrinterDiscoverySessionCallbacks firstSessionCallbacks = in setUpServicesAndAdapter() 132 ((PrinterDiscoverySessionCallbacks) invocation.getMock()) in setUpServicesAndAdapter()
|
D | PrintDocumentAdapterContractTest.java | 44 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/ |
D | StubbablePrinterDiscoverySession.java | 30 private final PrinterDiscoverySessionCallbacks mCallbacks; 33 PrinterDiscoverySessionCallbacks callbacks) { in StubbablePrinterDiscoverySession()
|
D | PrintServiceCallbacks.java | 33 public abstract PrinterDiscoverySessionCallbacks onCreatePrinterDiscoverySessionCallbacks(); in onCreatePrinterDiscoverySessionCallbacks()
|
D | PrinterDiscoverySessionCallbacks.java | 25 public abstract class PrinterDiscoverySessionCallbacks { class
|
/cts/tests/tests/print/printTestUtilLib/src/android/print/test/ |
D | BasePrintTest.java | 58 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()
|