OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:proxySelector
(Results
1 - 25
of
46
) sorted by null
1
2
/libcore/luni/src/test/java/libcore/java/net/
ProxySelectorTest.java
21
import java.net.
ProxySelector
;
29
private
ProxySelector
proxySelector
;
39
proxySelector
=
ProxySelector
.getDefault();
66
assertEquals(Arrays.asList(Proxy.NO_PROXY),
proxySelector
.select(ftpUri));
67
assertEquals(Arrays.asList(Proxy.NO_PROXY),
proxySelector
.select(httpUri));
68
assertEquals(Arrays.asList(Proxy.NO_PROXY),
proxySelector
.select(httpsUri));
69
assertEquals(Arrays.asList(Proxy.NO_PROXY),
proxySelector
.select(socketUri));
70
assertEquals(Arrays.asList(Proxy.NO_PROXY),
proxySelector
.select(otherUri))
[
all
...]
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
Address.java
20
import java.net.
ProxySelector
;
49
final
ProxySelector
proxySelector
;
54
List<Protocol> protocols, List<ConnectionSpec> connectionSpecs,
ProxySelector
proxySelector
) {
59
if (
proxySelector
== null) throw new IllegalArgumentException("
proxySelector
== null");
70
this.
proxySelector
=
proxySelector
;
138
public
ProxySelector
getProxySelector()
[
all
...]
OkHttpClient.java
32
import java.net.
ProxySelector
;
180
private
ProxySelector
proxySelector
;
214
this.
proxySelector
= okHttpClient.
proxySelector
;
312
* <p>If unset, the {@link
ProxySelector
#getDefault() system-wide default}
315
public OkHttpClient setProxySelector(
ProxySelector
proxySelector
) {
316
this.
proxySelector
=
proxySelector
;
[
all
...]
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
AddressTest.java
33
private RecordingProxySelector
proxySelector
= new RecordingProxySelector();
37
authenticator, null, protocols, connectionSpecs,
proxySelector
);
39
authenticator, null, protocols, connectionSpecs,
proxySelector
);
SocksProxyTest.java
22
import java.net.
ProxySelector
;
66
@Test public void
proxySelector
() throws Exception {
69
ProxySelector
proxySelector
= new
ProxySelector
() {
80
.setProxySelector(
proxySelector
);
OkHttpClientTest.java
28
import java.net.
ProxySelector
;
48
private static final
ProxySelector
DEFAULT_PROXY_SELECTOR =
ProxySelector
.getDefault();
54
ProxySelector
.setDefault(DEFAULT_PROXY_SELECTOR);
113
ProxySelector
proxySelector
= new RecordingProxySelector();
121
ProxySelector
.setDefault(
proxySelector
);
126
assertSame(
proxySelector
, client.getProxySelector());
ConnectionPoolTest.java
82
RecordingProxySelector
proxySelector
= new RecordingProxySelector();
91
Util.immutableList(Protocol.SPDY_3, Protocol.HTTP_1_1), CONNECTION_SPECS,
proxySelector
);
99
CONNECTION_SPECS,
proxySelector
);
URLConnectionTest.java
41
import java.net.
ProxySelector
;
303
FakeProxySelector
proxySelector
= new FakeProxySelector();
304
proxySelector
.proxies.add(server2.toProxyAddress());
305
client.client().setProxySelector(
proxySelector
);
[
all
...]
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/
RouteSelectorTest.java
78
private final RecordingProxySelector
proxySelector
= new RecordingProxySelector();
90
.setProxySelector(
proxySelector
)
146
proxyA, protocols, connectionSpecs,
proxySelector
);
157
proxySelector
.assertRequests(); // No proxy selector requests!
162
NO_PROXY, protocols, connectionSpecs,
proxySelector
);
173
proxySelector
.assertRequests(); // No proxy selector requests!
179
proxySelector
.proxies = null;
181
proxySelector
.assertRequests(httpRequest.uri());
202
proxySelector
.assertRequests(httpRequest.uri());
208
proxySelector
.proxies.add(proxyA)
[
all
...]
/external/apache-http/src/org/apache/http/impl/conn/
ProxySelectorRoutePlanner.java
38
import java.net.
ProxySelector
;
59
* This implementation is based on {@link java.net.
ProxySelector
}.
78
protected
ProxySelector
proxySelector
;
89
ProxySelector
prosel) {
96
proxySelector
= prosel;
105
public
ProxySelector
getProxySelector() {
106
return this.
proxySelector
;
116
public void setProxySelector(
ProxySelector
prosel) {
117
this.
proxySelector
= prosel
[
all
...]
/frameworks/base/core/java/android/net/
Proxy.java
26
import java.net.
ProxySelector
;
40
private static final
ProxySelector
sDefaultProxySelector;
96
sDefaultProxySelector =
ProxySelector
.getDefault();
112
ProxySelector
proxySelector
=
ProxySelector
.getDefault();
114
List<java.net.Proxy> proxyList =
proxySelector
.select(uri);
278
ProxySelector
.setDefault(new PacProxySelector());
280
ProxySelector
.setDefault(sDefaultProxySelector);
/prebuilts/eclipse/mavenplugins/tycho/tycho-dependencies-m2repo/org/sonatype/aether/aether-util/1.7/
aether-util-1.7.jar
/prebuilts/tools/common/m2/repository/org/sonatype/aether/aether-util/1.7/
aether-util-1.7.jar
/prebuilts/tools/common/m2/repository/com/squareup/okhttp/okhttp/2.5.0/
okhttp-2.5.0.jar
/prebuilts/eclipse/maven/apache-maven-3.2.1/lib/
aether-api-0.9.0.M2.jar
aether-impl-0.9.0.M2.jar
/prebuilts/tools/common/m2/repository/org/eclipse/aether/aether-api/1.0.2.v20150114/
aether-api-1.0.2.v20150114.jar
/prebuilts/tools/common/m2/repository/com/google/http-client/google-http-client/1.19.0/
google-http-client-1.19.0.jar
/prebuilts/tools/common/m2/repository/com/google/dagger/dagger-compiler/2.0/
dagger-compiler-2.0.jar
/prebuilts/tools/common/m2/repository/org/apache/httpcomponents/httpclient/4.3.2/
httpclient-4.3.2.jar
/prebuilts/tools/common/m2/repository/org/eclipse/aether/aether-impl/1.0.2.v20150114/
aether-impl-1.0.2.v20150114.jar
/external/robolectric/v1/lib/main/
httpclient-4.0.3.jar
/prebuilts/tools/common/m2/repository/org/apache/httpcomponents/httpclient/4.0.1/
httpclient-4.0.1.jar
/prebuilts/tools/common/m2/repository/org/apache/httpcomponents/httpclient/4.0.3/
httpclient-4.0.3.jar
/prebuilts/devtools/tools/lib/
httpclient-4.1.1.jar
Completed in 820 milliseconds
1
2