Home
last modified time | relevance | path

Searched refs:MyService (Results 1 – 10 of 10) sorted by relevance

/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DServiceTest.java27 MyService service = new MyService(); in shouldComplainIfServiceIsDestroyedWithRegisteredBroadcastReceivers()
34 MyService service = new MyService(); in shouldNotComplainIfServiceIsDestroyedWhileAnotherServiceHasRegisteredBroadcastReceivers()
36 MyService service2 = new MyService(); in shouldNotComplainIfServiceIsDestroyedWhileAnotherServiceHasRegisteredBroadcastReceivers()
44 MyService service = new MyService(); in shouldUnbindServiceSuccessfully()
51 MyService service = new MyService(); in shouldUnbindServiceWithExceptionWhenRequested()
60 MyService service = new MyService(); in stopForeground()
68 private static class MyService extends Service { class in ServiceTest
/external/testng/src/test/java/test/guice/
DMyServiceProvider.java5 public class MyServiceProvider implements Provider<MyService> {
8 public MyService get() { in get()
9 return new MyService() { in get()
DMyService.java3 public interface MyService { interface
DGuiceParentModule.java19 bind(MyService.class).toProvider(MyServiceProvider.class); in configure()
DGuiceParentModuleTest.java16 MyService myService;
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/protorpc/webapp/
Dservice_handlers_test.py1116 class MyService(remote.Service): class
1182 self.DoMappingTest({'/my-service': MyService})
1186 self.DoMappingTest({'/my-service': MyService.new_factory('new-value')})
1191 [('/my-service1', MyService.new_factory('service1')),
1192 ('/my-service2', MyService.new_factory('service2')),
1197 mapping = self.DoMappingTest({'/my-service': MyService}, None)
1207 mapping = service_handlers.service_mapping([MyService])
1215 self.assertEquals(MyService, factory.service_factory)
1219 [MyService.new_factory('service1')])
1227 self.assertEquals(MyService, factory.service_factory.service_class)
[all …]
/external/protobuf/python/google/protobuf/internal/
Dservice_reflection_test.py59 class MyService(unittest_pb2.TestService): class
69 srvc = MyService()
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/protorpc/
Dremote_test.py58 class MyService(remote.Service): class
397 self.assertEquals({'remote_method': MyService.remote_method},
398 MyService.all_remote_methods())
402 class SubClass(MyService):
415 class SubClass(MyService):
435 class SubClass(MyService):
450 class SubClass(MyService):
468 service = MyService()
Ddescriptor_test.py317 class MyService(remote.Service): class
331 expected.methods.append(descriptor.describe_method(MyService.method1))
332 expected.methods.append(descriptor.describe_method(MyService.method2))
334 described = descriptor.describe_service(MyService)
Ddefinition_test.py498 self.assertEquals('my.package', module.MyService.__module__)
511 self.assertEquals('override', module.MyService.__module__)