Home
last modified time | relevance | path

Searched refs:PrintServiceCallbacks (Results 1 – 14 of 14) sorted by relevance

/cts/tests/tests/print/src/android/print/cts/services/
DStubbablePrintService.java27 PrintServiceCallbacks callbacks = getCallbacks(); in onCreatePrinterDiscoverySession()
37 PrintServiceCallbacks callbacks = getCallbacks(); in onRequestCancelPrintJob()
45 PrintServiceCallbacks callbacks = getCallbacks(); in onPrintJobQueued()
51 protected abstract PrintServiceCallbacks getCallbacks(); in getCallbacks()
DFirstPrintService.java23 private static PrintServiceCallbacks sCallbacks;
25 public static void setCallbacks(PrintServiceCallbacks callbacks) { in setCallbacks()
32 protected PrintServiceCallbacks getCallbacks() { in getCallbacks()
DSecondPrintService.java23 private static PrintServiceCallbacks sCallbacks;
25 public static void setCallbacks(PrintServiceCallbacks callbacks) { in setCallbacks()
32 protected PrintServiceCallbacks getCallbacks() { in getCallbacks()
DPrintServiceCallbacks.java22 public abstract class PrintServiceCallbacks { class
/cts/tests/tests/print/src/android/print/cts/
DPageRangeAdjustmentTest.java38 import android.print.cts.services.PrintServiceCallbacks;
72 PrintServiceCallbacks firstServiceCallbacks = createMockPrintServiceCallbacks( in testAllPagesWantedAndAllPagesWritten()
178 PrintServiceCallbacks firstServiceCallbacks = createMockPrintServiceCallbacks( in testSomePagesWantedAndAllPagesWritten()
295 PrintServiceCallbacks firstServiceCallbacks = createMockPrintServiceCallbacks( in testSomePagesWantedAndSomeMorePagesWritten()
427 PrintServiceCallbacks firstServiceCallbacks = createMockPrintServiceCallbacks( in testSomePagesWantedAndNotWritten()
519 PrintServiceCallbacks firstServiceCallbacks = createMockPrintServiceCallbacks( in testWantedPagesAlreadyWrittenForPreview()
690 private PrintServiceCallbacks createSecondMockPrintServiceCallbacks() {
DPrinterDiscoverySessionLifecycleTest.java35 import android.print.cts.services.PrintServiceCallbacks;
71 PrintServiceCallbacks firstServiceCallbacks = createMockPrintServiceCallbacks( in testNormalLifecycle()
171 PrintServiceCallbacks firstServiceCallbacks = createMockPrintServiceCallbacks( in testCancelPrintServicesAlertDialog()
259 PrintServiceCallbacks firstServiceCallbacks = createMockPrintServiceCallbacks( in testStartPrinterDiscoveryWithHistoricalPrinters()
398 private PrintServiceCallbacks createSecondMockPrintServiceCallbacks() { in createSecondMockPrintServiceCallbacks()
DPrintServicesTest.java48 import android.print.cts.services.PrintServiceCallbacks;
351 private PrintServiceCallbacks createFirstMockPrinterServiceCallbacks(
387 PrintServiceCallbacks serviceCallbacks = createFirstMockPrinterServiceCallbacks(
532 PrintServiceCallbacks serviceCallbacks = createFirstMockPrinterServiceCallbacks(
DPrinterInfoTest.java37 import android.print.cts.services.PrintServiceCallbacks;
392 private PrintServiceCallbacks createFirstMockPrinterServiceCallbacks(
419 PrintServiceCallbacks serviceCallbacks = createFirstMockPrinterServiceCallbacks(
DPrinterCapabilitiesTest.java33 import android.print.cts.services.PrintServiceCallbacks;
299 PrintServiceCallbacks firstServiceCallbacks = createMockPrintServiceCallbacks( in testPrinterCapabilityChange()
461 PrintServiceCallbacks firstServiceCallbacks = createMockPrintServiceCallbacks( in testIllegalPrinterCapabilityInfos()
574 PrintServiceCallbacks firstServiceCallbacks = createMockPrintServiceCallbacks( in testSanePrinterCapabilityInfos()
640 PrintServiceCallbacks firstServiceCallbacks = createMockPrintServiceCallbacks( in testPrinterCapabilityInfo()
DPrintJobTest.java35 import android.print.cts.services.PrintServiceCallbacks;
182 private PrintServiceCallbacks createFirstMockPrinterServiceCallbacks(
258 PrintServiceCallbacks serviceCallbacks = createFirstMockPrinterServiceCallbacks(
544 PrintServiceCallbacks serviceCallbacks = createFirstMockPrinterServiceCallbacks(
DPrintAttributesTest.java33 import android.print.cts.services.PrintServiceCallbacks;
221 private PrintServiceCallbacks createDummyMockPrintServiceCallbacks() {
295 PrintServiceCallbacks serviceCallbacks = createMockPrintServiceCallbacks(
DBasePrintTest.java45 import android.print.cts.services.PrintServiceCallbacks;
695 protected PrintServiceCallbacks createMockPrintServiceCallbacks( in createMockPrintServiceCallbacks()
698 final PrintServiceCallbacks service = mock(PrintServiceCallbacks.class); in createMockPrintServiceCallbacks()
DCustomPrintOptionsTest.java35 import android.print.cts.services.PrintServiceCallbacks;
204 PrintServiceCallbacks firstServiceCallbacks = createMockPrintServiceCallbacks( in testCase()
DPrintDocumentAdapterContractTest.java40 import android.print.cts.services.PrintServiceCallbacks;
1816 private PrintServiceCallbacks createFirstMockPrintServiceCallbacks() { in createFirstMockPrintServiceCallbacks()
1912 private PrintServiceCallbacks createSecondMockPrintServiceCallbacks() {