Home
last modified time | relevance | path

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

/cts/tests/tests/print/src/android/print/cts/
DPageRangeAdjustmentTest.java84 FirstPrintService.setCallbacks(firstServiceCallbacks); in setDefaultPrinter()
85 SecondPrintService.setCallbacks(createSecondMockPrintServiceCallbacks()); in setDefaultPrinter()
112 FirstPrintService.setCallbacks(firstServiceCallbacks); in allPagesWantedAndAllPagesWritten()
113 SecondPrintService.setCallbacks(createSecondMockPrintServiceCallbacks()); in allPagesWantedAndAllPagesWritten()
164 FirstPrintService.setCallbacks(firstServiceCallbacks); in somePagesWantedAndAllPagesWritten()
165 SecondPrintService.setCallbacks(createSecondMockPrintServiceCallbacks()); in somePagesWantedAndAllPagesWritten()
255 FirstPrintService.setCallbacks(firstServiceCallbacks); in somePagesWantedAndSomeMorePagesWritten()
256 SecondPrintService.setCallbacks(createSecondMockPrintServiceCallbacks()); in somePagesWantedAndSomeMorePagesWritten()
346 FirstPrintService.setCallbacks(firstServiceCallbacks); in somePagesWantedAndNotWritten()
347 SecondPrintService.setCallbacks(createSecondMockPrintServiceCallbacks()); in somePagesWantedAndNotWritten()
[all …]
DPrintServicesTest.java287 FirstPrintService.setCallbacks(serviceCallbacks);
290 SecondPrintService.setCallbacks(createMockPrintServiceCallbacks(null, null, null));
393 FirstPrintService.setCallbacks(serviceCallbacks);
396 SecondPrintService.setCallbacks(createMockPrintServiceCallbacks(null, null, null));
457 FirstPrintService.setCallbacks(serviceCallbacks);
463 SecondPrintService.setCallbacks(createMockPrintServiceCallbacks(null, null, null));
497 FirstPrintService.setCallbacks(serviceCallbacks1);
504 SecondPrintService.setCallbacks(serviceCallbacks2);
598 FirstPrintService.setCallbacks(serviceCallbacks);
601 SecondPrintService.setCallbacks(createMockPrintServiceCallbacks(null, null, null));
DPrinterDiscoverySessionLifecycleTest.java165 FirstPrintService.setCallbacks(firstServiceCallbacks); in defaultPrinterBecomesAvailableWhileInBackground()
166 SecondPrintService.setCallbacks(createSecondMockPrintServiceCallbacks()); in defaultPrinterBecomesAvailableWhileInBackground()
212 FirstPrintService.setCallbacks(firstServiceCallbacks); in defaultPrinterBecomesUsableWhileInBackground()
213 SecondPrintService.setCallbacks(createSecondMockPrintServiceCallbacks()); in defaultPrinterBecomesUsableWhileInBackground()
258 FirstPrintService.setCallbacks(firstServiceCallbacks); in normalLifecycle()
259 SecondPrintService.setCallbacks(createSecondMockPrintServiceCallbacks()); in normalLifecycle()
364 FirstPrintService.setCallbacks(firstServiceCallbacks); in cancelPrintServicesAlertDialog()
365 SecondPrintService.setCallbacks(createSecondMockPrintServiceCallbacks()); in cancelPrintServicesAlertDialog()
454 FirstPrintService.setCallbacks(firstServiceCallbacks); in startPrinterDiscoveryWithHistoricalPrinters()
455 SecondPrintService.setCallbacks(createSecondMockPrintServiceCallbacks()); in startPrinterDiscoveryWithHistoricalPrinters()
[all …]
DPrintDocumentInfoTest.java67 FirstPrintService.setCallbacks(createFirstMockPrintServiceCallbacks()); in setDefaultPrinter()
68 SecondPrintService.setCallbacks(createSecondMockPrintServiceCallbacks()); in setDefaultPrinter()
89 FirstPrintService.setCallbacks(createFirstMockPrintServiceCallbacks()); in printDocumentBaseTest()
90 SecondPrintService.setCallbacks(createSecondMockPrintServiceCallbacks()); in printDocumentBaseTest()
116 FirstPrintService.setCallbacks(printServiceCallbacks); in printDocumentBaseTest()
DPrinterCapabilitiesTest.java164 FirstPrintService.setCallbacks(firstServiceCallbacks); in illegalPrinterCapabilityInfos()
165 SecondPrintService.setCallbacks(createMockPrintServiceCallbacks(null, null, null)); in illegalPrinterCapabilityInfos()
297 FirstPrintService.setCallbacks(firstServiceCallbacks); in sanePrinterCapabilityInfos()
298 SecondPrintService.setCallbacks(createMockPrintServiceCallbacks(null, null, null)); in sanePrinterCapabilityInfos()
348 FirstPrintService.setCallbacks(firstServiceCallbacks); in testPrinterCapabilityInfo()
349 SecondPrintService.setCallbacks(createMockPrintServiceCallbacks(null, null, null)); in testPrinterCapabilityInfo()
DPrintJobStateTransitionsTest.java281 FirstPrintService.setCallbacks(serviceCallbacks);
284 SecondPrintService.setCallbacks(createMockPrintServiceCallbacks(null, null, null));
360 FirstPrintService.setCallbacks(serviceCallbacks);
363 SecondPrintService.setCallbacks(createMockPrintServiceCallbacks(null, null, null));
DPrintJobTest.java163 FirstPrintService.setCallbacks(serviceCallbacks);
166 SecondPrintService.setCallbacks(createMockPrintServiceCallbacks(null, null, null));
225 FirstPrintService.setCallbacks(serviceCallbacks);
228 SecondPrintService.setCallbacks(createMockPrintServiceCallbacks(null, null, null));
395 FirstPrintService.setCallbacks(serviceCallbacks);
398 SecondPrintService.setCallbacks(createMockPrintServiceCallbacks(null, null, null));
DPageRangeAdjustAndVerify.java94 FirstPrintService.setCallbacks(firstServiceCallbacks); in setDefaultPrinter()
95 SecondPrintService.setCallbacks(createSecondMockPrintServiceCallbacks()); in setDefaultPrinter()
263 FirstPrintService.setCallbacks(firstServiceCallbacks); in adjustPageRangeAndVerifyPages()
264 SecondPrintService.setCallbacks(createSecondMockPrintServiceCallbacks()); in adjustPageRangeAndVerifyPages()
DPrinterInfoTest.java330 FirstPrintService.setCallbacks(serviceCallbacks); in printerInfos()
333 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.java199 FirstPrintService.setCallbacks(firstServiceCallbacks); in setUpServicesAndAdapter()
200 SecondPrintService.setCallbacks(createMockPrintServiceCallbacks(null, null, null)); in setUpServicesAndAdapter()
DPrintAttributesTest.java292 FirstPrintService.setCallbacks(serviceCallbacks);
296 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
DAppWidgetProviderWithFeatures.java24 public static void setCallbacks(AppWidgetProviderCallbacks callbacks) { in setCallbacks() method in AppWidgetProviderWithFeatures
/cts/tests/tests/print/printTestUtilLib/src/android/print/test/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/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.java363 public static void setCallbacks(InCallServiceCallbacks callbacks) { in setCallbacks() method in MockInCallService
DBaseTelecomTestWithMockServices.java332 MockInCallService.setCallbacks(mInCallCallbacks); in setupCallbacks()