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

  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/
ConnectionSpecSelector.java 40 private final List<ConnectionSpec> connectionSpecs;
45 public ConnectionSpecSelector(List<ConnectionSpec> connectionSpecs) {
47 this.connectionSpecs = connectionSpecs;
58 for (int i = nextModeIndex, size = connectionSpecs.size(); i < size; i++) {
59 ConnectionSpec connectionSpec = connectionSpecs.get(i);
73 + ", modes=" + connectionSpecs
140 for (int i = nextModeIndex; i < connectionSpecs.size(); i++) {
141 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();
Connection.java 136 List<ConnectionSpec> connectionSpecs, boolean connectionRetryEnabled) throws RouteException {
144 request, route, connectionSpecs, connectionRetryEnabled);
147 if (!connectionSpecs.contains(ConnectionSpec.CLEARTEXT)) {
150 "CLEARTEXT communication not supported: " + connectionSpecs));
184 List<ConnectionSpec> connectionSpecs = route.address.getConnectionSpecs();
186 request, connectionSpecs, client.getRetryOnConnectionFailure());
OkHttpClient.java 170 private List<ConnectionSpec> connectionSpecs;
204 this.connectionSpecs = okHttpClient.connectionSpecs;
561 public OkHttpClient setConnectionSpecs(List<ConnectionSpec> connectionSpecs) {
562 this.connectionSpecs = Util.immutableList(connectionSpecs);
567 return connectionSpecs;
637 if (result.connectionSpecs == null) {
638 result.connectionSpecs = DEFAULT_CONNECTION_SPECS;
  /external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/
ConnectionSpecSelectorTest.java 121 ConnectionSpec... connectionSpecs) {
122 return new ConnectionSpecSelector(Arrays.asList(connectionSpecs));
  /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);
  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
SocketConnector.java 72 int writeTimeout, Request request, Route route, List<ConnectionSpec> connectionSpecs,
76 ConnectionSpecSelector connectionSpecSelector = new ConnectionSpecSelector(connectionSpecs);

Completed in 273 milliseconds