Home
last modified time | relevance | path

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

/cts/tests/tests/print/src/android/print/cts/
DPrintDocumentAdapterContractTest.java66 FirstPrintService.setCallbacks(createFirstMockPrintServiceCallbacks()); in testNoPrintOptionsOrPrinterChange()
67 SecondPrintService.setCallbacks(createSecondMockPrintServiceCallbacks()); in testNoPrintOptionsOrPrinterChange()
190 FirstPrintService.setCallbacks(createFirstMockPrintServiceCallbacks()); in testNoPrintOptionsOrPrinterChangeCanceled()
191 SecondPrintService.setCallbacks(createSecondMockPrintServiceCallbacks()); in testNoPrintOptionsOrPrinterChangeCanceled()
284 FirstPrintService.setCallbacks(createFirstMockPrintServiceCallbacks()); in testPrintOptionsChangeAndNoPrinterChange()
285 SecondPrintService.setCallbacks(createSecondMockPrintServiceCallbacks()); in testPrintOptionsChangeAndNoPrinterChange()
488 FirstPrintService.setCallbacks(createFirstMockPrintServiceCallbacks()); in testPrintOptionsChangeAndPrinterChange()
489 SecondPrintService.setCallbacks(createSecondMockPrintServiceCallbacks()); in testPrintOptionsChangeAndPrinterChange()
653 FirstPrintService.setCallbacks(createFirstMockPrintServiceCallbacks()); in testPrintOptionsChangeAndNoPrinterChangeAndContentChange()
654 SecondPrintService.setCallbacks(createSecondMockPrintServiceCallbacks()); in testPrintOptionsChangeAndNoPrinterChangeAndContentChange()
[all …]
DPageRangeAdjustmentTest.java94 FirstPrintService.setCallbacks(firstServiceCallbacks); in testAllPagesWantedAndAllPagesWritten()
95 SecondPrintService.setCallbacks(createSecondMockPrintServiceCallbacks()); in testAllPagesWantedAndAllPagesWritten()
202 FirstPrintService.setCallbacks(firstServiceCallbacks); in testSomePagesWantedAndAllPagesWritten()
203 SecondPrintService.setCallbacks(createSecondMockPrintServiceCallbacks()); in testSomePagesWantedAndAllPagesWritten()
322 FirstPrintService.setCallbacks(firstServiceCallbacks); in testSomePagesWantedAndSomeMorePagesWritten()
323 SecondPrintService.setCallbacks(createSecondMockPrintServiceCallbacks()); in testSomePagesWantedAndSomeMorePagesWritten()
439 FirstPrintService.setCallbacks(firstServiceCallbacks); in testSomePagesWantedAndNotWritten()
440 SecondPrintService.setCallbacks(createSecondMockPrintServiceCallbacks()); in testSomePagesWantedAndNotWritten()
546 FirstPrintService.setCallbacks(firstServiceCallbacks); in testWantedPagesAlreadyWrittenForPreview()
547 SecondPrintService.setCallbacks(createSecondMockPrintServiceCallbacks()); in testWantedPagesAlreadyWrittenForPreview()
DPrinterDiscoverySessionLifecycleTest.java89 FirstPrintService.setCallbacks(firstServiceCallbacks); in testNormalLifecycle()
90 SecondPrintService.setCallbacks(createSecondMockPrintServiceCallbacks()); in testNormalLifecycle()
189 FirstPrintService.setCallbacks(firstServiceCallbacks); in testCancelPrintServicesAlertDialog()
190 SecondPrintService.setCallbacks(createSecondMockPrintServiceCallbacks()); in testCancelPrintServicesAlertDialog()
277 FirstPrintService.setCallbacks(firstServiceCallbacks); in testStartPrinterDiscoveryWithHistoricalPrinters()
278 SecondPrintService.setCallbacks(createSecondMockPrintServiceCallbacks()); in testStartPrinterDiscoveryWithHistoricalPrinters()
DPrinterCapabilitiesTest.java308 FirstPrintService.setCallbacks(firstServiceCallbacks); in testPrinterCapabilityChange()
309 SecondPrintService.setCallbacks(createMockPrintServiceCallbacks(null, null, null)); in testPrinterCapabilityChange()
470 FirstPrintService.setCallbacks(firstServiceCallbacks); in testIllegalPrinterCapabilityInfos()
471 SecondPrintService.setCallbacks(createMockPrintServiceCallbacks(null, null, null)); in testIllegalPrinterCapabilityInfos()
583 FirstPrintService.setCallbacks(firstServiceCallbacks); in testSanePrinterCapabilityInfos()
584 SecondPrintService.setCallbacks(createMockPrintServiceCallbacks(null, null, null)); in testSanePrinterCapabilityInfos()
649 FirstPrintService.setCallbacks(firstServiceCallbacks); in testPrinterCapabilityInfo()
650 SecondPrintService.setCallbacks(createMockPrintServiceCallbacks(null, null, null)); in testPrinterCapabilityInfo()
DPrintServicesTest.java391 FirstPrintService.setCallbacks(serviceCallbacks);
394 SecondPrintService.setCallbacks(createMockPrintServiceCallbacks(null, null, null));
536 FirstPrintService.setCallbacks(serviceCallbacks);
539 SecondPrintService.setCallbacks(createMockPrintServiceCallbacks(null, null, null));
DPrintJobTest.java262 FirstPrintService.setCallbacks(serviceCallbacks);
265 SecondPrintService.setCallbacks(createMockPrintServiceCallbacks(null, null, null));
596 FirstPrintService.setCallbacks(serviceCallbacks);
599 SecondPrintService.setCallbacks(createMockPrintServiceCallbacks(null, null, null));
DPrinterInfoTest.java423 FirstPrintService.setCallbacks(serviceCallbacks);
426 SecondPrintService.setCallbacks(createMockPrintServiceCallbacks(null, null, null));
DCustomPrintOptionsTest.java208 FirstPrintService.setCallbacks(firstServiceCallbacks); in testCase()
209 SecondPrintService.setCallbacks(createMockPrintServiceCallbacks(null, null, null)); in testCase()
DPrintAttributesTest.java313 FirstPrintService.setCallbacks(serviceCallbacks);
317 SecondPrintService.setCallbacks(createDummyMockPrintServiceCallbacks());
/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/print/src/android/print/cts/services/
DSecondPrintService.java25 public static void setCallbacks(PrintServiceCallbacks callbacks) { in setCallbacks() method in SecondPrintService
DFirstPrintService.java25 public static void setCallbacks(PrintServiceCallbacks callbacks) { in setCallbacks() method in FirstPrintService
/cts/tests/tests/telecom/src/android/telecom/cts/
DBasicInCallServiceTest.java75 MockInCallService.setCallbacks(callbacks); in testTelephonyCall_bindsToInCallServiceAndAddsCall()
DMockCallScreeningService.java69 public static void setCallbacks(CallScreeningServiceCallbacks callbacks) { in setCallbacks() method in MockCallScreeningService
DCallScreeningServiceTest.java98 MockCallScreeningService.setCallbacks(callbacks); in testTelephonyCall_bindsToCallScreeningService()
DMockInCallService.java301 public static void setCallbacks(InCallServiceCallbacks callbacks) { in setCallbacks() method in MockInCallService
DBaseTelecomTestWithMockServices.java251 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()