/external/grpc-grpc-java/okhttp/src/test/java/io/grpc/okhttp/ |
D | OkHttpChannelBuilderTest.java | 49 OkHttpChannelBuilder builder = OkHttpChannelBuilder.forAddress("original", 1234); in authorityIsReadable() 55 OkHttpChannelBuilder builder = OkHttpChannelBuilder.forAddress("original", 1234); in overrideAuthorityIsReadableForAddress() 61 OkHttpChannelBuilder builder = OkHttpChannelBuilder.forTarget("original:1234"); in overrideAuthorityIsReadableForTarget() 65 private void overrideAuthorityIsReadableHelper(OkHttpChannelBuilder builder, in overrideAuthorityIsReadableHelper() 73 OkHttpChannelBuilder builder = new OkHttpChannelBuilder("good", 1234) { in overrideAllowsInvalidAuthority() 85 OkHttpChannelBuilder builder = new OkHttpChannelBuilder("good", 1234); in failOverrideInvalidAuthority() 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() [all …]
|
D | OkHttpClientTransportFactoryTest.java | 28 return OkHttpChannelBuilder.forAddress("localhost", 0) in newClientTransportFactory()
|
D | OkHttpChannelProviderTest.java | 65 assertSame(OkHttpChannelBuilder.class, provider.builderForAddress("localhost", 443).getClass()); in builderIsAOkHttpBuilder()
|
D | OkHttpTransportTest.java | 39 OkHttpChannelBuilder
|
D | OkHttpClientTransportTest.java | 234 OkHttpChannelBuilder.INTERNAL_DEFAULT_CONNECTION_SPEC, in testToString()
|
/external/grpc-grpc-java/okhttp/src/main/java/io/grpc/okhttp/ |
D | OkHttpChannelBuilder.java | 61 public class OkHttpChannelBuilder extends class 62 AbstractManagedChannelImplBuilder<OkHttpChannelBuilder> { 139 public static OkHttpChannelBuilder forAddress(String host, int port) { in forAddress() 140 return new OkHttpChannelBuilder(host, port); in forAddress() 147 public static OkHttpChannelBuilder forTarget(String target) { in forTarget() 148 return new OkHttpChannelBuilder(target); in forTarget() 162 protected OkHttpChannelBuilder(String host, int port) { in OkHttpChannelBuilder() method in OkHttpChannelBuilder 166 private OkHttpChannelBuilder(String target) { in OkHttpChannelBuilder() method in OkHttpChannelBuilder 171 final OkHttpChannelBuilder setTransportTracerFactory( in setTransportTracerFactory() 183 public final OkHttpChannelBuilder transportExecutor(@Nullable Executor transportExecutor) { in transportExecutor() [all …]
|
D | OkHttpChannelProvider.java | 42 public OkHttpChannelBuilder builderForAddress(String name, int port) { in builderForAddress() 43 return OkHttpChannelBuilder.forAddress(name, port); in builderForAddress() 47 public OkHttpChannelBuilder builderForTarget(String target) { in builderForTarget() 48 return OkHttpChannelBuilder.forTarget(target); in builderForTarget()
|
/external/grpc-grpc-java/android/ |
D | proguard-rules.txt | 1 -keepclassmembers class io.grpc.okhttp.OkHttpChannelBuilder { 2 io.grpc.okhttp.OkHttpChannelBuilder forTarget(java.lang.String); 3 …io.grpc.okhttp.OkHttpChannelBuilder scheduledExecutorService(java.util.concurrent.ScheduledExecuto… 4 io.grpc.okhttp.OkHttpChannelBuilder sslSocketFactory(javax.net.ssl.SSLSocketFactory); 5 io.grpc.okhttp.OkHttpChannelBuilder transportExecutor(java.util.concurrent.Executor);
|
/external/grpc-grpc-java/android-interop-testing/app/src/main/java/io/grpc/android/integrationtest/ |
D | TesterOkHttpChannelBuilder.java | 22 import io.grpc.okhttp.OkHttpChannelBuilder; 51 ((OkHttpChannelBuilder) channelBuilder).useTransportSecurity(); in build() 52 ((OkHttpChannelBuilder) channelBuilder).sslSocketFactory(getSslSocketFactory(testCa)); in build()
|
/external/grpc-grpc-java/interop-testing/src/test/java/io/grpc/testing/integration/ |
D | Http2OkHttpTest.java | 32 import io.grpc.okhttp.OkHttpChannelBuilder; 93 private OkHttpChannelBuilder createChannelBuilder() { in createChannelBuilder() 94 OkHttpChannelBuilder builder = OkHttpChannelBuilder.forAddress("localhost", getPort()) in createChannelBuilder()
|
/external/grpc-grpc-java/benchmarks/src/main/java/io/grpc/benchmarks/ |
D | Utils.java | 33 import io.grpc.okhttp.OkHttpChannelBuilder; 114 private static OkHttpChannelBuilder newOkHttpClientChannel( in newOkHttpClientChannel() 117 OkHttpChannelBuilder builder = in newOkHttpClientChannel() 118 OkHttpChannelBuilder.forAddress(addr.getHostName(), addr.getPort()); in newOkHttpClientChannel()
|
/external/grpc-grpc-java/interop-testing/src/main/java/io/grpc/testing/integration/ |
D | ReconnectTestClient.java | 25 import io.grpc.okhttp.OkHttpChannelBuilder; 74 OkHttpChannelBuilder.forAddress("127.0.0.1", serverRetryPort) in runTest()
|
D | TestServiceClient.java | 30 import io.grpc.okhttp.OkHttpChannelBuilder; 383 OkHttpChannelBuilder okBuilder = OkHttpChannelBuilder.forAddress(serverHost, serverPort); in createChannel()
|
/external/grpc-grpc-java/gae-interop-testing/gae-jdk7/src/main/java/io/grpc/testing/integration/ |
D | OkHttpClientInteropServlet.java | 25 import io.grpc.okhttp.OkHttpChannelBuilder; 219 assertTrue(builder instanceof OkHttpChannelBuilder);
|
/external/grpc-grpc-java/benchmarks/src/jmh/java/io/grpc/benchmarks/ |
D | TransportBenchmark.java | 36 import io.grpc.okhttp.OkHttpChannelBuilder; 135 channelBuilder = OkHttpChannelBuilder.forAddress("localhost", port).usePlaintext(); in setUp()
|
/external/grpc-grpc-java/android/src/test/java/io/grpc/android/ |
D | AndroidChannelBuilderTest.java | 34 import io.grpc.okhttp.OkHttpChannelBuilder; 98 OkHttpChannelBuilder wrappedBuilder = OkHttpChannelBuilder.forTarget("target"); in fromBuilderConstructor()
|
/external/grpc-grpc-java/ |
D | SECURITY.md | 283 NettyChannelBuilder or OkHttpChannelBuilder, respectively.
|