Home
last modified time | relevance | path

Searched refs:openConnection (Results 1 – 16 of 16) sorted by relevance

/cts/tests/tests/net/src/android/net/http/cts/
DHttpResponseCacheTest.java135 URLConnection c1 = server.getUrl("/").openConnection(); in testStatisticsTracking()
144 URLConnection c2 = server.getUrl("/").openConnection(); in testStatisticsTracking()
147 URLConnection c3 = server.getUrl("/").openConnection(); in testStatisticsTracking()
/cts/tests/tests/os/src/android/os/cts/
DStrictModeTest.java67 ((HttpURLConnection) new URL("http://example.com/").openConnection()).getResponseCode(); in testCleartextNetwork()
90 ((HttpURLConnection) new URL("https://example.com/").openConnection()).getResponseCode(); in testEncryptedNetwork()
/cts/tests/tests/networksecurityconfig/src/android/security/net/config/cts/
DTestUtils.java110 HttpURLConnection connection = (HttpURLConnection) url.openConnection(); in assertUrlConnectionFails()
121 HttpURLConnection connection = (HttpURLConnection) url.openConnection(); in assertUrlConnectionSucceeds()
/cts/libs/testserver/src/android/webkit/cts/
DTestWebServer.java139 URLConnection connection = openConnection(url); in shutdown()
322 private URLConnection openConnection(URL url) in openConnection() method in TestWebServer
329 HttpsURLConnection connection = (HttpsURLConnection) url.openConnection(); in openConnection()
339 return url.openConnection(); in openConnection()
/cts/common/util/src/com/android/compatibility/common/util/
DMultipartForm.java96 connection = (HttpURLConnection) url.openConnection(); in submitForm()
/cts/tools/tradefed-host/src/com/android/cts/tradefed/result/
DMultipartForm.java75 connection = (HttpURLConnection) url.openConnection(); in submitForm()
/cts/tests/tests/netsecpolicy/src/android/security/
DNetworkSecurityPolicyTestBase.java78 conn = (HttpURLConnection) url.openConnection(); in assertCleartextHttpURLConnectionSucceeds()
96 conn = (HttpURLConnection) url.openConnection(); in assertCleartextHttpURLConnectionBlocked()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/streamquality/
DStreamingVideoActivity.java241 urlConnection = (HttpURLConnection) url.openConnection();
/cts/hostsidetests/net/app2/src/com/android/cts/net/hostside/app2/
DMyBroadcastReceiver.java188 final HttpURLConnection conn = (HttpURLConnection) url.openConnection(); in checkNetworkStatus()
/cts/tests/tests/mediastress/preconditions/src/android/mediastress/cts/preconditions/
DMediaPreparer.java238 URLConnection conn = url.openConnection(); in downloadMediaToHost()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/net/
DConnectivityScreenOffTestActivity.java622 (HttpURLConnection) network.openConnection(new URL(url));
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/
DKeyChainTest.java345 HttpsURLConnection connection = (HttpsURLConnection) url.openConnection(); in makeHttpsRequest()
/cts/tests/tests/net/src/android/net/wifi/cts/
DWifiManagerTest.java504 connection = (HttpURLConnection) url.openConnection(); in testWifiWatchdog()
/cts/tests/tests/app.usage/src/android/app/usage/cts/
DNetworkUsageStatsTest.java134 urlc = (HttpURLConnection) network.openConnection(new URL( in exerciseRemoteHost()
/cts/tools/dex-tools/dex/
Dclasses0.out.dex25876 public java.net.URLConnection openConnection()
25878 public java.net.URLConnection openConnection(
26314 protected abstract java.net.URLConnection openConnection(
26317 protected java.net.URLConnection openConnection(
65547 public java.net.URLConnection openConnection(
65550 public java.net.URLConnection openConnection(
65711 protected java.net.URLConnection openConnection(
65714 protected java.net.URLConnection openConnection(
65730 protected java.net.URLConnection openConnection(
65733 protected java.net.URLConnection openConnection(
[all …]
Dclasses.out.dex46349 abstract android.net.http.AndroidHttpClientConnection openConnection(
46849 android.net.http.AndroidHttpClientConnection openConnection(
46930 android.net.http.AndroidHttpClientConnection openConnection(
146434 public abstract void openConnection(
149754 public void openConnection(