/external/grpc-grpc-java/core/src/test/java/io/grpc/util/ |
D | MutableHandlerRegistryTest.java | 111 assertNull(registry.addService(basicServiceDefinition)); in simpleLookup() 131 assertNull(registry.addService(bindableService)); in simpleLookupWithBindable() 139 assertNull(registry.addService(basicServiceDefinition)); in multiServiceLookup() 140 assertNull(registry.addService(multiServiceDefinition)); in multiServiceLookup() 152 assertNull(registry.addService(multiServiceDefinition)); in removeAndLookup() 162 assertNull(registry.addService(basicServiceDefinition)); in replaceAndLookup() 175 assertSame(basicServiceDefinition, registry.addService(replaceServiceDefinition)); in replaceAndLookup() 184 assertNull(registry.addService(basicServiceDefinition)); in removeSameSucceeds() 190 assertNull(registry.addService(basicServiceDefinition)); in doubleRemoveFails() 202 assertNull(registry.addService(basicServiceDefinition)); in removeMissingNameConflictFails() [all …]
|
/external/grpc-grpc-java/examples/src/test/java/io/grpc/examples/routeguide/ |
D | RouteGuideClientTest.java | 126 serviceRegistry.addService(getFeatureImpl); in getFeature() 153 serviceRegistry.addService(getFeatureImpl); in getFeature_error() 187 serviceRegistry.addService(listFeaturesImpl); in listFeatures() 225 serviceRegistry.addService(listFeaturesImpl); in listFeatures_error() 292 serviceRegistry.addService(recordRouteImpl); in recordRoute() 344 serviceRegistry.addService(recordRouteImpl); in recordRoute_serverError() 392 serviceRegistry.addService(routeChatImpl); in routeChat_simpleResponse() 460 serviceRegistry.addService(routeChatImpl); in routeChat_echoResponse() 508 serviceRegistry.addService(routeChatImpl); in routeChat_errorResponse()
|
/external/grpc-grpc-java/core/src/main/java/io/grpc/util/ |
D | MutableHandlerRegistry.java | 52 public ServerServiceDefinition addService(ServerServiceDefinition service) { in addService() method in MutableHandlerRegistry 63 public ServerServiceDefinition addService(BindableService bindableService) { in addService() method in MutableHandlerRegistry 64 return addService(bindableService.bindService()); in addService()
|
/external/grpc-grpc-java/alts/src/main/java/io/grpc/alts/ |
D | AltsServerBuilder.java | 137 public AltsServerBuilder addService(ServerServiceDefinition service) { in addService() method in AltsServerBuilder 138 delegate.addService(service); in addService() 144 public AltsServerBuilder addService(BindableService bindableService) { in addService() method in AltsServerBuilder 145 delegate.addService(bindableService); in addService()
|
/external/grpc-grpc-java/testing/src/test/java/io/grpc/testing/ |
D | GrpcServerRuleTest.java | 58 grpcServerRule1.getServiceRegistry().addService(testService); in serverAllowsServicesToBeAddedViaServiceRegistry_withoutDirectExecutor() 77 grpcServerRule1.getServiceRegistry().addService(testService); in serviceIsNotRunOnSameThreadAsTest_withoutDirectExecutor() 108 grpcServerRule2.getServiceRegistry().addService(testService); in serverAllowsServicesToBeAddedViaServiceRegistry_withDirectExecutor() 127 grpcServerRule2.getServiceRegistry().addService(testService); in serviceIsRunOnSameThreadAsTest_withDirectExecutor()
|
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/ |
D | AbstractServerImplBuilder.java | 136 public final T addService(ServerServiceDefinition service) { in addService() method in AbstractServerImplBuilder 137 registryBuilder.addService(service); in addService() 142 public final T addService(BindableService bindableService) { in addService() method in AbstractServerImplBuilder 146 return addService(bindableService.bindService()); in addService()
|
D | InternalHandlerRegistry.java | 62 Builder addService(ServerServiceDefinition service) { in addService() method in InternalHandlerRegistry.Builder
|
/external/grpc-grpc-java/services/src/test/java/io/grpc/protobuf/services/ |
D | ProtoReflectionServiceTest.java | 82 .addService(reflectionService) in setUp() 83 .addService(new ReflectableServiceGrpc.ReflectableServiceImplBase() {}) in setUp() 114 handlerRegistry.addService(dynamicService); in listServices() 128 handlerRegistry.addService(anotherDynamicService); in listServices() 212 handlerRegistry.addService(dynamicService); in fileByFilenameConsistentForMutableServices() 315 handlerRegistry.addService(dynamicService); in fileContainingSymbolForMutableServices() 432 handlerRegistry.addService(dynamicService); in fileContainingExtensionForMutableServices() 503 handlerRegistry.addService(dynamicService); in allExtensionNumbersOfTypeForMutableServices()
|
/external/grpc-grpc-java/core/src/main/java/io/grpc/ |
D | ServerBuilder.java | 81 public abstract T addService(ServerServiceDefinition service); in addService() method in ServerBuilder 92 public abstract T addService(BindableService bindableService); in addService() method in ServerBuilder
|
/external/grpc-grpc-java/netty/src/test/java/io/grpc/netty/ |
D | TlsTest.java | 165 .addService(new SimpleServiceImpl()) in basicClientServerIntegrationTest() 199 .addService(new SimpleServiceImpl()) in serverRejectsUntrustedClientCert() 245 .addService(new SimpleServiceImpl()) in noClientAuthFailure() 286 .addService(new SimpleServiceImpl()) in clientRejectsUntrustedServerCert()
|
/external/grpc-grpc-java/interop-testing/src/test/java/io/grpc/testing/integration/ |
D | MoreInProcessTest.java | 102 serviceRegistry.addService(clientStreamingImpl); in asyncClientStreaming_serverResponsePriorToRequest() 161 serviceRegistry.addService(clientStreamingImpl); in asyncClientStreaming_serverErrorPriorToRequest() 220 serviceRegistry.addService(clientStreamingImpl); in asyncClientStreaming_erroneousServiceImpl()
|
D | CascadingTest.java | 212 .addService(new DeadlineSaver()) in testDeadlinePropagation() 266 .addService(new ChainingService()) in startChainingServer() 278 server = InProcessServerBuilder.forName("channel").executor(otherWork).addService( in startCallTreeServer()
|
/external/grpc-grpc-java/netty/shaded/src/testShadow/java/io/grpc/netty/shaded/ |
D | ShadingTest.java | 77 .addService(new SimpleServiceImpl()) in basic() 92 .addService(new SimpleServiceImpl()) in tcnative()
|
/external/grpc-grpc-java/interop-testing/src/main/java/io/grpc/testing/integration/ |
D | TestServiceServer.java | 135 .addService( in start() 151 .addService( in start()
|
/external/grpc-grpc/examples/node/static_codegen/ |
D | greeter_server.js | 39 server.addService(services.GreeterService, {sayHello: sayHello});
|
/external/grpc-grpc/examples/node/dynamic_codegen/ |
D | greeter_server.js | 46 server.addService(hello_proto.Greeter.service, {sayHello: sayHello});
|
/external/grpc-grpc-java/benchmarks/src/main/java/io/grpc/benchmarks/driver/ |
D | LoadServer.java | 124 serverBuilder.addService( in LoadServer() 131 serverBuilder.addService(benchmarkService); in LoadServer()
|
/external/grpc-grpc-java/examples/example-kotlin/src/test/kotlin/io/grpc/examples/helloworld/ |
D | HelloWorldServerTest.kt | 60 .forName(serverName).directExecutor().addService(GreeterImpl()).build().start()) in greeterImpl_replyMessage()
|
D | HelloWorldClientTest.kt | 68 .forName(serverName).directExecutor().addService(serviceImpl).build().start()) in setUp()
|
/external/grpc-grpc-java/examples/src/test/java/io/grpc/examples/helloworld/ |
D | HelloWorldServerTest.java | 58 .forName(serverName).directExecutor().addService(new GreeterImpl()).build().start()); in greeterImpl_replyMessage()
|
D | HelloWorldClientTest.java | 65 .forName(serverName).directExecutor().addService(serviceImpl).build().start()); in setUp()
|
/external/grpc-grpc-java/examples/src/main/java/io/grpc/examples/helloworld/ |
D | HelloWorldServer.java | 37 .addService(new GreeterImpl()) in start()
|
/external/grpc-grpc-java/examples/example-kotlin/src/main/kotlin/io/grpc/examples/helloworld/ |
D | HelloWorldServer.kt | 40 .addService(GreeterImpl()) in start()
|
/external/grpc-grpc-java/examples/src/main/java/io/grpc/examples/header/ |
D | CustomHeaderServer.java | 42 .addService(ServerInterceptors.intercept(new GreeterImpl(), new HeaderServerInterceptor())) in start()
|
/external/grpc-grpc-java/documentation/ |
D | server-reflection-tutorial.md | 45 .addService(new GreeterImpl()) 46 + .addService(ProtoReflectionService.newInstance())
|