Home
last modified time | relevance | path

Searched refs:connectionSpec (Results 1 – 12 of 12) sorted by relevance

/external/grpc-grpc-java/okhttp/src/main/java/io/grpc/okhttp/
DOkHttpChannelBuilder.java156 private ConnectionSpec connectionSpec = INTERNAL_DEFAULT_CONNECTION_SPEC; field in OkHttpChannelBuilder
334 public final OkHttpChannelBuilder connectionSpec( in connectionSpec() method in OkHttpChannelBuilder
335 com.squareup.okhttp.ConnectionSpec connectionSpec) { in connectionSpec() argument
336 Preconditions.checkArgument(connectionSpec.isTls(), "plaintext ConnectionSpec is not accepted"); in connectionSpec()
337 this.connectionSpec = Utils.convertSpec(connectionSpec); in connectionSpec()
400 createSocketFactory(), hostnameVerifier, connectionSpec, maxInboundMessageSize(), in buildTransportFactory()
474 private final ConnectionSpec connectionSpec; field in OkHttpChannelBuilder.OkHttpTransportFactory
487 ConnectionSpec connectionSpec, in OkHttpTransportFactory() argument
499 this.connectionSpec = connectionSpec; in OkHttpTransportFactory()
538 connectionSpec, in newClientTransport()
DOkHttpClientTransport.java183 private final ConnectionSpec connectionSpec; field in OkHttpClientTransport
208 @Nullable HostnameVerifier hostnameVerifier, ConnectionSpec connectionSpec, in OkHttpClientTransport() argument
221 this.connectionSpec = Preconditions.checkNotNull(connectionSpec, "connectionSpec"); in OkHttpClientTransport()
259 this.connectionSpec = null; in OkHttpClientTransport()
476 connectionSpec); in start()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/
DConnectionSpecSelector.java58 ConnectionSpec connectionSpec = connectionSpecs.get(i); in configureSecureSocket() local
59 if (connectionSpec.isCompatible(sslSocket)) { in configureSecureSocket()
60 tlsConfiguration = connectionSpec; in configureSecureSocket()
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/
DConnectionSpecSelector.java60 ConnectionSpec connectionSpec = connectionSpecs.get(i); in configureSecureSocket() local
61 if (connectionSpec.isCompatible(sslSocket)) { in configureSecureSocket()
62 tlsConfiguration = connectionSpec; in configureSecureSocket()
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/
DConnectionSpec.java264 public Builder(ConnectionSpec connectionSpec) { in Builder() argument
265 this.tls = connectionSpec.tls; in Builder()
266 this.cipherSuites = connectionSpec.cipherSuites; in Builder()
267 this.tlsVersions = connectionSpec.tlsVersions; in Builder()
268 this.supportsTlsExtensions = connectionSpec.supportsTlsExtensions; in Builder()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DConnectionSpec.java259 public Builder(ConnectionSpec connectionSpec) { in Builder() argument
260 this.tls = connectionSpec.tls; in Builder()
261 this.cipherSuites = connectionSpec.cipherSuites; in Builder()
262 this.tlsVersions = connectionSpec.tlsVersions; in Builder()
263 this.supportsTlsExtensions = connectionSpec.supportsTlsExtensions; in Builder()
/external/grpc-grpc-java/okhttp/third_party/okhttp/main/java/io/grpc/okhttp/internal/
DConnectionSpec.java284 public Builder(ConnectionSpec connectionSpec) { in Builder() argument
285 this.tls = connectionSpec.tls; in Builder()
286 this.cipherSuites = connectionSpec.cipherSuites; in Builder()
287 this.tlsVersions = connectionSpec.tlsVersions; in Builder()
288 this.supportsTlsExtensions = connectionSpec.supportsTlsExtensions; in Builder()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DConnectionSpecTest.java292 ConnectionSpec connectionSpec = new ConnectionSpec.Builder(ConnectionSpec.MODERN_TLS) in allEnabledToString() local
297 + "supportsTlsExtensions=true)", connectionSpec.toString()); in allEnabledToString()
301 ConnectionSpec connectionSpec = new ConnectionSpec.Builder(ConnectionSpec.MODERN_TLS) in simpleToString() local
306 + "supportsTlsExtensions=true)", connectionSpec.toString()); in simpleToString()
/external/grpc-grpc-java/okhttp/src/test/java/io/grpc/okhttp/
DOkHttpChannelBuilderTest.java105 OkHttpChannelBuilder.forAddress("host", 1234).connectionSpec(ConnectionSpec.CLEARTEXT); in failForUsingClearTextSpecDirectly()
110 OkHttpChannelBuilder.forAddress("host", 1234).connectionSpec(ConnectionSpec.MODERN_TLS); in allowUsingTlsConnectionSpec()
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/io/
DRealConnection.java189 ConnectionSpec connectionSpec = connectionSpecSelector.configureSecureSocket(sslSocket); in connectTls() local
190 if (connectionSpec.supportsTlsExtensions()) { in connectTls()
217 String maybeProtocol = connectionSpec.supportsTlsExtensions() in connectTls()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/io/
DRealConnection.java185 ConnectionSpec connectionSpec = connectionSpecSelector.configureSecureSocket(sslSocket); in connectTls() local
186 if (connectionSpec.supportsTlsExtensions()) { in connectTls()
213 String maybeProtocol = connectionSpec.supportsTlsExtensions() in connectTls()
/external/grpc-grpc-java/interop-testing/src/test/java/io/grpc/testing/integration/
DHttp2OkHttpTest.java96 .connectionSpec(new ConnectionSpec.Builder(ConnectionSpec.MODERN_TLS) in createChannelBuilder()