Home
last modified time | relevance | path

Searched refs:addService (Results 1 – 25 of 66) sorted by relevance

123

/external/grpc-grpc-java/core/src/test/java/io/grpc/util/
DMutableHandlerRegistryTest.java111 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/
DRouteGuideClientTest.java126 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/
DMutableHandlerRegistry.java52 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/
DAltsServerBuilder.java137 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/
DGrpcServerRuleTest.java58 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/
DAbstractServerImplBuilder.java136 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()
DInternalHandlerRegistry.java62 Builder addService(ServerServiceDefinition service) { in addService() method in InternalHandlerRegistry.Builder
/external/grpc-grpc-java/services/src/test/java/io/grpc/protobuf/services/
DProtoReflectionServiceTest.java82 .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/
DServerBuilder.java81 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/
DTlsTest.java165 .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/
DMoreInProcessTest.java102 serviceRegistry.addService(clientStreamingImpl); in asyncClientStreaming_serverResponsePriorToRequest()
161 serviceRegistry.addService(clientStreamingImpl); in asyncClientStreaming_serverErrorPriorToRequest()
220 serviceRegistry.addService(clientStreamingImpl); in asyncClientStreaming_erroneousServiceImpl()
DCascadingTest.java212 .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/
DShadingTest.java77 .addService(new SimpleServiceImpl()) in basic()
92 .addService(new SimpleServiceImpl()) in tcnative()
/external/grpc-grpc-java/interop-testing/src/main/java/io/grpc/testing/integration/
DTestServiceServer.java135 .addService( in start()
151 .addService( in start()
/external/grpc-grpc/examples/node/static_codegen/
Dgreeter_server.js39 server.addService(services.GreeterService, {sayHello: sayHello});
/external/grpc-grpc/examples/node/dynamic_codegen/
Dgreeter_server.js46 server.addService(hello_proto.Greeter.service, {sayHello: sayHello});
/external/grpc-grpc-java/benchmarks/src/main/java/io/grpc/benchmarks/driver/
DLoadServer.java124 serverBuilder.addService( in LoadServer()
131 serverBuilder.addService(benchmarkService); in LoadServer()
/external/grpc-grpc-java/examples/example-kotlin/src/test/kotlin/io/grpc/examples/helloworld/
DHelloWorldServerTest.kt60 .forName(serverName).directExecutor().addService(GreeterImpl()).build().start()) in greeterImpl_replyMessage()
DHelloWorldClientTest.kt68 .forName(serverName).directExecutor().addService(serviceImpl).build().start()) in setUp()
/external/grpc-grpc-java/examples/src/test/java/io/grpc/examples/helloworld/
DHelloWorldServerTest.java58 .forName(serverName).directExecutor().addService(new GreeterImpl()).build().start()); in greeterImpl_replyMessage()
DHelloWorldClientTest.java65 .forName(serverName).directExecutor().addService(serviceImpl).build().start()); in setUp()
/external/grpc-grpc-java/examples/src/main/java/io/grpc/examples/helloworld/
DHelloWorldServer.java37 .addService(new GreeterImpl()) in start()
/external/grpc-grpc-java/examples/example-kotlin/src/main/kotlin/io/grpc/examples/helloworld/
DHelloWorldServer.kt40 .addService(GreeterImpl()) in start()
/external/grpc-grpc-java/examples/src/main/java/io/grpc/examples/header/
DCustomHeaderServer.java42 .addService(ServerInterceptors.intercept(new GreeterImpl(), new HeaderServerInterceptor())) in start()
/external/grpc-grpc-java/documentation/
Dserver-reflection-tutorial.md45 .addService(new GreeterImpl())
46 + .addService(ProtoReflectionService.newInstance())

123