Home
last modified time | relevance | path

Searched refs:setService (Results 1 – 25 of 28) sorted by relevance

12

/cts/tests/tests/wifi/src/android/net/wifi/sharedconnectivity/cts/app/
DSharedConnectivityManagerTest.java264 manager.setService(mService); in registerCallback_serviceConnected()
275 manager.setService(mService); in registerCallback_doubleRegistration_shouldFail()
286 manager.setService(mService); in registerCallback_remoteException_shouldFail()
297 manager.setService(null); in unregisterCallback_withoutRegisteringFirst_serviceNotConnected_shouldFail()
305 manager.setService(mService); in unregisterCallback_withoutRegisteringFirst_serviceConnected_shouldFail()
313 manager.setService(mService); in unregisterCallback()
324 manager.setService(mService); in unregisterCallback_doubleUnregistration_serviceConnected_shouldFail()
335 manager.setService(null); in unregisterCallback_doubleUnregistration_serviceNotConnected_shouldFail()
346 manager.setService(mService); in unregisterCallback_remoteException_shouldFail()
368 manager.setService(null); in connectHotspotNetwork_serviceNotConnected_shouldFail()
[all …]
/cts/tests/tests/telecom/src/android/telecom/cts/
DMockCallScreeningService.java47 final public void setService(MockCallScreeningService service) { in setService() method in MockCallScreeningService.CallScreeningServiceCallbacks
56 getCallbacks().setService(this); in onBind()
75 sCallbacks.setService(this); in getCallbacks()
DMockInCallService.java87 final public void setService(MockInCallService service) { in setService() method in MockInCallService.InCallServiceCallbacks
259 getCallbacks().setService(this); in onBind()
456 sCallbacks.setService(this); in getCallbacks()
/cts/tests/tests/telephony/current/src/android/telephony/gba/cts/
DGbaServiceTest.java93 setService(sServiceConfig); in release()
101 setService(SERVICE_PACKAGE); in setUp()
164 setService(""); in testGbaNotSupported()
170 assertTrue(setService(SERVICE_PACKAGE)); in testGbaNotSupported()
244 private static boolean setService(String packageName) throws Exception { in setService() method in GbaServiceTest
/cts/common/device-side/bedstead/eventlib/src/main/java/com/android/eventlib/events/services/
DServiceDestroyedEvent.java93 setService(serviceName); in ServiceDestroyedEventLogger()
98 public ServiceDestroyedEventLogger setService(String serviceName) { in setService() method in ServiceDestroyedEvent.ServiceDestroyedEventLogger
DServiceCreatedEvent.java94 setService(serviceName); in ServiceCreatedEventLogger()
99 public ServiceCreatedEvent.ServiceCreatedEventLogger setService( in setService() method in ServiceCreatedEvent.ServiceCreatedEventLogger
DServiceLowMemoryEvent.java94 setService(serviceName); in ServiceLowMemoryEventLogger()
99 public ServiceLowMemoryEvent.ServiceLowMemoryEventLogger setService( in setService() method in ServiceLowMemoryEvent.ServiceLowMemoryEventLogger
DServiceConfigurationChangedEvent.java101 setService(serviceName); in ServiceConfigurationChangedEventLogger()
106 public ServiceConfigurationChangedEvent.ServiceConfigurationChangedEventLogger setService( in setService() method in ServiceConfigurationChangedEvent.ServiceConfigurationChangedEventLogger
DServiceMemoryTrimmedEvent.java106 setService(serviceName); in ServiceMemoryTrimmedEventLogger()
111 public ServiceMemoryTrimmedEventLogger setService( in setService() method in ServiceMemoryTrimmedEvent.ServiceMemoryTrimmedEventLogger
DServiceUnboundEvent.java114 setService(serviceName); in ServiceUnboundEventLogger()
119 public ServiceUnboundEventLogger setService(String serviceName) { in setService() method in ServiceUnboundEvent.ServiceUnboundEventLogger
DServiceBoundEvent.java110 setService(serviceName); in ServiceBoundEventLogger()
115 public ServiceBoundEventLogger setService(String serviceName) { in setService() method in ServiceBoundEvent.ServiceBoundEventLogger
DServiceTaskRemovedEvent.java116 setService(serviceName); in ServiceTaskRemovedEventLogger()
121 public ServiceTaskRemovedEvent.ServiceTaskRemovedEventLogger setService( in setService() method in ServiceTaskRemovedEvent.ServiceTaskRemovedEventLogger
DServiceReboundEvent.java113 setService(serviceName); in ServiceReboundEventLogger()
118 public ServiceReboundEvent.ServiceReboundEventLogger setService( in setService() method in ServiceReboundEvent.ServiceReboundEventLogger
DServiceStartedEvent.java135 setService(serviceName); in ServiceStartedEventLogger()
140 public ServiceStartedEventLogger setService(String serviceName) { in setService() method in ServiceStartedEvent.ServiceStartedEventLogger
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DInCallServiceStateValidator.java66 public void setService(InCallServiceStateValidator service) { in setService() method in InCallServiceStateValidator.InCallServiceCallbacks
84 sCallbacks.setService(this); in getCallbacks()
123 getCallbacks().setService(this); in onBind()
/cts/tests/tests/print/printTestUtilLib/src/android/print/test/services/
DFirstPrintService.java35 sCallbacks.setService(this); in getCallbacks()
DPrintServiceCallbacks.java29 public void setService(StubbablePrintService service) { in setService() method in PrintServiceCallbacks
/cts/tests/apppredictionservice/src/android/apppredictionservice/cts/
DAppPredictionServiceTest.java90 setService(PredictionService.SERVICE_NAME); in setUp()
99 setService(null); in tearDown()
262 setService(null); in testFailureWithoutPermission()
271 setService(null); in testSuccessWithPermission()
317 private void setService(String service) { in setService() method in AppPredictionServiceTest
/cts/tests/wallpapereffectsgeneration/src/android/wallpapereffectsgeneration/cts/
DWallpaperEffectsGenerationManagerTest.java86 setService(CtsWallpaperEffectsGenerationService.SERVICE_NAME); in setup()
103 setService(null); in tearDown()
212 private void setService(String service) { in setService() method in WallpaperEffectsGenerationManagerTest
/cts/tests/smartspace/src/android/smartspace/cts/
DSmartspaceManagerTest.java94 setService(CtsSmartspaceService.SERVICE_NAME); in setUp()
105 setService(null); in tearDown()
210 private void setService(String service) { in setService() method in SmartspaceManagerTest
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/
DAbstractContentCaptureIntegrationTest.java23 import static android.contentcaptureservice.cts.Helper.setService;
235 setService(CtsContentCaptureService.SERVICE_NAME); in enableService()
/cts/tests/musicrecognition/src/android/musicrecognition/cts/
DMusicRecognitionManagerTest.java98 setService(CtsMusicRecognitionService.SERVICE_COMPONENT.flattenToString()); in setUp()
190 setService( in testDoesntBindToForeignService()
290 private static void setService(@NonNull String service) { in setService() method in MusicRecognitionManagerTest
/cts/tests/contentsuggestions/src/android/contentsuggestions/cts/
DContentSuggestionsManagerTest.java82 setService(CtsContentSuggestionsService.SERVICE_COMPONENT.flattenToString()); in setup()
185 private static void setService(@NonNull String service) { in setService() method in ContentSuggestionsManagerTest
/cts/tests/tests/textclassifier/src/android/view/textclassifier/cts/
DTextClassifierTestWatcher.java72 setService(); in starting()
153 private void setService() { in setService() method in TextClassifierTestWatcher
/cts/tests/searchui/src/android/searchuiservice/cts/
DSearchUiManagerTest.java103 setService(CtsSearchUiService.SERVICE_NAME); in setUp()
114 setService(null); in tearDown()
264 private void setService(String service) { in setService() method in SearchUiManagerTest

12