OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:openConnection
(Results
1 - 25
of
138
) sorted by null
1
2
3
4
5
6
/libcore/luni/src/main/java/libcore/net/url/
FileHandler.java
42
public URLConnection
openConnection
(URL url) throws IOException {
43
return
openConnection
(url, null);
47
* The behavior of this method is the same as
openConnection
(URL).
64
public URLConnection
openConnection
(URL url, Proxy proxy) throws IOException {
76
return (proxy == null) ? ftpURL.
openConnection
() : ftpURL.
openConnection
(proxy);
FtpHandler.java
31
protected URLConnection
openConnection
(URL u) throws IOException {
55
protected URLConnection
openConnection
(URL url, Proxy proxy) throws IOException {
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/
JarURLConnectionTest.java
53
juc = (JarURLConnection) u.
openConnection
();
65
juc = (JarURLConnection) u.
openConnection
();
69
juc = (JarURLConnection) u.
openConnection
();
73
assertEquals("foo.jar!/Bugs/HelloWorld.class",((JarURLConnection)url.
openConnection
()).getEntryName());
81
juc = (JarURLConnection) u.
openConnection
();
85
juc = (JarURLConnection) u.
openConnection
();
97
connection = (JarURLConnection) url.
openConnection
();
117
JarURLConnection con1 = (JarURLConnection) fUrl1.
openConnection
();
119
JarURLConnection con2 = (JarURLConnection) fUrl1.
openConnection
();
125
con1 = (JarURLConnection) fUrl1.
openConnection
();
[
all
...]
ExcludedProxyTest.java
51
URLConnection conn1 = u1.
openConnection
();
58
URLConnection conn3 = u3.
openConnection
();
71
.
openConnection
();
93
.
openConnection
();
156
* @tests java.net.URL#
openConnection
(Proxy)
172
.
openConnection
(proxyList[i]);
201
urlList[i].
openConnection
(null);
207
fileUrl.
openConnection
(Proxy.NO_PROXY);
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/test_protocol/
Handler.java
26
protected URLConnection
openConnection
(URL u) throws IOException {
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/test_protocol/
Handler.java
26
protected URLConnection
openConnection
(URL u) throws IOException {
/libcore/luni/src/test/java/libcore/java/net/
OldJarURLConnectionTest.java
59
juc = (JarURLConnection) u.
openConnection
();
65
JarURLConnection juConn = (JarURLConnection) invURL.
openConnection
();
77
juc = (JarURLConnection) u.
openConnection
();
90
JarURLConnection juConn = (JarURLConnection) invURL.
openConnection
();
102
juc = (JarURLConnection) u.
openConnection
();
110
JarURLConnection juConn = (JarURLConnection) invURL.
openConnection
();
122
juc = (JarURLConnection) u.
openConnection
();
128
juc = (JarURLConnection) u.
openConnection
();
133
assertEquals("foo.jar!/Bugs/HelloWorld.class",((JarURLConnection)url.
openConnection
()).getEntryName());
139
juc = (JarURLConnection) u.
openConnection
();
[
all
...]
URLConnectionTest.java
114
HttpURLConnection urlConnection = (HttpURLConnection) server.getUrl("/").
openConnection
();
175
HttpURLConnection urlConnection = (HttpURLConnection) server.getUrl("/").
openConnection
();
190
HttpURLConnection urlConnection = (HttpURLConnection) server.getUrl("/").
openConnection
();
219
HttpURLConnection connection = (HttpURLConnection) server.getUrl("/").
openConnection
();
226
HttpURLConnection connection = (HttpURLConnection) server.getUrl("/").
openConnection
();
240
assertContent("ABCDE", server.getUrl("/").
openConnection
(), 5);
241
assertContent("ABCDE", server.getUrl("/").
openConnection
(), 5);
259
assertContent("ABCDEFGHIJKLMNOPQR", server.getUrl("/foo").
openConnection
());
261
assertContent("ABCDEFGHIJKLMNOPQR", server.getUrl("/bar?baz=quux").
openConnection
());
263
assertContent("ABCDEFGHIJKLMNOPQR", server.getUrl("/z").
openConnection
());
[
all
...]
URLStreamHandlerFactoryTest.java
58
URLConnection connection = url.
openConnection
();
81
URLConnection connection = new URL("http://android.com/").
openConnection
();
94
URLConnection connection1 = new URL("http://android.com/").
openConnection
();
100
URLConnection connection2 = new URL("http://android.com/").
openConnection
();
OldCookieHandlerTest.java
49
URLConnection conn = url.
openConnection
();
52
conn = url.
openConnection
();
OldURLStreamHandlerTest.java
91
assertNull(handler.
openConnection
(null));
96
handler.
openConnection
(null, null);
176
@Override protected URLConnection
openConnection
(URL arg0) throws IOException {
200
@Override public URLConnection
openConnection
(URL u, Proxy p) throws IOException {
201
return super.
openConnection
(u, p);
/external/okhttp/src/test/java/com/squareup/okhttp/internal/http/
HttpResponseCacheTest.java
123
private HttpURLConnection
openConnection
(URL url) {
176
HttpURLConnection conn =
openConnection
(url);
206
HttpURLConnection conn =
openConnection
(url);
271
HttpURLConnection connection =
openConnection
(url);
302
HttpURLConnection urlConnection =
openConnection
(server.getUrl("/"));
312
urlConnection =
openConnection
(server.getUrl("/")); // cached!
393
HttpURLConnection connection =
openConnection
(server.getUrl("/"));
396
connection =
openConnection
(server.getUrl("/")); // cached!
411
assertEquals("ABC", readAscii(
openConnection
(server.getUrl("/foo"))));
416
assertEquals("ABC", readAscii(
openConnection
(server.getUrl("/bar"))))
[
all
...]
/external/okhttp/android/main/java/com/squareup/okhttp/
HttpHandler.java
27
@Override protected URLConnection
openConnection
(URL url) throws IOException {
31
@Override protected URLConnection
openConnection
(URL url, Proxy proxy) throws IOException {
/libcore/luni/src/test/java/libcore/java/net/customstreamhandler/http/
Handler.java
30
@Override protected URLConnection
openConnection
(URL url) throws IOException {
/external/apache-http/src/org/apache/http/conn/
ClientConnectionOperator.java
87
void
openConnection
(OperatedClientConnection conn,
/external/mockwebserver/src/test/java/com/google/mockwebserver/
MockWebServerTest.java
105
HttpURLConnection connection = (HttpURLConnection) url.
openConnection
();
125
URLConnection connection = server.getUrl("/").
openConnection
();
153
URLConnection connection = server.getUrl("/").
openConnection
();
166
URLConnection connection = server.getUrl("/").
openConnection
();
184
URLConnection urlConnection = server.getUrl("/").
openConnection
();
196
URLConnection urlConnection2 = server.getUrl("/").
openConnection
();
213
server.getUrl("/a").
openConnection
().getInputStream();
217
server.getUrl("/b").
openConnection
().getInputStream(); // Should succeed.
225
InputStream in = server.getUrl("/").
openConnection
().getInputStream();
/external/jmonkeyengine/engine/src/core-plugins/com/jme3/asset/plugins/
UrlAssetInfo.java
25
URLConnection conn = url.
openConnection
();
57
URLConnection conn = url.
openConnection
();
/external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/tests/java/util/jar/
JarInputStreamTest.java
60
InputStream is = new URL(jarName).
openConnection
().getInputStream();
99
InputStream is = new URL(jarName).
openConnection
().getInputStream();
136
InputStream is = new URL(jarName2).
openConnection
().getInputStream();
141
is = new URL(jarName).
openConnection
().getInputStream();
154
InputStream is = new URL(jarName).
openConnection
().getInputStream();
167
InputStream is = new URL(intJarName).
openConnection
()
183
InputStream is = new URL(modJarName).
openConnection
()
210
InputStream is = new URL(modJarName).
openConnection
()
231
InputStream is = new URL(modJarName).
openConnection
()
258
InputStream is = new URL(modJarName).
openConnection
()
[
all
...]
/development/tools/emulator/test-apps/ConnectivityTest/src/com/android/emulator/connectivity/test/
ConnectivityTest.java
62
URLConnection connection = url.
openConnection
();
/external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/tests/java/util/zip/
GZIPInputStreamTest.java
65
.
openConnection
().getInputStream());
89
.
openConnection
().getInputStream(), 200);
98
.
openConnection
().getInputStream(), 0);
108
.
openConnection
().getInputStream(), 200);
137
.
openConnection
().getInputStream());
256
.
openConnection
().getInputStream());
/libcore/luni/src/main/java/java/net/
URL.java
455
return
openConnection
().getContent();
459
* Equivalent to {@code
openConnection
().getContent(types)}.
463
return
openConnection
().getContent(types);
467
* Equivalent to {@code
openConnection
().getInputStream(types)}.
470
return
openConnection
().getInputStream();
478
public URLConnection
openConnection
() throws IOException {
479
return streamHandler.
openConnection
(this);
492
public URLConnection
openConnection
(Proxy proxy) throws IOException {
496
return streamHandler.
openConnection
(this, proxy);
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/http/
HttpURLConnectionTest.java
174
new URL("http://localhost:" + httpServer.port()).
openConnection
();
185
* Test checks if the proxy specified in
openConnection
196
.
openConnection
(new Proxy(Proxy.Type.HTTP,
220
HttpURLConnection huc = (HttpURLConnection)url.
openConnection
(Proxy.NO_PROXY);
243
(HttpURLConnection) url.
openConnection
();
289
(HttpURLConnection) url.
openConnection
(
/libcore/luni/src/test/java/tests/api/javax/net/ssl/
HttpsURLConnectionTest.java
59
HttpsURLConnection connection = (HttpsURLConnection) url.
openConnection
();
75
HttpsURLConnection connection = (HttpsURLConnection) url.
openConnection
();
127
HttpsURLConnection connection = (HttpsURLConnection) url.
openConnection
();
145
HttpsURLConnection connection = (HttpsURLConnection) url.
openConnection
();
168
HttpsURLConnection connection = (HttpsURLConnection) url.
openConnection
();
/frameworks/base/core/tests/coretests/src/android/net/http/
HttpResponseCacheTest.java
120
URLConnection c1 = server.getUrl("/").
openConnection
();
126
URLConnection c2 = server.getUrl("/").
openConnection
();
129
URLConnection c3 = server.getUrl("/").
openConnection
();
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/internal/net/www/protocol/https/
HttpsURLConnectionTest.java
143
.
openConnection
();
183
.
openConnection
();
221
.
openConnection
();
266
.
openConnection
();
307
.
openConnection
();
345
.
openConnection
();
395
.
openConnection
();
437
.
openConnection
();
473
.
openConnection
();
508
.
openConnection
(new Proxy(Proxy.Type.HTTP
[
all
...]
Completed in 944 milliseconds
1
2
3
4
5
6