Home
last modified time | relevance | path

Searched refs:channelBuilder (Results 1 – 7 of 7) sorted by relevance

/external/grpc-grpc-java/android-interop-testing/app/src/main/java/io/grpc/android/integrationtest/
DTesterOkHttpChannelBuilder.java43 ManagedChannelBuilder<?> channelBuilder = ManagedChannelBuilder.forAddress(host, port) in build() local
47 channelBuilder.overrideAuthority(serverHostOverride); in build()
51 ((OkHttpChannelBuilder) channelBuilder).useTransportSecurity(); in build()
52 ((OkHttpChannelBuilder) channelBuilder).sslSocketFactory(getSslSocketFactory(testCa)); in build()
57 channelBuilder.usePlaintext(); in build()
59 return channelBuilder.build(); in build()
/external/grpc-grpc-java/testing/src/main/java/io/grpc/testing/
DGrpcServerRule.java135 InProcessChannelBuilder channelBuilder = InProcessChannelBuilder.forName(serverName); in before() local
138 channelBuilder.directExecutor(); in before()
141 channel = channelBuilder.build(); in before()
/external/grpc-grpc-java/benchmarks/src/jmh/java/io/grpc/benchmarks/netty/
DAbstractBenchmark.java196 NettyChannelBuilder channelBuilder; in setup() local
201 channelBuilder = NettyChannelBuilder.forAddress(address); in setup()
202 channelBuilder.channelType(LocalChannel.class); in setup()
210 channelBuilder = NettyChannelBuilder.forAddress(address); in setup()
217 channelBuilder.directExecutor(); in setup()
226 channelBuilder.flowControlWindow(windowSize.bytes()); in setup()
228 channelBuilder.negotiationType(NegotiationType.PLAINTEXT); in setup()
380 channels[i] = channelBuilder in setup()
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DManagedChannelImplTest.java206 private ChannelBuilder channelBuilder; field in ManagedChannelImplTest
223 channelBuilder, mockTransportFactory, new FakeBackoffPolicyProvider(), in createChannel()
232 if (channelBuilder.idleTimeoutMillis != ManagedChannelImpl.IDLE_TIMEOUT_MILLIS_DISABLE) { in createChannel()
259 channelBuilder = new ChannelBuilder() in setUp()
264 channelBuilder.executorPool = executorPool; in setUp()
265 channelBuilder.binlog = null; in setUp()
266 channelBuilder.channelz = channelz; in setUp()
286 channelBuilder.nameResolverFactory( in idleModeDisabled()
313 channelBuilder.nameResolverFactory( in shutdownWithNoTransportsEverCreated()
427 channelBuilder.nameResolverFactory(nameResolverFactory); in subtestCallsAndShutdown()
[all …]
/external/grpc-grpc-java/netty/src/main/java/io/grpc/netty/
DInternalNettyChannelBuilder.java36 NettyChannelBuilder channelBuilder, OverrideAuthorityChecker authorityChecker) { in overrideAuthorityChecker() argument
37 channelBuilder.overrideAuthorityChecker(authorityChecker); in overrideAuthorityChecker()
/external/grpc-grpc-java/examples/src/main/java/io/grpc/examples/routeguide/
DRouteGuideClient.java56 public RouteGuideClient(ManagedChannelBuilder<?> channelBuilder) { in RouteGuideClient() argument
57 channel = channelBuilder.build(); in RouteGuideClient()
/external/grpc-grpc-java/services/src/main/java/io/grpc/services/
DChannelzProtoUtil.java344 Channel.Builder channelBuilder = Channel in toChannel() local
349 channelBuilder.addSubchannelRef(toSubchannelRef(subchannel)); in toChannel()
352 return channelBuilder.build(); in toChannel()