Home
last modified time | relevance | path

Searched refs:ManagedChannelBuilder (Results 1 – 25 of 34) sorted by relevance

12

/external/grpc-grpc-java/interop-testing/src/test/java/io/grpc/
DChannelAndServerBuilderTest.java65 } else if (ManagedChannelBuilder.class.isAssignableFrom(clazz) in params()
66 && clazz != ManagedChannelBuilder.class) { in params()
86 Assume.assumeTrue(ManagedChannelBuilder.class.isAssignableFrom(builderClass)); in channelBuilderHidesMethod_forAddress()
90 assertTrue(ManagedChannelBuilder.class.isAssignableFrom(method.getReturnType())); in channelBuilderHidesMethod_forAddress()
96 Assume.assumeTrue(ManagedChannelBuilder.class.isAssignableFrom(builderClass)); in channelBuilderHidesMethod_forTarget()
100 assertTrue(ManagedChannelBuilder.class.isAssignableFrom(method.getReturnType())); in channelBuilderHidesMethod_forTarget()
/external/grpc-grpc-java/core/src/test/java/io/grpc/
DForwardingChannelBuilderTest.java36 private final ManagedChannelBuilder<?> mockDelegate = mock(ManagedChannelBuilder.class);
42 protected ManagedChannelBuilder<?> delegate() { in delegate()
50 ManagedChannelBuilder.class, in allMethodsForwarded()
58 for (Method method : ManagedChannelBuilder.class.getDeclaredMethods()) { in allBuilderMethodsReturnThis()
/external/grpc-grpc-java/core/src/main/java/io/grpc/
DManagedChannelBuilder.java29 public abstract class ManagedChannelBuilder<T extends ManagedChannelBuilder<T>> { class
36 public static ManagedChannelBuilder<?> forAddress(String name, int port) { in forAddress()
70 public static ManagedChannelBuilder<?> forTarget(String target) { in forTarget()
DForwardingChannelBuilder.java34 extends ManagedChannelBuilder<T> {
44 public static ManagedChannelBuilder<?> forAddress(String name, int port) { in forAddress()
51 public static ManagedChannelBuilder<?> forTarget(String target) { in forTarget()
58 protected abstract ManagedChannelBuilder<?> delegate(); in delegate()
DManagedChannelProvider.java84 protected abstract ManagedChannelBuilder<?> builderForAddress(String name, int port); in builderForAddress()
89 protected abstract ManagedChannelBuilder<?> builderForTarget(String target); in builderForTarget()
/external/grpc-grpc-java/android/src/main/java/io/grpc/android/
DAndroidChannelBuilder.java37 import io.grpc.ManagedChannelBuilder;
72 private final ManagedChannelBuilder<?> delegateBuilder;
84 public static AndroidChannelBuilder fromBuilder(ManagedChannelBuilder<?> builder) { in fromBuilder()
94 (ManagedChannelBuilder) in AndroidChannelBuilder()
103 private AndroidChannelBuilder(ManagedChannelBuilder<?> delegateBuilder) { in AndroidChannelBuilder()
170 protected ManagedChannelBuilder<?> delegate() { in delegate()
/external/grpc-grpc-java/android-interop-testing/app/src/main/java/io/grpc/android/integrationtest/
DTesterOkHttpChannelBuilder.java21 import io.grpc.ManagedChannelBuilder;
43 ManagedChannelBuilder<?> channelBuilder = ManagedChannelBuilder.forAddress(host, port) in build()
/external/grpc-grpc-java/netty/shaded/src/testShadow/java/io/grpc/netty/shaded/
DShadingTest.java22 import io.grpc.ManagedChannelBuilder;
70 assertThat(ManagedChannelBuilder.forAddress("localhost", 1234)) in serviceLoaderFindsNetty()
79 channel = ManagedChannelBuilder in basic()
/external/grpc-grpc-java/gae-interop-testing/gae-jdk8/src/main/java/io/grpc/testing/integration/
DNettyClientInteropServlet.java23 import io.grpc.ManagedChannelBuilder;
134 ManagedChannelBuilder<?> builder = in createChannel()
135 ManagedChannelBuilder.forTarget(INTEROP_TEST_ADDRESS) in createChannel()
DLongLivedChannel.java21 import io.grpc.ManagedChannelBuilder;
43 ManagedChannelBuilder.forTarget(INTEROP_TEST_ADDRESS).build();
/external/grpc-grpc-java/examples/example-kotlin/src/main/kotlin/io/grpc/examples/helloworld/
DHelloWorldClient.kt20 import io.grpc.ManagedChannelBuilder
36 constructor(host: String, port: Int) : this(ManagedChannelBuilder.forAddress(host, port)
/external/grpc-grpc-java/examples/src/main/java/io/grpc/examples/helloworld/
DHelloWorldClient.java20 import io.grpc.ManagedChannelBuilder;
37 this(ManagedChannelBuilder.forAddress(host, port) in HelloWorldClient()
/external/grpc-grpc-java/examples/src/main/java/io/grpc/examples/experimental/
DCompressingHelloWorldClient.java20 import io.grpc.ManagedChannelBuilder;
45 channel = ManagedChannelBuilder.forAddress(host, port) in CompressingHelloWorldClient()
/external/grpc-grpc-java/examples/src/main/java/io/grpc/examples/header/
DCustomHeaderClient.java23 import io.grpc.ManagedChannelBuilder;
46 originChannel = ManagedChannelBuilder.forAddress(host, port) in CustomHeaderClient()
/external/grpc-grpc-java/examples/src/main/java/io/grpc/examples/manualflowcontrol/
DManualFlowControlClient.java20 import io.grpc.ManagedChannelBuilder;
39 ManagedChannel channel = ManagedChannelBuilder in main()
/external/grpc-grpc-java/gae-interop-testing/gae-jdk7/src/main/java/io/grpc/testing/integration/
DOkHttpClientInteropServlet.java23 import io.grpc.ManagedChannelBuilder;
216 ManagedChannelBuilder<?> builder =
217 ManagedChannelBuilder.forTarget(INTEROP_TEST_ADDRESS)
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DAbstractManagedChannelImplBuilder.java33 import io.grpc.ManagedChannelBuilder;
54 <T extends AbstractManagedChannelImplBuilder<T>> extends ManagedChannelBuilder<T> {
57 public static ManagedChannelBuilder<?> forAddress(String name, int port) { in forAddress()
61 public static ManagedChannelBuilder<?> forTarget(String target) { in forTarget()
/external/grpc-grpc-java/examples/src/main/java/io/grpc/examples/advanced/
DHelloJsonClient.java24 import io.grpc.ManagedChannelBuilder;
53 channel = ManagedChannelBuilder.forAddress(host, port) in HelloJsonClient()
/external/grpc-grpc-java/examples/example-kotlin/android/helloworld/app/src/main/kotlin/io/grpc/helloworldexample/
DHelloworldActivity.kt31 import io.grpc.ManagedChannelBuilder
70 channel = ManagedChannelBuilder.forAddress(host, port).usePlaintext().build() in doInBackground()
/external/grpc-grpc-java/examples/src/main/java/io/grpc/examples/routeguide/
DRouteGuideClient.java22 import io.grpc.ManagedChannelBuilder;
52 this(ManagedChannelBuilder.forAddress(host, port).usePlaintext()); in RouteGuideClient()
56 public RouteGuideClient(ManagedChannelBuilder<?> channelBuilder) { in RouteGuideClient()
/external/opencensus-java/examples/src/main/java/io/opencensus/examples/grpc/helloworld/
DHelloWorldClient.java23 import io.grpc.ManagedChannelBuilder;
57 ManagedChannelBuilder.forAddress(host, port) in HelloWorldClient()
/external/grpc-grpc-java/examples/android/helloworld/app/src/main/java/io/grpc/helloworldexample/
DHelloworldActivity.java32 import io.grpc.ManagedChannelBuilder;
87 channel = ManagedChannelBuilder.forAddress(host, port).usePlaintext().build(); in doInBackground()
/external/grpc-grpc-java/interop-testing/src/test/java/io/grpc/testing/integration/
DStressTestClientTest.java26 import io.grpc.ManagedChannelBuilder;
131 ManagedChannel ch = ManagedChannelBuilder.forAddress("localhost", client.getMetricServerPort()) in gaugesShouldBeExported()
/external/grpc-grpc-java/examples/android/clientcache/app/src/main/java/io/grpc/clientcacheexample/
DClientCacheExampleActivity.java37 import io.grpc.ManagedChannelBuilder;
113 channel = ManagedChannelBuilder.forAddress(host, port).usePlaintext().build(); in doInBackground()
/external/grpc-grpc-java/examples/src/main/java/io/grpc/examples/errorhandling/
DErrorHandlingClient.java29 import io.grpc.ManagedChannelBuilder;
66 ManagedChannelBuilder.forAddress("localhost", server.getPort()).usePlaintext().build(); in run()

12