Home
last modified time | relevance | path

Searched refs:setCallbacks (Results 1 – 11 of 11) sorted by relevance

/cts/tests/tests/print/src/android/print/cts/
DPrintDocumentAdapterContractTest.java66 FirstPrintService.setCallbacks(createFirstMockPrintServiceCallbacks()); in testNoPrintOptionsOrPrinterChange()
67 SecondPrintService.setCallbacks(createSecondMockPrintServiceCallbacks()); in testNoPrintOptionsOrPrinterChange()
186 FirstPrintService.setCallbacks(createFirstMockPrintServiceCallbacks()); in testNoPrintOptionsOrPrinterChangeCanceled()
187 SecondPrintService.setCallbacks(createSecondMockPrintServiceCallbacks()); in testNoPrintOptionsOrPrinterChangeCanceled()
279 FirstPrintService.setCallbacks(createFirstMockPrintServiceCallbacks()); in testPrintOptionsChangeAndNoPrinterChange()
280 SecondPrintService.setCallbacks(createSecondMockPrintServiceCallbacks()); in testPrintOptionsChangeAndNoPrinterChange()
479 FirstPrintService.setCallbacks(createFirstMockPrintServiceCallbacks()); in testPrintOptionsChangeAndPrinterChange()
480 SecondPrintService.setCallbacks(createSecondMockPrintServiceCallbacks()); in testPrintOptionsChangeAndPrinterChange()
639 FirstPrintService.setCallbacks(createFirstMockPrintServiceCallbacks()); in testPrintOptionsChangeAndNoPrinterChangeAndContentChange()
640 SecondPrintService.setCallbacks(createSecondMockPrintServiceCallbacks()); in testPrintOptionsChangeAndNoPrinterChangeAndContentChange()
[all …]
DPageRangeAdjustmentTest.java92 FirstPrintService.setCallbacks(firstServiceCallbacks); in testAllPagesWantedAndAllPagesWritten()
93 SecondPrintService.setCallbacks(createSecondMockPrintServiceCallbacks()); in testAllPagesWantedAndAllPagesWritten()
197 FirstPrintService.setCallbacks(firstServiceCallbacks); in testSomePagesWantedAndAllPagesWritten()
198 SecondPrintService.setCallbacks(createSecondMockPrintServiceCallbacks()); in testSomePagesWantedAndAllPagesWritten()
312 FirstPrintService.setCallbacks(firstServiceCallbacks); in testSomePagesWantedAndSomeMorePagesWritten()
313 SecondPrintService.setCallbacks(createSecondMockPrintServiceCallbacks()); in testSomePagesWantedAndSomeMorePagesWritten()
425 FirstPrintService.setCallbacks(firstServiceCallbacks); in testSomePagesWantedAndNotWritten()
426 SecondPrintService.setCallbacks(createSecondMockPrintServiceCallbacks()); in testSomePagesWantedAndNotWritten()
532 FirstPrintService.setCallbacks(firstServiceCallbacks); in testWantedPagesAlreadyWrittenForPreview()
533 SecondPrintService.setCallbacks(createSecondMockPrintServiceCallbacks()); in testWantedPagesAlreadyWrittenForPreview()
DPrinterDiscoverySessionLifecycleTest.java90 FirstPrintService.setCallbacks(firstServiceCallbacks); in testNormalLifecycle()
91 SecondPrintService.setCallbacks(createSecondMockPrintServiceCallbacks()); in testNormalLifecycle()
187 FirstPrintService.setCallbacks(firstServiceCallbacks); in testStartPrinterDiscoveryWithHistoricalPrinters()
188 SecondPrintService.setCallbacks(createSecondMockPrintServiceCallbacks()); in testStartPrinterDiscoveryWithHistoricalPrinters()
/cts/tests/tests/print/src/android/print/cts/services/
DFirstPrintService.java25 public static void setCallbacks(PrintServiceCallbacks callbacks) { in setCallbacks() method in FirstPrintService
DSecondPrintService.java25 public static void setCallbacks(PrintServiceCallbacks callbacks) { in setCallbacks() method in SecondPrintService
/cts/tests/tests/appwidget/src/android/appwidget/cts/provider/
DFirstAppWidgetProvider.java24 public static void setCallbacks(AppWidgetProviderCallbacks callbacks) { in setCallbacks() method in FirstAppWidgetProvider
DSecondAppWidgetProvider.java24 public static void setCallbacks(AppWidgetProviderCallbacks callbacks) { in setCallbacks() method in SecondAppWidgetProvider
/cts/tests/tests/telecom/src/android/telecom/cts/
DBasicInCallServiceTest.java75 MockInCallService.setCallbacks(callbacks); in testTelephonyCall_bindsToInCallServiceAndAddsCall()
DMockInCallService.java290 public static void setCallbacks(InCallServiceCallbacks callbacks) { in setCallbacks() method in MockInCallService
DBaseTelecomTestWithMockServices.java221 MockInCallService.setCallbacks(mInCallCallbacks); in setupCallbacks()
/cts/tests/tests/appwidget/src/android/appwidget/cts/
DAppWidgetTest.java203 FirstAppWidgetProvider.setCallbacks(callbacks); in testAppWidgetProviderCallbacks()
300 FirstAppWidgetProvider.setCallbacks(null); in testAppWidgetProviderCallbacks()
315 FirstAppWidgetProvider.setCallbacks(firstCallbacks); in testTwoAppWidgetProviderCallbacks()
320 SecondAppWidgetProvider.setCallbacks(secondCallbacks); in testTwoAppWidgetProviderCallbacks()
394 FirstAppWidgetProvider.setCallbacks(null); in testTwoAppWidgetProviderCallbacks()
395 SecondAppWidgetProvider.setCallbacks(null); in testTwoAppWidgetProviderCallbacks()
1229 FirstAppWidgetProvider.setCallbacks(callbacks); in testCollectionWidgets()
1290 FirstAppWidgetProvider.setCallbacks(null); in testCollectionWidgets()