Home
last modified time | relevance | path

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

12

/cts/tests/tests/print/src/android/print/cts/
DPageRangeAdjustmentTest.java85 FirstPrintService.setCallbacks(firstServiceCallbacks); in setDefaultPrinter()
86 SecondPrintService.setCallbacks(createSecondMockPrintServiceCallbacks()); in setDefaultPrinter()
113 FirstPrintService.setCallbacks(firstServiceCallbacks); in allPagesWantedAndAllPagesWritten()
114 SecondPrintService.setCallbacks(createSecondMockPrintServiceCallbacks()); in allPagesWantedAndAllPagesWritten()
165 FirstPrintService.setCallbacks(firstServiceCallbacks); in somePagesWantedAndAllPagesWritten()
166 SecondPrintService.setCallbacks(createSecondMockPrintServiceCallbacks()); in somePagesWantedAndAllPagesWritten()
256 FirstPrintService.setCallbacks(firstServiceCallbacks); in somePagesWantedAndSomeMorePagesWritten()
257 SecondPrintService.setCallbacks(createSecondMockPrintServiceCallbacks()); in somePagesWantedAndSomeMorePagesWritten()
347 FirstPrintService.setCallbacks(firstServiceCallbacks); in somePagesWantedAndNotWritten()
348 SecondPrintService.setCallbacks(createSecondMockPrintServiceCallbacks()); in somePagesWantedAndNotWritten()
[all …]
DPrinterDiscoverySessionLifecycleTest.java158 FirstPrintService.setCallbacks(firstServiceCallbacks); in defaultPrinterBecomesAvailableWhileInBackground()
159 SecondPrintService.setCallbacks(createSecondMockPrintServiceCallbacks()); in defaultPrinterBecomesAvailableWhileInBackground()
210 FirstPrintService.setCallbacks(firstServiceCallbacks); in defaultPrinterBecomesUsableWhileInBackground()
211 SecondPrintService.setCallbacks(createSecondMockPrintServiceCallbacks()); in defaultPrinterBecomesUsableWhileInBackground()
261 FirstPrintService.setCallbacks(firstServiceCallbacks); in normalLifecycle()
262 SecondPrintService.setCallbacks(createSecondMockPrintServiceCallbacks()); in normalLifecycle()
374 FirstPrintService.setCallbacks(firstServiceCallbacks); in cancelPrintServicesAlertDialog()
375 SecondPrintService.setCallbacks(createSecondMockPrintServiceCallbacks()); in cancelPrintServicesAlertDialog()
469 FirstPrintService.setCallbacks(firstServiceCallbacks); in startPrinterDiscoveryWithHistoricalPrinters()
470 SecondPrintService.setCallbacks(createSecondMockPrintServiceCallbacks()); in startPrinterDiscoveryWithHistoricalPrinters()
[all …]
DPrintServicesTest.java269 FirstPrintService.setCallbacks(serviceCallbacks);
272 SecondPrintService.setCallbacks(createMockPrintServiceCallbacks(null, null, null));
377 FirstPrintService.setCallbacks(serviceCallbacks);
380 SecondPrintService.setCallbacks(createMockPrintServiceCallbacks(null, null, null));
438 FirstPrintService.setCallbacks(serviceCallbacks);
444 SecondPrintService.setCallbacks(createMockPrintServiceCallbacks(null, null, null));
477 FirstPrintService.setCallbacks(serviceCallbacks1);
484 SecondPrintService.setCallbacks(serviceCallbacks2);
636 FirstPrintService.setCallbacks(serviceCallbacks);
639 SecondPrintService.setCallbacks(createMockPrintServiceCallbacks(null, null, null));
DPrintDocumentInfoTest.java68 FirstPrintService.setCallbacks(createFirstMockPrintServiceCallbacks()); in setDefaultPrinter()
69 SecondPrintService.setCallbacks(createSecondMockPrintServiceCallbacks()); in setDefaultPrinter()
90 FirstPrintService.setCallbacks(createFirstMockPrintServiceCallbacks()); in printDocumentBaseTest()
91 SecondPrintService.setCallbacks(createSecondMockPrintServiceCallbacks()); in printDocumentBaseTest()
120 FirstPrintService.setCallbacks(printServiceCallbacks); in printDocumentBaseTest()
DPrinterCapabilitiesTest.java165 FirstPrintService.setCallbacks(firstServiceCallbacks); in illegalPrinterCapabilityInfos()
166 SecondPrintService.setCallbacks(createMockPrintServiceCallbacks(null, null, null)); in illegalPrinterCapabilityInfos()
298 FirstPrintService.setCallbacks(firstServiceCallbacks); in sanePrinterCapabilityInfos()
299 SecondPrintService.setCallbacks(createMockPrintServiceCallbacks(null, null, null)); in sanePrinterCapabilityInfos()
349 FirstPrintService.setCallbacks(firstServiceCallbacks); in testPrinterCapabilityInfo()
350 SecondPrintService.setCallbacks(createMockPrintServiceCallbacks(null, null, null)); in testPrinterCapabilityInfo()
DPrintJobTest.java163 FirstPrintService.setCallbacks(serviceCallbacks);
166 SecondPrintService.setCallbacks(createMockPrintServiceCallbacks(null, null, null));
232 FirstPrintService.setCallbacks(serviceCallbacks);
235 SecondPrintService.setCallbacks(createMockPrintServiceCallbacks(null, null, null));
402 FirstPrintService.setCallbacks(serviceCallbacks);
405 SecondPrintService.setCallbacks(createMockPrintServiceCallbacks(null, null, null));
DPrintJobStateTransitionsTest.java281 FirstPrintService.setCallbacks(serviceCallbacks);
284 SecondPrintService.setCallbacks(createMockPrintServiceCallbacks(null, null, null));
360 FirstPrintService.setCallbacks(serviceCallbacks);
363 SecondPrintService.setCallbacks(createMockPrintServiceCallbacks(null, null, null));
DPageRangeAdjustAndVerify.java95 FirstPrintService.setCallbacks(firstServiceCallbacks); in setDefaultPrinter()
96 SecondPrintService.setCallbacks(createSecondMockPrintServiceCallbacks()); in setDefaultPrinter()
264 FirstPrintService.setCallbacks(firstServiceCallbacks); in adjustPageRangeAndVerifyPages()
265 SecondPrintService.setCallbacks(createSecondMockPrintServiceCallbacks()); in adjustPageRangeAndVerifyPages()
DInteractionBetweenPrintDocumentAndPrinterDiscovery.java111 FirstPrintService.setCallbacks(createMockPrintServiceCallbacks((inv) -> callbacks, null, in printerReappearsWhileCanceling()
113 SecondPrintService.setCallbacks(createMockPrintServiceCallbacks(null, null, null)); in printerReappearsWhileCanceling()
DPrinterInfoTest.java329 FirstPrintService.setCallbacks(serviceCallbacks); in printerInfos()
332 SecondPrintService.setCallbacks(createMockPrintServiceCallbacks(null, null, null)); in printerInfos()
DPrinterCapabilitiesChangeTest.java180 FirstPrintService.setCallbacks(firstServiceCallbacks); in setUpPrinting()
181 SecondPrintService.setCallbacks(createMockPrintServiceCallbacks(null, null, null)); in setUpPrinting()
DInterfaceForAppsTest.java177 FirstPrintService.setCallbacks(serviceCallbacks);
180 SecondPrintService.setCallbacks(createMockPrintServiceCallbacks(null, null, null));
DCustomPrintOptionsTest.java187 FirstPrintService.setCallbacks(firstServiceCallbacks); in setUpServicesAndAdapter()
188 SecondPrintService.setCallbacks(createMockPrintServiceCallbacks(null, null, null)); in setUpServicesAndAdapter()
DPrintAttributesTest.java293 FirstPrintService.setCallbacks(serviceCallbacks);
297 SecondPrintService.setCallbacks(createDummyMockPrintServiceCallbacks());
/cts/tests/tests/telecom/src/android/telecom/cts/
DCallScreeningServiceTest.java100 MockCallScreeningService.setCallbacks(callbacks); in testTelephonyCall_bindsToCallScreeningService()
126 MockCallScreeningService.setCallbacks(callbacks); in testBindsToCallScreeningServiceWhenContactExist()
155 MockCallScreeningService.setCallbacks(callbacks); in testVerificationFailed()
179 MockCallScreeningService.setCallbacks(callbacks); in testNumberNotVerified()
DMockCallScreeningService.java69 public static void setCallbacks(CallScreeningServiceCallbacks callbacks) { in setCallbacks() method in MockCallScreeningService
DBasicInCallServiceTest.java106 MockInCallService.setCallbacks(callbacks); in testTelephonyCall_bindsToInCallServiceAndAddsCall()
/cts/tests/tests/print/printTestUtilLib/src/android/print/test/services/
DFirstPrintService.java25 public static void setCallbacks(PrintServiceCallbacks callbacks) { in setCallbacks() method in FirstPrintService
/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
DAppWidgetProviderWithFeatures.java24 public static void setCallbacks(AppWidgetProviderCallbacks callbacks) { in setCallbacks() method in AppWidgetProviderWithFeatures
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/
DImsCallingTest.java216 InCallServiceStateValidator.setCallbacks(mServiceCallBack); in testOutGoingCall()
252 InCallServiceStateValidator.setCallbacks(mServiceCallBack); in testOutGoingCallStartFailed()
285 InCallServiceStateValidator.setCallbacks(mServiceCallBack); in testIncomingCall()
315 InCallServiceStateValidator.setCallbacks(mServiceCallBack); in testIncomingCallReturnListener()
347 InCallServiceStateValidator.setCallbacks(mServiceCallBack); in testIncomingCallReject()
377 InCallServiceStateValidator.setCallbacks(mServiceCallBack); in testOutGoingCallForExecutor()
413 InCallServiceStateValidator.setCallbacks(mServiceCallBack); in testOutGoingCallHoldResume()
458 InCallServiceStateValidator.setCallbacks(mServiceCallBack); in testOutGoingCallHoldFailure()
501 InCallServiceStateValidator.setCallbacks(mServiceCallBack); in testOutGoingCallResumeFailure()
548 InCallServiceStateValidator.setCallbacks(mServiceCallBack); in testOutGoingCallReceivedHoldResume()
[all …]
DCallDomainSelectionTestOnMockModem.java309 InCallServiceStateValidator.setCallbacks(mServiceCallBack); in testCombinedAttachPsSelected()
371 InCallServiceStateValidator.setCallbacks(mServiceCallBack); in testVoiceCallOverPs()
487 InCallServiceStateValidator.setCallbacks(mServiceCallBack); in testVoiceCallOverVoWifi()
549 InCallServiceStateValidator.setCallbacks(mServiceCallBack); in testCallWhenImsForSmsOnlyAndCsfbSupported()
607 InCallServiceStateValidator.setCallbacks(mServiceCallBack); in testCallWhenImsForSmsOnlyAndCsfbNotSupported()
683 InCallServiceStateValidator.setCallbacks(mServiceCallBack); in testPsVoiceCallEndedWhenRinging()
783 InCallServiceStateValidator.setCallbacks(mServiceCallBack); in testPsCallEndOnPeerDevice()
840 InCallServiceStateValidator.setCallbacks(mServiceCallBack); in testWifiCallEndOnPeerDevice()
947 InCallServiceStateValidator.setCallbacks(mServiceCallBack); in testMultipleVoLteCalls()
1025 InCallServiceStateValidator.setCallbacks(mServiceCallBack); in testMultipleVoLteCallsWithIncomingCall()
[all …]
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DInCallServiceStateValidator.java75 public static void setCallbacks(InCallServiceCallbacks callbacks) { in setCallbacks() method in InCallServiceStateValidator
/cts/tests/tests/appwidget/src/android/appwidget/cts/
DAppWidgetTest.java258 FirstAppWidgetProvider.setCallbacks(callbacks); in testAppWidgetProviderCallbacks()
355 FirstAppWidgetProvider.setCallbacks(null); in testAppWidgetProviderCallbacks()
368 FirstAppWidgetProvider.setCallbacks(firstCallbacks); in testTwoAppWidgetProviderCallbacks()
373 SecondAppWidgetProvider.setCallbacks(secondCallbacks); in testTwoAppWidgetProviderCallbacks()
446 FirstAppWidgetProvider.setCallbacks(null); in testTwoAppWidgetProviderCallbacks()
447 SecondAppWidgetProvider.setCallbacks(null); in testTwoAppWidgetProviderCallbacks()
1351 FirstAppWidgetProvider.setCallbacks(callbacks); in testCollectionWidgets()
1412 FirstAppWidgetProvider.setCallbacks(null); in testCollectionWidgets()

12