/external/grpc-grpc-java/interop-testing/src/test/java/io/grpc/ |
D | ChannelAndServerBuilderTest.java | 65 } 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/ |
D | ForwardingChannelBuilderTest.java | 36 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/ |
D | ManagedChannelBuilder.java | 29 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()
|
D | ForwardingChannelBuilder.java | 34 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()
|
D | ManagedChannelProvider.java | 84 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/ |
D | AndroidChannelBuilder.java | 37 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/ |
D | TesterOkHttpChannelBuilder.java | 21 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/ |
D | ShadingTest.java | 22 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/ |
D | NettyClientInteropServlet.java | 23 import io.grpc.ManagedChannelBuilder; 134 ManagedChannelBuilder<?> builder = in createChannel() 135 ManagedChannelBuilder.forTarget(INTEROP_TEST_ADDRESS) in createChannel()
|
D | LongLivedChannel.java | 21 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/ |
D | HelloWorldClient.kt | 20 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/ |
D | HelloWorldClient.java | 20 import io.grpc.ManagedChannelBuilder; 37 this(ManagedChannelBuilder.forAddress(host, port) in HelloWorldClient()
|
/external/grpc-grpc-java/examples/src/main/java/io/grpc/examples/experimental/ |
D | CompressingHelloWorldClient.java | 20 import io.grpc.ManagedChannelBuilder; 45 channel = ManagedChannelBuilder.forAddress(host, port) in CompressingHelloWorldClient()
|
/external/grpc-grpc-java/examples/src/main/java/io/grpc/examples/header/ |
D | CustomHeaderClient.java | 23 import io.grpc.ManagedChannelBuilder; 46 originChannel = ManagedChannelBuilder.forAddress(host, port) in CustomHeaderClient()
|
/external/grpc-grpc-java/examples/src/main/java/io/grpc/examples/manualflowcontrol/ |
D | ManualFlowControlClient.java | 20 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/ |
D | OkHttpClientInteropServlet.java | 23 import io.grpc.ManagedChannelBuilder; 216 ManagedChannelBuilder<?> builder = 217 ManagedChannelBuilder.forTarget(INTEROP_TEST_ADDRESS)
|
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/ |
D | AbstractManagedChannelImplBuilder.java | 33 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/ |
D | HelloJsonClient.java | 24 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/ |
D | HelloworldActivity.kt | 31 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/ |
D | RouteGuideClient.java | 22 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/ |
D | HelloWorldClient.java | 23 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/ |
D | HelloworldActivity.java | 32 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/ |
D | StressTestClientTest.java | 26 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/ |
D | ClientCacheExampleActivity.java | 37 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/ |
D | ErrorHandlingClient.java | 29 import io.grpc.ManagedChannelBuilder; 66 ManagedChannelBuilder.forAddress("localhost", server.getPort()).usePlaintext().build(); in run()
|