Home
last modified time | relevance | path

Searched refs:forAddress (Results 1 – 25 of 63) sorted by relevance

123

/external/grpc-grpc-java/okhttp/src/test/java/io/grpc/okhttp/
DOkHttpChannelBuilderTest.java49 OkHttpChannelBuilder builder = OkHttpChannelBuilder.forAddress("original", 1234); in authorityIsReadable()
55 OkHttpChannelBuilder builder = OkHttpChannelBuilder.forAddress("original", 1234); in overrideAuthorityIsReadableForAddress()
97 OkHttpChannelBuilder.forAddress("invalid_authority", 1234); in failInvalidAuthority()
105 OkHttpChannelBuilder.forAddress("host", 1234).connectionSpec(ConnectionSpec.CLEARTEXT); in failForUsingClearTextSpecDirectly()
110 OkHttpChannelBuilder.forAddress("host", 1234).connectionSpec(ConnectionSpec.MODERN_TLS); in allowUsingTlsConnectionSpec()
115 OkHttpChannelBuilder builder = OkHttpChannelBuilder.forAddress("host", 1234).usePlaintext(); in usePlaintext_newClientTransportAllowed()
122 OkHttpChannelBuilder builder = OkHttpChannelBuilder.forAddress("host", 1234).usePlaintext(); in usePlaintextDefaultPort()
129 OkHttpChannelBuilder builder = OkHttpChannelBuilder.forAddress("host", 1234); in usePlaintextCreatesNullSocketFactory()
DOkHttpClientTransportFactoryTest.java28 return OkHttpChannelBuilder.forAddress("localhost", 0) in newClientTransportFactory()
DOkHttpTransportTest.java41 .forAddress("localhost", 0)
/external/grpc-grpc-java/benchmarks/src/jmh/java/io/grpc/benchmarks/
DTransportBenchmark.java89 serverBuilder = NettyServerBuilder.forAddress(address); in setUp()
90 channelBuilder = NettyChannelBuilder.forAddress(address) in setUp()
98 serverBuilder = NettyServerBuilder.forAddress(address) in setUp()
100 channelBuilder = NettyChannelBuilder.forAddress(address) in setUp()
116 serverBuilder = NettyServerBuilder.forAddress(address) in setUp()
123 channelBuilder = NettyChannelBuilder.forAddress(address) in setUp()
134 serverBuilder = NettyServerBuilder.forAddress(address); in setUp()
135 channelBuilder = OkHttpChannelBuilder.forAddress("localhost", port).usePlaintext(); in setUp()
/external/grpc-grpc-java/cronet/src/test/java/io/grpc/cronet/
DCronetChannelBuilderTest.java58 CronetChannelBuilder.forAddress("address", 1234, mockEngine).alwaysUsePut(true); in alwaysUsePutTrue_cronetStreamIsIdempotent()
72 CronetChannelBuilder builder = CronetChannelBuilder.forAddress("address", 1234, mockEngine); in alwaysUsePut_defaultsToFalse()
86 CronetChannelBuilder builder = CronetChannelBuilder.forAddress("address", 1234, mockEngine); in scheduledExecutorService_default()
99 CronetChannelBuilder builder = CronetChannelBuilder.forAddress("address", 1234, mockEngine); in scheduledExecutorService_custom()
/external/grpc-grpc-java/interop-testing/src/main/java/io/grpc/testing/integration/
DReconnectTestClient.java69 controlChannel = NettyChannelBuilder.forAddress("127.0.0.1", serverControlPort) in runTest()
74 OkHttpChannelBuilder.forAddress("127.0.0.1", serverRetryPort) in runTest()
78 retryChannel = NettyChannelBuilder.forAddress("127.0.0.1", serverRetryPort) in runTest()
DTestServiceClient.java354 return GoogleDefaultChannelBuilder.forAddress(serverHost, serverPort).build(); in createChannel()
357 return AltsChannelBuilder.forAddress(serverHost, serverPort).build(); in createChannel()
371 NettyChannelBuilder.forAddress(serverHost, serverPort) in createChannel()
383 OkHttpChannelBuilder okBuilder = OkHttpChannelBuilder.forAddress(serverHost, serverPort); in createChannel()
/external/grpc-grpc-java/netty/src/test/java/io/grpc/netty/
DNettyChannelBuilderTest.java52 NettyChannelBuilder builder = NettyChannelBuilder.forAddress("original", 1234); in authorityIsReadable()
64 NettyChannelBuilder builder = NettyChannelBuilder.forAddress("original", 1234); in overrideAuthorityIsReadableForAddress()
76 NettyChannelBuilder builder = NettyChannelBuilder.forAddress(new SocketAddress(){}); in overrideAuthorityIsReadableForSocketAddress()
121 NettyChannelBuilder.forAddress(new InetSocketAddress("invalid_authority", 1234)); in failInvalidAuthority()
DNettyClientTransportFactoryTest.java28 .forAddress("localhost", 0) in newClientTransportFactory()
DNettyTransportTest.java41 .forAddress("localhost", 0)
/external/grpc-grpc-java/interop-testing/src/test/java/io/grpc/testing/integration/
DHttp2NettyLocalChannelTest.java39 .forAddress(new LocalAddress("in-process-1")) in getServerBuilder()
48 .forAddress(new LocalAddress("in-process-1")) in createChannel()
DAutoWindowSizingOnTest.java46 NettyChannelBuilder builder = NettyChannelBuilder.forAddress("localhost", getPort()) in createChannel()
DNettyFlowControlTest.java171 channel = NettyChannelBuilder.forAddress(new InetSocketAddress("localhost", proxyPort)) in resetConnection()
179 NettyServerBuilder.forAddress(new InetSocketAddress("localhost", 0)) in startServer()
/external/grpc-grpc-java/netty/shaded/src/testShadow/java/io/grpc/netty/shaded/
DShadingTest.java70 assertThat(ManagedChannelBuilder.forAddress("localhost", 1234)) in serviceLoaderFindsNetty()
80 .forAddress("localhost", server.getPort()) in basic()
95 .forAddress("localhost", server.getPort()) in tcnative()
/external/grpc-grpc-java/netty/src/main/java/io/grpc/netty/
DNettyChannelProvider.java37 return NettyChannelBuilder.forAddress(name, port); in builderForAddress()
/external/grpc-grpc-java/benchmarks/src/jmh/java/io/grpc/benchmarks/netty/
DAbstractBenchmark.java199 serverBuilder = NettyServerBuilder.forAddress(address); in setup()
201 channelBuilder = NettyChannelBuilder.forAddress(address); in setup()
209 serverBuilder = NettyServerBuilder.forAddress(address); in setup()
210 channelBuilder = NettyChannelBuilder.forAddress(address); in setup()
/external/grpc-grpc-java/okhttp/src/main/java/io/grpc/okhttp/
DOkHttpChannelProvider.java43 return OkHttpChannelBuilder.forAddress(name, port); in builderForAddress()
/external/dagger2/java/dagger/grpc/server/
DNettyServerModule.java57 return NettyServerBuilder.forAddress(socketAddress); in serverBuilder()
/external/grpc-grpc-java/cronet/src/main/java/io/grpc/cronet/
DCronetChannelBuilder.java58 public static CronetChannelBuilder forAddress(String host, int port, CronetEngine cronetEngine) { in forAddress() method in CronetChannelBuilder
73 public static CronetChannelBuilder forAddress(String name, int port) { in forAddress() method in CronetChannelBuilder
/external/grpc-grpc-java/examples/example-kotlin/src/main/kotlin/io/grpc/examples/helloworld/
DHelloWorldClient.kt36 constructor(host: String, port: Int) : this(ManagedChannelBuilder.forAddress(host, port)
/external/grpc-grpc-java/examples/src/main/java/io/grpc/examples/helloworld/
DHelloWorldClient.java37 this(ManagedChannelBuilder.forAddress(host, port) in HelloWorldClient()
/external/grpc-grpc-java/examples/src/main/java/io/grpc/examples/experimental/
DCompressingHelloWorldClient.java45 channel = ManagedChannelBuilder.forAddress(host, port) in CompressingHelloWorldClient()
/external/grpc-grpc-java/examples/src/main/java/io/grpc/examples/header/
DCustomHeaderClient.java46 originChannel = ManagedChannelBuilder.forAddress(host, port) in CustomHeaderClient()
/external/grpc-grpc-java/benchmarks/src/main/java/io/grpc/benchmarks/
DUtils.java118 OkHttpChannelBuilder.forAddress(addr.getHostName(), addr.getPort()); in newOkHttpClientChannel()
137 NettyChannelBuilder.forAddress(address).flowControlWindow(flowControlWindow); in newNettyClientChannel()
/external/grpc-grpc-java/examples/src/main/java/io/grpc/examples/manualflowcontrol/
DManualFlowControlClient.java40 .forAddress("localhost", 50051) in main()

123