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
384
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/libcore/ojluni/src/main/java/sun/net/www/protocol/ftp/
Handler.java
54
protected java.net.URLConnection
openConnection
(URL u)
56
return
openConnection
(u, null);
59
protected java.net.URLConnection
openConnection
(URL u, Proxy p)
/libcore/ojluni/src/main/java/sun/net/www/protocol/http/
Handler.java
55
protected java.net.URLConnection
openConnection
(URL u)
57
return
openConnection
(u, (Proxy)null);
60
protected java.net.URLConnection
openConnection
(URL u, Proxy p)
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
JarURLConnectionTest.java
59
juc = (JarURLConnection) u.
openConnection
();
71
juc = (JarURLConnection) u.
openConnection
();
75
juc = (JarURLConnection) u.
openConnection
();
79
assertEquals("foo.jar!/Bugs/HelloWorld.class", ((JarURLConnection) url.
openConnection
()).getEntryName());
87
juc = (JarURLConnection) u.
openConnection
();
91
juc = (JarURLConnection) u.
openConnection
();
102
connection = (JarURLConnection) url.
openConnection
();
122
JarURLConnection con1 = (JarURLConnection) fUrl1.
openConnection
();
124
JarURLConnection con2 = (JarURLConnection) fUrl1.
openConnection
();
129
con1 = (JarURLConnection) fUrl1.
openConnection
();
[
all
...]
/libcore/luni/src/test/java/libcore/javax/net/ssl/
HttpsURLConnectionTest.java
44
(HttpsURLConnection) new URL(UNRESOLVABLE_HTTPS_URL).
openConnection
();
54
connection = (HttpsURLConnection) new URL(UNRESOLVABLE_HTTPS_URL).
openConnection
();
62
connection = (HttpsURLConnection) new URL(UNRESOLVABLE_HTTPS_URL).
openConnection
();
80
(HttpsURLConnection) new URL(UNRESOLVABLE_HTTPS_URL).
openConnection
();
90
connection = (HttpsURLConnection) new URL(UNRESOLVABLE_HTTPS_URL).
openConnection
();
98
connection = (HttpsURLConnection) new URL(UNRESOLVABLE_HTTPS_URL).
openConnection
();
/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 {
/external/okhttp/okhttp-android-support/src/test/java/com/squareup/okhttp/internal/huc/
ResponseCacheTest.java
120
private HttpURLConnection
openConnection
(URL url) {
199
HttpURLConnection connection =
openConnection
(url);
239
HttpURLConnection urlConnection =
openConnection
(server.getUrl("/"));
247
urlConnection =
openConnection
(server.getUrl("/")); // cached!
265
HttpsURLConnection c1 = (HttpsURLConnection)
openConnection
(server.getUrl("/"));
277
HttpsURLConnection c2 = (HttpsURLConnection)
openConnection
(server.getUrl("/")); // cached!
302
HttpURLConnection connection =
openConnection
(server.getUrl("/"));
305
connection =
openConnection
(server.getUrl("/")); // cached!
319
assertEquals("ABC", readAscii(
openConnection
(server.getUrl("/foo"))));
324
assertEquals("ABC", readAscii(
openConnection
(server.getUrl("/bar"))))
[
all
...]
/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
...]
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
();
URLConnectionTest.java
182
HttpURLConnection urlConnection = (HttpURLConnection) url.
openConnection
();
194
HttpURLConnection urlConnection = (HttpURLConnection) url.
openConnection
();
204
HttpURLConnection urlConnection = (HttpURLConnection) url.
openConnection
();
213
HttpURLConnection urlConnection = (HttpURLConnection) server.getUrl("/").
openConnection
();
274
HttpURLConnection urlConnection = (HttpURLConnection) server.getUrl("/").
openConnection
();
289
HttpURLConnection urlConnection = (HttpURLConnection) server.getUrl("/").
openConnection
();
318
HttpURLConnection connection = (HttpURLConnection) server.getUrl("/").
openConnection
();
325
HttpURLConnection connection = (HttpURLConnection) server.getUrl("/").
openConnection
();
339
assertContent("ABCDE", server.getUrl("/").
openConnection
(), 5);
340
assertContent("ABCDE", server.getUrl("/").
openConnection
(), 5)
[
all
...]
/libcore/luni/src/test/java/libcore/java/net/customstreamhandler/http/
Handler.java
30
@Override protected URLConnection
openConnection
(URL url) throws IOException {
/libcore/ojluni/src/main/java/sun/net/www/protocol/netdoc/
Handler.java
51
public synchronized URLConnection
openConnection
(URL u)
75
uc = ru.
openConnection
();
83
uc = ru.
openConnection
();
/libcore/ojluni/src/main/java/sun/net/www/protocol/file/
Handler.java
70
public synchronized URLConnection
openConnection
(URL u)
72
return
openConnection
(u, null);
75
public synchronized URLConnection
openConnection
(URL u, Proxy p)
94
uc = ru.
openConnection
(p);
96
uc = ru.
openConnection
();
/libcore/ojluni/src/main/java/sun/net/www/protocol/gopher/
Handler.java
49
public java.net.URLConnection
openConnection
(URL u)
51
return
openConnection
(u, null);
54
public java.net.URLConnection
openConnection
(URL u, Proxy p)
/external/apache-http/src/org/apache/http/conn/
ClientConnectionOperator.java
63
* @deprecated Please use {@link java.net.URL#
openConnection
} instead.
92
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/okhttp/mockwebserver/src/test/java/com/squareup/okhttp/mockwebserver/
MockWebServerTest.java
85
HttpURLConnection connection = (HttpURLConnection) url.
openConnection
();
104
URLConnection connection = server.getUrl("/").
openConnection
();
130
URLConnection connection = server.getUrl("/").
openConnection
();
142
URLConnection connection = server.getUrl("/").
openConnection
();
158
URLConnection urlConnection = server.getUrl("/").
openConnection
();
170
URLConnection urlConnection2 = server.getUrl("/").
openConnection
();
186
server.getUrl("/a").
openConnection
().getInputStream();
189
server.getUrl("/b").
openConnection
().getInputStream(); // Should succeed.
201
URLConnection connection = server.getUrl("/").
openConnection
();
223
URLConnection connection = server.getUrl("/").
openConnection
();
[
all
...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/jar/
JarInputStreamTest.java
57
InputStream is = new URL(jarName).
openConnection
().getInputStream();
97
InputStream is = new URL(jarName).
openConnection
().getInputStream();
131
InputStream is = new URL(jarName2).
openConnection
().getInputStream();
136
is = new URL(jarName).
openConnection
().getInputStream();
146
InputStream is = new URL(jarName).
openConnection
().getInputStream();
159
InputStream is = new URL(intJarName).
openConnection
()
175
InputStream is = new URL(modJarName).
openConnection
()
202
InputStream is = new URL(modJarName).
openConnection
()
223
InputStream is = new URL(modJarName).
openConnection
()
250
InputStream is = new URL(modJarName).
openConnection
()
[
all
...]
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/
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);
/development/tools/emulator/test-apps/SmokeTests/src/com/android/emulator/smoketests/connectivity/
ConnectivityTest.java
62
URLConnection connection = url.
openConnection
();
/external/nanohttpd/core/src/test/java/fi/iki/elonen/integration/
ShutdownTest.java
77
HttpURLConnection connection = (HttpURLConnection) new URL("http://localhost:8092/").
openConnection
();
/frameworks/base/tests/MusicServiceDemo/src/com/example/android/musicservicedemo/
Utils.java
52
HttpURLConnection httpConnection = (HttpURLConnection) url.
openConnection
();
/packages/apps/TV/src/com/android/tv/util/
NetworkUtils.java
48
connection = (HttpURLConnection) new URL(GENERATE_204).
openConnection
();
/external/okhttp/okhttp-urlconnection/src/main/java/com/squareup/okhttp/
OkUrlFactory.java
71
* created with {@link java.net.URL#
openConnection
()}: <pre> {@code
81
@Override protected URLConnection
openConnection
(URL url) {
85
@Override protected URLConnection
openConnection
(URL url, Proxy proxy) {
/frameworks/base/tests/NetworkSecurityConfigTest/src/android/security/net/config/
TestUtils.java
53
HttpsURLConnection connection = (HttpsURLConnection) url.
openConnection
();
66
HttpsURLConnection connection = (HttpsURLConnection) url.
openConnection
();
Completed in 2496 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>