Searched refs:PrintServiceCallbacks (Results 1 – 19 of 19) sorted by relevance
23 private static PrintServiceCallbacks sCallbacks;25 public static void setCallbacks(PrintServiceCallbacks callbacks) { in setCallbacks()32 protected PrintServiceCallbacks getCallbacks() { in getCallbacks()
33 PrintServiceCallbacks callbacks = getCallbacks(); in onCreatePrinterDiscoverySession()75 PrintServiceCallbacks callbacks = getCallbacks(); in onRequestCancelPrintJob()83 PrintServiceCallbacks callbacks = getCallbacks(); in onPrintJobQueued()89 protected abstract PrintServiceCallbacks getCallbacks(); in getCallbacks()
21 public abstract class PrintServiceCallbacks { class
41 import android.print.test.services.PrintServiceCallbacks;76 PrintServiceCallbacks firstServiceCallbacks = createMockPrintServiceCallbacks( in setDefaultPrinter()101 PrintServiceCallbacks firstServiceCallbacks = createMockPrintServiceCallbacks( in allPagesWantedAndAllPagesWritten()149 PrintServiceCallbacks firstServiceCallbacks = createMockPrintServiceCallbacks( in somePagesWantedAndAllPagesWritten()237 PrintServiceCallbacks firstServiceCallbacks = createMockPrintServiceCallbacks( in somePagesWantedAndSomeMorePagesWritten()340 PrintServiceCallbacks firstServiceCallbacks = createMockPrintServiceCallbacks( in somePagesWantedAndNotWritten()414 PrintServiceCallbacks firstServiceCallbacks = createMockPrintServiceCallbacks( in wantedPagesAlreadyWrittenForPreview()543 private PrintServiceCallbacks createSecondMockPrintServiceCallbacks() { in createSecondMockPrintServiceCallbacks()
54 import android.print.test.services.PrintServiceCallbacks;235 private PrintServiceCallbacks createMockPrinterServiceCallbacks( in createMockPrinterServiceCallbacks()265 PrintServiceCallbacks serviceCallbacks = createMockPrinterServiceCallbacks(373 PrintServiceCallbacks serviceCallbacks = createMockPrinterServiceCallbacks(434 PrintServiceCallbacks serviceCallbacks = createMockPrinterServiceCallbacks(475 PrintServiceCallbacks serviceCallbacks1 = createMockPrinterServiceCallbacks(482 PrintServiceCallbacks serviceCallbacks2 = createMockPrinterServiceCallbacks(632 PrintServiceCallbacks serviceCallbacks = createMockPrinterServiceCallbacks(
38 import android.print.test.services.PrintServiceCallbacks;154 PrintServiceCallbacks firstServiceCallbacks = createMockPrintServiceCallbacks( in defaultPrinterBecomesAvailableWhileInBackground()206 PrintServiceCallbacks firstServiceCallbacks = createMockPrintServiceCallbacks( in defaultPrinterBecomesUsableWhileInBackground()251 PrintServiceCallbacks firstServiceCallbacks = createMockPrintServiceCallbacks( in normalLifecycle()364 PrintServiceCallbacks firstServiceCallbacks = createMockPrintServiceCallbacks( in cancelPrintServicesAlertDialog()459 PrintServiceCallbacks firstServiceCallbacks = createMockPrintServiceCallbacks( in startPrinterDiscoveryWithHistoricalPrinters()524 PrintServiceCallbacks firstServiceCallbacksWithPrinters = createMockPrintServiceCallbacks( in startPrinterDiscoveryWithHistoricalPrinters()605 PrintServiceCallbacks firstServiceCallbacks = createMockPrintServiceCallbacks( in addRemovePrinters()678 private PrintServiceCallbacks createSecondMockPrintServiceCallbacks() { in createSecondMockPrintServiceCallbacks()
39 import android.print.test.services.PrintServiceCallbacks;107 PrintServiceCallbacks printServiceCallbacks = createMockPrintServiceCallbacks( in printDocumentBaseTest()320 private PrintServiceCallbacks createFirstMockPrintServiceCallbacks() { in createFirstMockPrintServiceCallbacks()330 private PrintServiceCallbacks createSecondMockPrintServiceCallbacks() {
35 import android.print.test.services.PrintServiceCallbacks;126 private PrintServiceCallbacks createFirstMockPrinterServiceCallbacks( in createFirstMockPrinterServiceCallbacks()277 PrintServiceCallbacks serviceCallbacks = createFirstMockPrinterServiceCallbacks(322 PrintServiceCallbacks serviceCallbacks = createFirstMockPrinterServiceCallbacks(
32 import android.print.test.services.PrintServiceCallbacks;306 private PrintServiceCallbacks createFirstMockPrinterServiceCallbacks( in createFirstMockPrinterServiceCallbacks()325 PrintServiceCallbacks serviceCallbacks = createFirstMockPrinterServiceCallbacks( in printerInfos()
42 import android.print.test.services.PrintServiceCallbacks;86 PrintServiceCallbacks firstServiceCallbacks = createMockPrintServiceCallbacks( in setDefaultPrinter()188 PrintServiceCallbacks firstServiceCallbacks = createMockPrintServiceCallbacks( in adjustPageRangeAndVerifyPages()406 private PrintServiceCallbacks createSecondMockPrintServiceCallbacks() { in createSecondMockPrintServiceCallbacks()
41 import android.print.test.services.PrintServiceCallbacks;125 private PrintServiceCallbacks createFirstMockPrinterServiceCallbacks( in createFirstMockPrinterServiceCallbacks()159 PrintServiceCallbacks serviceCallbacks = createFirstMockPrinterServiceCallbacks(228 PrintServiceCallbacks serviceCallbacks = createFirstMockPrinterServiceCallbacks(320 PrintServiceCallbacks serviceCallbacks = createFirstMockPrinterServiceCallbacks(
39 import android.print.test.services.PrintServiceCallbacks;161 PrintServiceCallbacks firstServiceCallbacks = createMockPrintServiceCallbacks( in illegalPrinterCapabilityInfos()294 PrintServiceCallbacks firstServiceCallbacks = createMockPrintServiceCallbacks( in sanePrinterCapabilityInfos()345 PrintServiceCallbacks firstServiceCallbacks = createMockPrintServiceCallbacks( in testPrinterCapabilityInfo()
36 import android.print.test.services.PrintServiceCallbacks;111 private @NonNull PrintServiceCallbacks createFirstMockPrinterServiceCallbacks( in createFirstMockPrinterServiceCallbacks()173 PrintServiceCallbacks serviceCallbacks = createFirstMockPrinterServiceCallbacks(
36 import android.print.test.services.PrintServiceCallbacks;218 private PrintServiceCallbacks createDummyMockPrintServiceCallbacks() { in createDummyMockPrintServiceCallbacks()283 PrintServiceCallbacks serviceCallbacks = createMockPrintServiceCallbacks(
36 import android.print.test.services.PrintServiceCallbacks;176 PrintServiceCallbacks firstServiceCallbacks = createMockPrintServiceCallbacks( in setUpPrinting()
39 import android.print.test.services.PrintServiceCallbacks;183 PrintServiceCallbacks firstServiceCallbacks = createMockPrintServiceCallbacks( in setUpServicesAndAdapter()
43 import android.print.test.services.PrintServiceCallbacks;2046 private PrintServiceCallbacks createFirstMockPrintServiceCallbacks() { in createFirstMockPrintServiceCallbacks()2056 private PrintServiceCallbacks createSecondMockPrintServiceCallbacks() {
59 import android.print.test.services.PrintServiceCallbacks;793 protected PrintServiceCallbacks createMockPrintServiceCallbacks( in createMockPrintServiceCallbacks()796 final PrintServiceCallbacks service = mock(PrintServiceCallbacks.class); in createMockPrintServiceCallbacks()