Home
last modified time | relevance | path

Searched refs:TestService (Results 1 – 25 of 76) sorted by relevance

1234

/external/guava/android/guava-tests/test/com/google/common/util/concurrent/
DAbstractIdleServiceTest.java97 TestService service = new TestService(); in testStart()
107 TestService service = in testStart_failed()
108 new TestService() { in testStart_failed()
128 TestService service = new TestService(); in testStop_withoutStart()
137 TestService service = new TestService(); in testStop_afterStart()
152 TestService service = in testStop_failed()
153 new TestService() { in testStop_failed()
178 AbstractIdleService service = new TestService(); in testServiceToString()
189 new TestService() { in testTimeout()
213 private static class TestService extends AbstractIdleService { class in AbstractIdleServiceTest
DAbstractScheduledServiceTest.java91 TestService service = new TestService(); in testFailOnExceptionFromRun()
108 TestService service = new TestService(); in testFailOnExceptionFromStartUp()
123 TestService service = new TestService(); in testFailOnErrorFromStartUpListener()
147 TestService service = new TestService(); in testFailOnExceptionFromShutDown()
163 TestService service = new TestService(); in testRunOneIterationCalledMultipleTimes()
177 TestService service = new TestService(); in testExecutorOnlyCalledOnce()
255 TestService service = new TestService(); in testSchedulerOnlyCalledOnce()
304 private class TestService extends AbstractScheduledService { class in AbstractScheduledServiceTest
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DAbstractIdleServiceTest.java97 TestService service = new TestService(); in testStart()
107 TestService service = in testStart_failed()
108 new TestService() { in testStart_failed()
128 TestService service = new TestService(); in testStop_withoutStart()
137 TestService service = new TestService(); in testStop_afterStart()
152 TestService service = in testStop_failed()
153 new TestService() { in testStop_failed()
178 AbstractIdleService service = new TestService(); in testServiceToString()
189 new TestService() { in testTimeout()
213 private static class TestService extends AbstractIdleService { class in AbstractIdleServiceTest
DAbstractScheduledServiceTest.java91 TestService service = new TestService(); in testFailOnExceptionFromRun()
108 TestService service = new TestService(); in testFailOnExceptionFromStartUp()
123 TestService service = new TestService(); in testFailOnErrorFromStartUpListener()
147 TestService service = new TestService(); in testFailOnExceptionFromShutDown()
163 TestService service = new TestService(); in testRunOneIterationCalledMultipleTimes()
177 TestService service = new TestService(); in testExecutorOnlyCalledOnce()
255 TestService service = new TestService(); in testSchedulerOnlyCalledOnce()
304 private class TestService extends AbstractScheduledService { class in AbstractScheduledServiceTest
/external/grpc-grpc/src/csharp/Grpc.IntegrationTesting/
DInteropClient.cs137 var client = new TestService.TestServiceClient(channel); in RunTestCaseAsync()
202 public static void RunEmptyUnary(TestService.TestServiceClient client) in RunEmptyUnary()
210 public static void RunLargeUnary(TestService.TestServiceClient client) in RunLargeUnary()
224 public static async Task RunClientStreamingAsync(TestService.TestServiceClient client) in RunClientStreamingAsync()
240 public static async Task RunServerStreamingAsync(TestService.TestServiceClient client) in RunServerStreamingAsync()
259 public static async Task RunPingPongAsync(TestService.TestServiceClient client) in RunPingPongAsync()
308 public static async Task RunEmptyStreamAsync(TestService.TestServiceClient client) in RunEmptyStreamAsync()
321 …public static void RunComputeEngineCreds(TestService.TestServiceClient client, string defaultServi… in RunComputeEngineCreds()
343 public static void RunJwtTokenCreds(TestService.TestServiceClient client) in RunJwtTokenCreds()
362 …public static async Task RunOAuth2AuthTokenAsync(TestService.TestServiceClient client, string oaut… in RunOAuth2AuthTokenAsync()
[all …]
DMetadataCredentialsTest.cs37 TestService.TestServiceClient client;
47 Services = { TestService.BindService(new FakeTestService()) }, in Init()
77 client = new TestService.TestServiceClient(channel); in MetadataCredentials()
86 client = new TestService.TestServiceClient(channel); in MetadataCredentials_PerCall()
111 var client = new TestService.TestServiceClient(channel); in MetadataCredentials_Composed()
121 var client = new TestService.TestServiceClient(channel); in MetadataCredentials_ComposedPerCall()
146 client = new TestService.TestServiceClient(channel); in MetadataCredentials_InterceptorLeavesMetadataEmpty()
163 client = new TestService.TestServiceClient(channel); in MetadataCredentials_InterceptorThrows()
170 private class FakeTestService : TestService.TestServiceBase
DGeneratedServiceBaseTest.cs37 TestService.TestServiceClient client;
45 Services = { TestService.BindService(new UnimplementedTestServiceImpl()) }, in Init()
50 client = new TestService.TestServiceClient(channel); in Init()
97 private class UnimplementedTestServiceImpl : TestService.TestServiceBase
DSslCredentialsTest.cs42 TestService.TestServiceClient client;
58 Services = { TestService.BindService(new SslCredentialsTestServiceImpl()) }, in Init()
69 client = new TestService.TestServiceClient(channel); in Init()
95 private class SslCredentialsTestServiceImpl : TestService.TestServiceBase
DCustomErrorDetailsTest.cs43 TestService.TestServiceClient client;
51 Services = { TestService.BindService(new CustomErrorDetailsTestServiceImpl()) }, in Init()
57 client = new TestService.TestServiceClient(channel); in Init()
109 private class CustomErrorDetailsTestServiceImpl : TestService.TestServiceBase
DInteropClientServerTest.cs39 TestService.TestServiceClient client;
47 Services = { TestService.BindService(new TestServiceImpl()) }, in Init()
58 client = new TestService.TestServiceClient(channel); in Init()
DGeneratedClientTest.cs34 TestService.TestServiceClient unimplementedClient = new UnimplementedTestServiceClient();
63 private class UnimplementedTestServiceClient : TestService.TestServiceClient
DStressTestClient.cs122 var client = new TestService.TestServiceClient(channel); in Run()
139 async Task RunBodyAsync(TestService.TestServiceClient client) in RunBodyAsync()
156 async Task RunTestCaseAsync(TestService.TestServiceClient client, string testCase) in RunTestCaseAsync()
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DServiceTest.java42 import protobuf_unittest.UnittestProto.TestService;
61 TestService.getDescriptor().getMethods().get(0);
63 TestService.getDescriptor().getMethods().get(1);
80 TestService mockService = control.createMock(TestService.class); in testCallMethod()
103 TestService mockService = control.createMock(TestService.class); in testGetPrototype()
118 TestService stub = TestService.newStub(mockChannel); in testStub()
144 TestService.BlockingInterface stub = TestService.newBlockingStub(mockChannel); in testBlockingStub()
/external/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
DServiceTest.java40 import protobuf_unittest.UnittestProto.TestService;
65 TestService.getDescriptor().getMethods().get(0);
67 TestService.getDescriptor().getMethods().get(1);
84 TestService mockService = control.createMock(TestService.class); in testCallMethod()
101 TestService mockService = control.createMock(TestService.class); in testGetPrototype()
120 TestService stub = TestService.newStub(mockChannel); in testStub()
147 TestService.BlockingInterface stub = in testBlockingStub()
148 TestService.newBlockingStub(mockChannel); in testBlockingStub()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowApplicationTest.java197 TestService service = new TestService(); in bindServiceShouldCallOnServiceConnectedWithDefaultValues()
212 TestService service = new TestService(); in bindServiceShouldCallOnServiceConnectedWithNullValues()
228 TestService service = new TestService(); in bindServiceShouldCallOnServiceConnectedWhenNotPaused()
242 TestService service = new TestService(); in unbindServiceShouldCallOnServiceDisconnectedWhenNotPaused()
260 TestService service = new TestService(); in unbindServiceAddsEntryToUnboundServicesCollection()
275 TestService service = new TestService(); in declaringServiceUnbindableMakesBindServiceReturnFalse()
291 TestService service = new TestService(); in bindServiceWithMultipleIntentsMapping()
311 TestService service = new TestService(); in bindServiceWithMultipleIntentsMappingWithDefault()
334 TestService serviceOne = new TestService(); in unbindServiceWithMultipleIntentsMapping()
338 TestService serviceTwo = new TestService(); in unbindServiceWithMultipleIntentsMapping()
[all …]
DTestService.java9 class TestService extends Service implements ServiceConnection { class
/external/grpc-grpc/test/cpp/interop/
Dhttp2_client.h49 TestService::Stub* Get();
52 std::unique_ptr<TestService::Stub> stub_;
Dinterop_client.h101 TestService::Stub* Get();
109 std::unique_ptr<TestService::Stub> stub_;
Dhttp2_client.cc47 stub_ = TestService::NewStub(channel); in ServiceStub()
50 TestService::Stub* Http2Client::ServiceStub::Get() { return stub_.get(); } in Get()
/external/protobuf/python/compatibility_tests/v2.5.0/tests/google/protobuf/internal/
Dservice_reflection_test.py59 class MyService(unittest_pb2.TestService):
77 service_descriptor = unittest_pb2.TestService.GetDescriptor()
84 class MyServiceImpl(unittest_pb2.TestService):
/external/protobuf/python/google/protobuf/internal/
Dservice_reflection_test.py64 class MyService(unittest_pb2.TestService):
82 service_descriptor = unittest_pb2.TestService.GetDescriptor()
93 class MyServiceImpl(unittest_pb2.TestService):
/external/dagger2/javatests/dagger/android/support/functional/
DAllControllersAreDirectChildrenOfApplication.java98 @ClassKey(TestService.class)
197 interface ServiceSubcomponent extends AndroidInjector<TestService> {
199 abstract class Builder extends AndroidInjector.Builder<TestService> {}
DComponentStructureFollowsControllerStructureApplication.java79 @ClassKey(TestService.class)
196 interface ServiceSubcomponent extends AndroidInjector<TestService> {
198 abstract class Builder extends AndroidInjector.Builder<TestService> {}
/external/grpc-grpc-java/
D.gitattributes1 TestService.java.txt binary
/external/grpc-grpc/src/objective-c/tests/Connectivity/ConnectivityTestingApp/
DViewController.m54 service:@"TestService"
80 service:@"TestService"

1234