HomeSort by relevance Sort by last modified time
    Searched refs:openConnection (Results 26 - 50 of 384) sorted by null

12 3 4 5 6 7 8 91011>>

  /libcore/luni/src/test/java/libcore/net/
NetworkSecurityPolicyTest.java 100 url.openConnection().getContent();
108 // that URLConnection.openConnection or getContent fail with an IOException.
113 url.openConnection().getContent();
128 url.openConnection().getContent();
136 // that URLConnection.openConnection or getContent fail with an IOException.
141 url.openConnection().getContent();
155 ((JarURLConnection) url.openConnection()).getManifest();
163 // that JarURLConnection.openConnection or getManifest fail with an IOException.
168 ((JarURLConnection) url.openConnection()).getManifest();
183 ((JarURLConnection) url.openConnection()).getManifest()
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
ClassLoaderTest.java 140 JarURLConnection uncachedConnection = (JarURLConnection) resourceFromJar.openConnection();
155 JarURLConnection cachedConnection1 = (JarURLConnection) resourceFromJar.openConnection();
158 JarURLConnection cachedConnection2 = (JarURLConnection) resourceFromJar.openConnection();
178 JarURLConnection urlConnection1 = (JarURLConnection) resourceFromJar.openConnection();
181 JarURLConnection urlConnection2 = (JarURLConnection) resourceFromJar.openConnection();
185 JarURLConnection uncachedConnection = (JarURLConnection) resourceFromJar.openConnection();
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/
GZIPInputStreamTest.java 63 .openConnection().getInputStream());
85 .openConnection().getInputStream(), 200);
94 .openConnection().getInputStream(), 0);
104 .openConnection().getInputStream(), 200);
127 .openConnection().getInputStream());
240 .openConnection().getInputStream());
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
HttpsURLConnectionTest.java 59 HttpsURLConnection connection = (HttpsURLConnection) url.openConnection();
75 HttpsURLConnection connection = (HttpsURLConnection) url.openConnection();
117 HttpsURLConnection connection = (HttpsURLConnection) url.openConnection();
135 HttpsURLConnection connection = (HttpsURLConnection) url.openConnection();
158 HttpsURLConnection connection = (HttpsURLConnection) url.openConnection();
  /libcore/luni/src/test/java/libcore/java/net/
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);
OldCookieHandlerTest.java 69 URLConnection connection = server.getUrl("/path/foo").openConnection();
OldURLTest.java 328 u.openConnection();
339 URLConnection conn = u.openConnection();
553 protected URLConnection openConnection(URL u)
606 protected URLConnection openConnection(URL arg0) throws IOException {
608 URLConnection con = arg0.openConnection();
637 public URLConnection openConnection(URL arg0) throws IOException {
639 URLConnection con = arg0.openConnection();
648 public URLConnection openConnection(URL arg0, Proxy proxy)
650 return super.openConnection(u, proxy);
720 u.openConnection();
    [all...]
  /libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/http/
HttpURLConnectionTest.java 172 new URL("http://localhost:" + httpServer.port()).openConnection();
183 * Test checks if the proxy specified in openConnection
194 .openConnection(new Proxy(Proxy.Type.HTTP,
218 HttpURLConnection huc = (HttpURLConnection)url.openConnection(Proxy.NO_PROXY);
241 (HttpURLConnection) url.openConnection();
287 (HttpURLConnection) url.openConnection(
  /cts/tests/tests/net/src/android/net/http/cts/
HttpResponseCacheTest.java 135 URLConnection c1 = server.getUrl("/").openConnection();
144 URLConnection c2 = server.getUrl("/").openConnection();
147 URLConnection c3 = server.getUrl("/").openConnection();
  /cts/tests/tests/os/src/android/os/cts/
StrictModeTest.java 67 ((HttpURLConnection) new URL("http://example.com/").openConnection()).getResponseCode();
90 ((HttpURLConnection) new URL("https://example.com/").openConnection()).getResponseCode();
  /external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/share/
JDWPUnitDebuggeeWrapper.java 113 openConnection();
142 protected void openConnection() {
  /external/ksoap2/ksoap2-j2se/src/main/java/org/ksoap2/transport/
ServiceConnectionSE.java 66 ? (HttpURLConnection) new URL(url).openConnection()
67 : (HttpURLConnection) new URL(url).openConnection(proxy);
  /external/mockwebserver/src/test/java/com/google/mockwebserver/
CustomDispatcherTest.java 50 final HttpURLConnection conn = (HttpURLConnection) url.openConnection();
92 conn = (HttpURLConnection) url.openConnection();
  /external/okhttp/android/main/java/com/squareup/okhttp/
HttpHandler.java 43 @Override protected URLConnection openConnection(URL url) throws IOException {
47 @Override protected URLConnection openConnection(URL url, Proxy proxy) throws IOException {
  /external/okhttp/mockwebserver/src/test/java/com/squareup/okhttp/mockwebserver/
CustomDispatcherTest.java 50 final HttpURLConnection conn = (HttpURLConnection) url.openConnection();
92 conn = (HttpURLConnection) url.openConnection();
  /packages/apps/Messaging/src/com/android/messaging/datamodel/media/
NetworkUriImageRequest.java 60 connection = (HttpURLConnection) url.openConnection();
91 connection = (HttpURLConnection) url.openConnection();
  /external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/MultiSession/
ClassObjectIDTest.java 68 openConnection();
RefTypeIDTest.java 67 openConnection();
ResumeTest.java 63 openConnection();
  /external/apache-harmony/support/src/test/java/tests/support/
Support_URLConnector.java 40 instance = new URL(address).openConnection();
  /external/apache-http/android/src/android/net/http/
HttpConnection.java 45 AndroidHttpClientConnection openConnection(Request req) throws IOException {
  /libcore/luni/src/test/java/libcore/io/
ClassPathURLStreamHandlerTest.java 155 standardUrl.openConnection().connect();
162 actualUrl.openConnection().connect();
171 URLConnection standardUrlConnection = standardUrl.openConnection();
175 URLConnection actualUrlConnection = actualUrl.openConnection();
  /libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/
ContentHandlerTest.java 34 URLConnection conn = new URL("http://www.apache.org").openConnection();
  /libcore/ojluni/src/main/java/javax/crypto/
JarVerifier.java 94 (JarURLConnection) url.openConnection();
  /libcore/ojluni/src/main/java/sun/net/www/protocol/mailto/
Handler.java 102 public synchronized URLConnection openConnection(URL u) {

Completed in 1252 milliseconds

12 3 4 5 6 7 8 91011>>