/external/grpc-grpc-java/okhttp/src/main/java/io/grpc/okhttp/ |
D | OkHttpChannelBuilder.java | 156 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()
|
D | OkHttpClientTransport.java | 183 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/ |
D | ConnectionSpecSelector.java | 58 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/ |
D | ConnectionSpecSelector.java | 60 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/ |
D | ConnectionSpec.java | 264 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/ |
D | ConnectionSpec.java | 259 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/ |
D | ConnectionSpec.java | 284 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/ |
D | ConnectionSpecTest.java | 292 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/ |
D | OkHttpChannelBuilderTest.java | 105 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/ |
D | RealConnection.java | 189 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/ |
D | RealConnection.java | 185 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/ |
D | Http2OkHttpTest.java | 96 .connectionSpec(new ConnectionSpec.Builder(ConnectionSpec.MODERN_TLS) in createChannelBuilder()
|