Home
last modified time | relevance | path

Searched refs:buildService (Results 1 – 2 of 2) sorted by relevance

/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/
DRobolectric.java31 public static <T extends Service> ServiceController<T> buildService(Class<T> serviceClass) { in buildService() method in Robolectric
32 return buildService(serviceClass, null); in buildService()
35 …public static <T extends Service> ServiceController<T> buildService(Class<T> serviceClass, Intent … in buildService() method in Robolectric
40 return buildService(serviceClass).create().get(); in setupService()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/controller/
DServiceControllerTest.java25 private final ServiceController<MyService> controller = Robolectric.buildService(MyService.class);
50 …MyService myService = Robolectric.buildService(MyService.class, new Intent(Intent.ACTION_VIEW)).bi… in onBindShouldSetIntentComponentWithCustomIntentWithoutComponentSet()