Searched refs:TestService (Results 1 - 25 of 27) sorted by relevance

12

/external/chromium_org/dbus/
H A Dtest_service.cc28 const int TestService::kNumMethodsToExport = 9;
30 TestService::Options::Options()
34 TestService::Options::~Options() {
37 TestService::TestService(const Options& options) function in class:dbus::TestService
38 : base::Thread("TestService"),
45 TestService::~TestService() {
49 bool TestService::StartService() {
55 bool TestService
[all...]
H A Dtest_server.cc21 dbus::TestService::Options options;
23 dbus::TestService* test_service = new dbus::TestService(options);
H A Dobject_proxy_unittest.cc25 "org.chromium.TestService", ObjectPath("/org/chromium/TestObject"));
54 TestService::Options options;
55 TestService test_service(options);
H A Dsignal_sender_verification_unittest.cc49 "org.chromium.TestService",
71 TestService::Options options;
73 test_service_.reset(new TestService(options));
79 // Same setup for the second TestService. This service should not have the
81 test_service2_.reset(new TestService(options));
155 // thread restrictions before and after calling Stop() on a TestService.
156 void SafeServiceStop(TestService* test_service) {
166 scoped_ptr<TestService> test_service_;
167 scoped_ptr<TestService> test_service2_;
171 // The known latest name owner of TestService
[all...]
H A Dend_to_end_sync_unittest.cc26 TestService::Options options;
27 test_service_.reset(new TestService(options));
38 "org.chromium.TestService",
50 scoped_ptr<TestService> test_service_;
115 object_proxy_ = client_bus_->GetObjectProxy("org.chromium.TestService",
H A Dtest_service.h31 class TestService : public base::Thread { class in namespace:dbus
48 explicit TestService(const Options& options);
49 virtual ~TestService();
72 // Request the ownership of a well-known name "TestService".
77 // Release the ownership of the well-known name "TestService".
H A Dproperty_unittest.cc62 TestService::Options options;
64 test_service_.reset(new TestService(options));
76 "org.chromium.TestService",
148 scoped_ptr<TestService> test_service_;
158 EXPECT_EQ("TestService", properties_->name.value());
190 EXPECT_EQ("TestService", properties_->name.value());
269 // TestService sends a property update.
H A Dobject_manager_unittest.cc72 TestService::Options options;
74 test_service_.reset(new TestService(options));
88 "org.chromium.TestService",
89 ObjectPath("/org/chromium/TestService"));
164 "org.chromium.TestService",
183 scoped_ptr<TestService> test_service_;
203 EXPECT_EQ("TestService", properties->name.value());
259 "org.chromium.TestService",
260 ObjectPath("/org/chromium/TestService"));
267 ObjectPath("/org/chromium/TestService"));
[all...]
H A Dend_to_end_async_unittest.cc50 TestService::Options options;
52 test_service_.reset(new TestService(options));
66 "org.chromium.TestService",
98 root_object_proxy_ = bus_->GetObjectProxy("org.chromium.TestService",
147 "org.chromium.TestService",
264 scoped_ptr<TestService> test_service_;
493 object_proxy_ = bus_->GetObjectProxy("org.chromium.TestService",
/external/chromium_org/components/keyed_service/content/
H A Dbrowser_context_dependency_manager_unittest.cc27 class TestService : public BrowserContextKeyedServiceFactory { class in inherits:BrowserContextKeyedServiceFactory
29 TestService(const std::string& name, function in class:TestService
32 : BrowserContextKeyedServiceFactory("TestService", manager),
54 TestService service("service", shutdown_order(), manager());
64 TestService parent("parent", shutdown_order(), manager());
65 TestService child("child", shutdown_order(), manager());
77 TestService parent("parent", shutdown_order(), manager());
78 TestService child1("child1", shutdown_order(), manager());
79 TestService child2("child2", shutdown_order(), manager());
93 TestService parent
[all...]
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
H A DTestService.java9 class TestService extends Service implements ServiceConnection { class in inherits:Service,ServiceConnection
H A DApplicationTest.java118 TestService service = new TestService();
132 TestService service = new TestService();
147 TestService service = new TestService();
161 TestService service = new TestService();
H A DContextWrapperTest.java180 contextWrapper.bindService(new Intent("foo"), new TestService(), Context.BIND_AUTO_CREATE);
/external/chromium_org/third_party/protobuf/java/src/test/java/com/google/protobuf/
H A DServiceTest.java39 import protobuf_unittest.UnittestProto.TestService;
64 TestService.getDescriptor().getMethods().get(0);
66 TestService.getDescriptor().getMethods().get(1);
83 TestService mockService = control.createMock(TestService.class);
100 TestService mockService = control.createMock(TestService.class);
119 TestService stub = TestService.newStub(mockChannel);
146 TestService
[all...]
/external/protobuf/java/src/test/java/com/google/protobuf/
H A DServiceTest.java39 import protobuf_unittest.UnittestProto.TestService;
64 TestService.getDescriptor().getMethods().get(0);
66 TestService.getDescriptor().getMethods().get(1);
83 TestService mockService = control.createMock(TestService.class);
100 TestService mockService = control.createMock(TestService.class);
119 TestService stub = TestService.newStub(mockChannel);
146 TestService
[all...]
H A DDescriptorsTest.java55 import protobuf_unittest.UnittestProto.TestService;
119 ServiceDescriptor service = TestService.getDescriptor();
121 assertEquals(service, file.findServiceByName("TestService"));
123 assertNull(file.findServiceByName("protobuf_unittest.TestService"));
317 ServiceDescriptor service = TestService.getDescriptor();
319 assertEquals("TestService", service.getName());
320 assertEquals("protobuf_unittest.TestService", service.getFullName());
/external/guava/guava-tests/test/com/google/common/util/concurrent/
H A DAbstractScheduledServiceTest.java76 TestService service = new TestService();
93 TestService service = new TestService();
106 TestService service = new TestService();
122 TestService service = new TestService();
136 TestService service = new TestService();
171 private class TestService extends AbstractScheduledService { class in class:AbstractScheduledServiceTest
[all...]
/external/chromium_org/chrome/browser/bitmap_fetcher/
H A Dbitmap_fetcher_service_unittest.cc33 class TestService : public BitmapFetcherService { class in namespace:__anon2881
35 explicit TestService(content::BrowserContext* context) function in class:__anon2881::TestService
37 virtual ~TestService() {}
52 service_.reset(new TestService(&profile_));
/external/chromium_org/third_party/protobuf/python/google/protobuf/internal/
H A Dservice_reflection_test.py59 class MyService(unittest_pb2.TestService):
77 service_descriptor = unittest_pb2.TestService.GetDescriptor()
84 class MyServiceImpl(unittest_pb2.TestService):
H A Dgenerator_test.py228 if hasattr(unittest_no_generic_services_pb2, "TestService"):
229 self.assertFalse(issubclass(unittest_no_generic_services_pb2.TestService,
/external/protobuf/python/google/protobuf/internal/
H A Dservice_reflection_test.py59 class MyService(unittest_pb2.TestService):
77 service_descriptor = unittest_pb2.TestService.GetDescriptor()
84 class MyServiceImpl(unittest_pb2.TestService):
H A Ddescriptor_test.py90 full_name='protobuf_unittest.TestService.Bar',
314 name: 'TestService'
328 unittest_pb2.TestService.DESCRIPTOR,
/external/chromium_org/mojo/service_manager/
H A Dservice_manager_unittest.cc42 class TestServiceImpl : public InterfaceImpl<TestService> {
56 // TestService implementation:
225 TestServicePtr service_proxy = MakeProxy<TestService>(pipe.handle0.Pass());
234 test_url, TestService::Name_, pipe.handle1.Pass(), GURL());
/external/chromium_org/third_party/protobuf/src/google/protobuf/compiler/cpp/
H A Dcpp_unittest.cc1001 class MockTestService : public unittest::TestService {
1015 // implements TestService ----------------------------------------
1070 // implements TestService ----------------------------------------
1126 : descriptor_(unittest::TestService::descriptor()),
1145 unittest::TestService::Stub stub_;
1171 unittest::TestService::Stub owning_stub(channel,
1261 class UnimplementedService : public unittest::TestService {
1296 // Verify that no class called "TestService" was defined in
1299 struct TestService { struct in namespace:google::protobuf::no_generic_services_test
1323 EXPECT_EQ("TestService", fil
[all...]
/external/protobuf/src/google/protobuf/compiler/cpp/
H A Dcpp_unittest.cc877 class MockTestService : public unittest::TestService {
891 // implements TestService ----------------------------------------
946 // implements TestService ----------------------------------------
1002 : descriptor_(unittest::TestService::descriptor()),
1021 unittest::TestService::Stub stub_;
1047 unittest::TestService::Stub owning_stub(channel,
1137 class UnimplementedService : public unittest::TestService {
1172 // Verify that no class called "TestService" was defined in
1175 struct TestService { struct in namespace:google::protobuf::no_generic_services_test
1199 EXPECT_EQ("TestService", fil
[all...]

Completed in 738 milliseconds

12