/cts/tests/tests/print/src/android/print/cts/ |
D | PrinterDiscoverySessionLifecycleTest.java | 39 import android.print.test.services.PrinterDiscoverySessionCallbacks; 141 final PrinterDiscoverySessionCallbacks firstSessionCallbacks = in defaultPrinterBecomesAvailableWhileInBackground() 144 ((PrinterDiscoverySessionCallbacks) invocation.getMock()).getSession(); in defaultPrinterBecomesAvailableWhileInBackground() 193 final PrinterDiscoverySessionCallbacks firstSessionCallbacks = in defaultPrinterBecomesUsableWhileInBackground() 196 ((PrinterDiscoverySessionCallbacks) invocation.getMock()).getSession(); in defaultPrinterBecomesUsableWhileInBackground() 247 final PrinterDiscoverySessionCallbacks firstSessionCallbacks = in normalLifecycle() 360 final PrinterDiscoverySessionCallbacks firstSessionCallbacks = in cancelPrintServicesAlertDialog() 455 final PrinterDiscoverySessionCallbacks firstSessionCallbacks = in startPrinterDiscoveryWithHistoricalPrinters() 522 final PrinterDiscoverySessionCallbacks firstSessionCallbacksWithPrinters = in startPrinterDiscoveryWithHistoricalPrinters() 592 final PrinterDiscoverySessionCallbacks firstSessionCallbacks = in addRemovePrinters() [all …]
|
D | PrintServicesTest.java | 55 import android.print.test.services.PrinterDiscoverySessionCallbacks; 104 private PrinterDiscoverySessionCallbacks createMockPrinterDiscoverySessionCallbacks( in createMockPrinterDiscoverySessionCallbacks() 109 ((PrinterDiscoverySessionCallbacks) invocation.getMock()).getSession(); in createMockPrinterDiscoverySessionCallbacks() 236 final PrinterDiscoverySessionCallbacks sessionCallbacks) { in createMockPrinterServiceCallbacks() 261 PrinterDiscoverySessionCallbacks sessionCallbacks = 336 private void updatePrinter(PrinterDiscoverySessionCallbacks sessionCallbacks, 369 final PrinterDiscoverySessionCallbacks sessionCallbacks = 430 final PrinterDiscoverySessionCallbacks sessionCallbacks = 473 PrinterDiscoverySessionCallbacks sessionCallbacks1 = 480 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 | PrinterInfoTest.java | 33 import android.print.test.services.PrinterDiscoverySessionCallbacks; 68 private PrinterDiscoverySessionCallbacks createFirstMockPrinterDiscoverySessionCallbacks() { in createFirstMockPrinterDiscoverySessionCallbacks() 71 sDiscoverySession = ((PrinterDiscoverySessionCallbacks) invocation.getMock()) in createFirstMockPrinterDiscoverySessionCallbacks() 307 final PrinterDiscoverySessionCallbacks sessionCallbacks) { in createFirstMockPrinterServiceCallbacks() 321 PrinterDiscoverySessionCallbacks sessionCallbacks in printerInfos()
|
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 | 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 | 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 | 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 | 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 | PrinterCapabilitiesChangeTest.java | 37 import android.print.test.services.PrinterDiscoverySessionCallbacks; 160 final PrinterDiscoverySessionCallbacks firstSessionCallbacks = in setUpPrinting() 162 mSession[0] = ((PrinterDiscoverySessionCallbacks) invocation.getMock()) in setUpPrinting()
|
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; 505 private PrinterDiscoverySessionCallbacks createMockFirstPrinterDiscoverySessionCallbacks() { in createMockFirstPrinterDiscoverySessionCallbacks() 507 PrinterDiscoverySessionCallbacks mock = (PrinterDiscoverySessionCallbacks) in createMockFirstPrinterDiscoverySessionCallbacks()
|
D | CustomPrintOptionsTest.java | 40 import android.print.test.services.PrinterDiscoverySessionCallbacks; 116 final PrinterDiscoverySessionCallbacks firstSessionCallbacks = in setUpServicesAndAdapter() 119 ((PrinterDiscoverySessionCallbacks) invocation.getMock()) in setUpServicesAndAdapter()
|
D | PrintDocumentAdapterContractTest.java | 44 import android.print.test.services.PrinterDiscoverySessionCallbacks; 1942 private PrinterDiscoverySessionCallbacks createFirstMockDiscoverySessionCallbacks() { in createFirstMockDiscoverySessionCallbacks() 1944 PrinterDiscoverySessionCallbacks mock = (PrinterDiscoverySessionCallbacks) in createFirstMockDiscoverySessionCallbacks() 2047 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 | 60 import android.print.test.services.PrinterDiscoverySessionCallbacks; 752 protected static PrinterDiscoverySessionCallbacks createMockPrinterDiscoverySessionCallbacks( in createMockPrinterDiscoverySessionCallbacks() 757 PrinterDiscoverySessionCallbacks callbacks = mock(PrinterDiscoverySessionCallbacks.class); in createMockPrinterDiscoverySessionCallbacks() 794 Answer<PrinterDiscoverySessionCallbacks> onCreatePrinterDiscoverySessionCallbacks, in createMockPrintServiceCallbacks()
|