HomeSort by relevance Sort by last modified time
    Searched defs:connectionSpecs (Results 1 - 7 of 7) sorted by null

  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/
ConnectionSpecSelector.java 39 private final List<ConnectionSpec> connectionSpecs;
44 public ConnectionSpecSelector(List<ConnectionSpec> connectionSpecs) {
46 this.connectionSpecs = connectionSpecs;
57 for (int i = nextModeIndex, size = connectionSpecs.size(); i < size; i++) {
58 ConnectionSpec connectionSpec = connectionSpecs.get(i);
72 + ", modes=" + connectionSpecs
136 for (int i = nextModeIndex; i < connectionSpecs.size(); i++) {
137 if (connectionSpecs.get(i).isCompatible(socket)) {
  /external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
AddressTest.java 32 private List<ConnectionSpec> connectionSpecs = Util.immutableList(ConnectionSpec.MODERN_TLS);
37 authenticator, null, protocols, connectionSpecs, proxySelector);
39 authenticator, null, protocols, connectionSpecs, proxySelector);
46 authenticator, null, protocols, connectionSpecs, new RecordingProxySelector());
48 authenticator, null, protocols, connectionSpecs, new RecordingProxySelector());
  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
Address.java 48 final List<ConnectionSpec> connectionSpecs;
54 List<Protocol> protocols, List<ConnectionSpec> connectionSpecs, ProxySelector proxySelector) {
69 this.connectionSpecs = Util.immutableList(connectionSpecs);
123 return connectionSpecs;
160 && equal(this.connectionSpecs, that.connectionSpecs)
176 result = 31 * result + connectionSpecs.hashCode();
OkHttpClient.java 177 private List<ConnectionSpec> connectionSpecs;
211 this.connectionSpecs = okHttpClient.connectionSpecs;
571 public OkHttpClient setConnectionSpecs(List<ConnectionSpec> connectionSpecs) {
572 this.connectionSpecs = Util.immutableList(connectionSpecs);
577 return connectionSpecs;
647 if (result.connectionSpecs == null) {
648 result.connectionSpecs = DEFAULT_CONNECTION_SPECS;
Connection.java 153 List<ConnectionSpec> connectionSpecs, boolean connectionRetryEnabled) throws RouteException {
157 ConnectionSpecSelector connectionSpecSelector = new ConnectionSpecSelector(connectionSpecs);
162 && !connectionSpecs.contains(ConnectionSpec.CLEARTEXT)) {
164 "CLEARTEXT communication not supported: " + connectionSpecs));
366 List<ConnectionSpec> connectionSpecs = route.address.getConnectionSpecs();
368 request, connectionSpecs, client.getRetryOnConnectionFailure());
  /external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/
RouteSelectorTest.java 54 public final List<ConnectionSpec> connectionSpecs = Util.immutableList(
95 .setConnectionSpecs(connectionSpecs)
146 proxyA, protocols, connectionSpecs, proxySelector);
162 NO_PROXY, protocols, connectionSpecs, proxySelector);
374 protocols, connectionSpecs, proxySelector);
379 hostnameVerifier, null, authenticator, null, protocols, connectionSpecs, proxySelector);
  /prebuilts/tools/common/m2/repository/com/squareup/okhttp/okhttp/2.5.0/
okhttp-2.5.0.jar 

Completed in 342 milliseconds