/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/ |
D | ConnectionSpecSelector.java | 39 private final List<ConnectionSpec> connectionSpecs; field in ConnectionSpecSelector 44 public ConnectionSpecSelector(List<ConnectionSpec> connectionSpecs) { in ConnectionSpecSelector() argument 46 this.connectionSpecs = connectionSpecs; in ConnectionSpecSelector() 57 for (int i = nextModeIndex, size = connectionSpecs.size(); i < size; i++) { in configureSecureSocket() 58 ConnectionSpec connectionSpec = connectionSpecs.get(i); in configureSecureSocket() 72 + ", modes=" + connectionSpecs in configureSecureSocket() 136 for (int i = nextModeIndex; i < connectionSpecs.size(); i++) { in isFallbackPossible() 137 if (connectionSpecs.get(i).isCompatible(socket)) { in isFallbackPossible()
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
D | Address.java | 44 final List<ConnectionSpec> connectionSpecs; field in Address 54 List<Protocol> protocols, List<ConnectionSpec> connectionSpecs, ProxySelector proxySelector) { in Address() argument 73 if (connectionSpecs == null) throw new IllegalArgumentException("connectionSpecs == null"); in Address() 74 this.connectionSpecs = Util.immutableList(connectionSpecs); in Address() 138 return connectionSpecs; in getConnectionSpecs() 179 && this.connectionSpecs.equals(that.connectionSpecs) in equals() 195 result = 31 * result + connectionSpecs.hashCode(); in hashCode()
|
D | OkHttpClient.java | 124 private List<ConnectionSpec> connectionSpecs; field in OkHttpClient 158 this.connectionSpecs = okHttpClient.connectionSpecs; in OkHttpClient() 532 public OkHttpClient setConnectionSpecs(List<ConnectionSpec> connectionSpecs) { in setConnectionSpecs() argument 533 this.connectionSpecs = Util.immutableList(connectionSpecs); in setConnectionSpecs() 538 return connectionSpecs; in getConnectionSpecs() 608 if (result.connectionSpecs == null) { in copyWithDefaults() 609 result.connectionSpecs = DEFAULT_CONNECTION_SPECS; in copyWithDefaults()
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/ |
D | AddressTest.java | 33 private List<ConnectionSpec> connectionSpecs = Util.immutableList(ConnectionSpec.MODERN_TLS); field in AddressTest 38 authenticator, null, protocols, connectionSpecs, proxySelector); in equalsAndHashcode() 40 authenticator, null, protocols, connectionSpecs, proxySelector); in equalsAndHashcode() 47 authenticator, null, protocols, connectionSpecs, new RecordingProxySelector()); in differentProxySelectorsAreDifferent() 49 authenticator, null, protocols, connectionSpecs, new RecordingProxySelector()); in differentProxySelectorsAreDifferent()
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/ |
D | RouteSelectorTest.java | 49 public final List<ConnectionSpec> connectionSpecs = Util.immutableList( field in RouteSelectorTest 118 authenticator, proxyA, protocols, connectionSpecs, proxySelector); in explicitProxyTriesThatProxysAddressesOnly() 133 authenticator, NO_PROXY, protocols, connectionSpecs, proxySelector); in explicitDirectProxy() 343 protocols, connectionSpecs, proxySelector); in httpAddress() 348 hostnameVerifier, null, authenticator, null, protocols, connectionSpecs, proxySelector); in httpsAddress()
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/io/ |
D | RealConnection.java | 93 List<ConnectionSpec> connectionSpecs, boolean connectionRetryEnabled) throws RouteException { in connect() argument 97 ConnectionSpecSelector connectionSpecSelector = new ConnectionSpecSelector(connectionSpecs); in connect() 102 && !connectionSpecs.contains(ConnectionSpec.CLEARTEXT)) { in connect() 104 "CLEARTEXT communication not supported: " + connectionSpecs)); in connect()
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/ |
D | ConnectionSpecSelectorTest.java | 118 ConnectionSpec... connectionSpecs) { in createConnectionSpecSelector() argument 119 return new ConnectionSpecSelector(Arrays.asList(connectionSpecs)); in createConnectionSpecSelector()
|