Searched refs:openConnection (Results 1 – 16 of 16) sorted by relevance
139 URLConnection c1 = server.getUrl("/").openConnection(); in testStatisticsTracking()148 URLConnection c2 = server.getUrl("/").openConnection(); in testStatisticsTracking()151 URLConnection c3 = server.getUrl("/").openConnection(); in testStatisticsTracking()
110 HttpURLConnection connection = (HttpURLConnection) url.openConnection(); in assertUrlConnectionFails()121 HttpURLConnection connection = (HttpURLConnection) url.openConnection(); in assertUrlConnectionSucceeds()
57 final HttpsURLConnection urlConnection = (HttpsURLConnection) url.openConnection(); in makeNetworkRequest()
197 ((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()
139 URLConnection connection = openConnection(url); in shutdown()322 private URLConnection openConnection(URL url) in openConnection() method in TestWebServer329 HttpsURLConnection connection = (HttpsURLConnection) url.openConnection(); in openConnection()339 return url.openConnection(); in openConnection()
140 HttpURLConnection urlConnection = (HttpURLConnection) url.openConnection(); in connectToWebsite()
78 conn = (HttpURLConnection) url.openConnection(); in assertCleartextHttpURLConnectionSucceeds()96 conn = (HttpURLConnection) url.openConnection(); in assertCleartextHttpURLConnectionBlocked()
241 urlConnection = (HttpURLConnection) url.openConnection();
168 final HttpURLConnection conn = (HttpURLConnection) url.openConnection(); in checkNetworkStatus()
329 urlConnection = (HttpURLConnection) url.openConnection(); in connectToWebsite()
629 (HttpURLConnection) network.openConnection(new URL(url));
397 HttpsURLConnection connection = (HttpsURLConnection) url.openConnection(); in makeHttpsRequest()
493 connection = (HttpURLConnection) url.openConnection(); in testWifiWatchdog()
182 urlc = (HttpURLConnection) network.openConnection(url); in exerciseRemoteHost()
334 HttpURLConnection connection = (HttpURLConnection) network.openConnection(httpUrl); in httpGet()
192 name: "openConnection"