Home
last modified time | relevance | path

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

/cts/tests/tests/apache-http/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/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.java119 HttpURLConnection urlConnection = (HttpURLConnection) url.openConnection(); in connectToWebsite()
DWorkProfileNetworkLoggingDelegateTest.java164 urlConnection = (HttpURLConnection) url.openConnection(); in connectToWebsite()
/cts/tests/tests/os/src/android/os/cts/
DStrictModeTest.java225 ((HttpURLConnection) new URL("http://example.com/").openConnection()) in testCleartextNetwork()
244 ((HttpURLConnection) new URL("https://example.com/").openConnection()) in testEncryptedNetwork()
340 ((HttpURLConnection) new URL("http://example.com/").openConnection()) in testUntaggedSocketsHttp()
349 ((HttpURLConnection) new URL("http://example.com/").openConnection()) in testUntaggedSocketsHttp()
478 ((HttpURLConnection) new URL("http://example.com/").openConnection()) in testNetwork()
631 ((HttpURLConnection) new URL("http://example.com/").openConnection()) in testNoCleartextHttpTrafficAllowed()
/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.java247 urlConnection = (HttpURLConnection) url.openConnection();
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DNetworkLoggingTest.java199 urlConnection = (HttpURLConnection) url.openConnection(); in connectToWebsite()
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DNetworkLoggingTest.java369 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/app.usage/src/android/app/usage/cts/
DNetworkUsageStatsTest.java185 urlc = (HttpURLConnection) network.openConnection(url); in exerciseRemoteHost()
/cts/hostsidetests/statsdatom/apps/statsdapp/src/com/android/server/cts/device/statsdatom/
DAtomTests.java1030 urlc = (HttpURLConnection) network.openConnection(url); in exerciseRemoteHost()
/cts/tests/tests/wifi/src/android/net/wifi/cts/
DWifiManagerTest.java2991 connection = (HttpURLConnection) url.openConnection(); in sendTraffic()
/cts/tools/release-parser/tests/resources/
DCtsJniTestCases.apk.pb.txt192 name: "openConnection"