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.java139 URLConnection c1 = server.getUrl("/").openConnection(); in testStatisticsTracking()
148 URLConnection c2 = server.getUrl("/").openConnection(); in testStatisticsTracking()
151 URLConnection c3 = server.getUrl("/").openConnection(); in testStatisticsTracking()
/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/hostsidetests/incident/apps/netstatsapp/src/com/android/server/cts/netstats/
DNetstatsDeviceTest.java57 final HttpsURLConnection urlConnection = (HttpsURLConnection) url.openConnection(); in makeNetworkRequest()
/cts/tests/tests/os/src/android/os/cts/
DStrictModeTest.java197 ((HttpURLConnection) new URL("http://example.com/").openConnection()) in testCleartextNetwork()
216 ((HttpURLConnection) new URL("https://example.com/").openConnection()) in testEncryptedNetwork()
312 ((HttpURLConnection) new URL("http://example.com/").openConnection()) in testUntaggedSocketsHttp()
321 ((HttpURLConnection) new URL("http://example.com/").openConnection()) in testUntaggedSocketsHttp()
450 ((HttpURLConnection) new URL("http://example.com/").openConnection()) in testNetwork()
603 ((HttpURLConnection) new URL("http://example.com/").openConnection()) in testNoCleartextHttpTrafficAllowed()
/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/hostsidetests/devicepolicy/app/DelegateApp/src/com/android/cts/delegate/
DNetworkLoggingDelegateTest.java140 HttpURLConnection urlConnection = (HttpURLConnection) url.openConnection(); in connectToWebsite()
/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.java168 final HttpURLConnection conn = (HttpURLConnection) url.openConnection(); in checkNetworkStatus()
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DNetworkLoggingTest.java329 urlConnection = (HttpURLConnection) url.openConnection(); in connectToWebsite()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/net/
DConnectivityBackgroundTestActivity.java629 (HttpURLConnection) network.openConnection(new URL(url));
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/
DKeyChainTest.java397 HttpsURLConnection connection = (HttpsURLConnection) url.openConnection(); in makeHttpsRequest()
/cts/tests/tests/net/src/android/net/wifi/cts/
DWifiManagerTest.java493 connection = (HttpURLConnection) url.openConnection(); in testWifiWatchdog()
/cts/tests/tests/app.usage/src/android/app/usage/cts/
DNetworkUsageStatsTest.java182 urlc = (HttpURLConnection) network.openConnection(url); in exerciseRemoteHost()
/cts/tests/tests/net/src/android/net/cts/
DConnectivityManagerTest.java334 HttpURLConnection connection = (HttpURLConnection) network.openConnection(httpUrl); in httpGet()
/cts/tools/release-parser/tests/resources/
DCtsJniTestCases.apk.pb.txt192 name: "openConnection"