Home
last modified time | relevance | path

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

/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/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/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DConnectionSpecTest.java283 ConnectionSpec connectionSpec = new ConnectionSpec.Builder(ConnectionSpec.MODERN_TLS) in allEnabledToString() local
288 + "supportsTlsExtensions=true)", connectionSpec.toString()); in allEnabledToString()
292 ConnectionSpec connectionSpec = new ConnectionSpec.Builder(ConnectionSpec.MODERN_TLS) in simpleToString() local
297 + "supportsTlsExtensions=true)", connectionSpec.toString()); in simpleToString()
/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()