Home
last modified time | relevance | path

Searched refs:httpClient (Results 1 – 3 of 3) sorted by relevance

/cts/tests/tests/networksecurityconfig/src/android/security/net/config/cts/
DTestUtils.java128 AndroidHttpClient httpClient = AndroidHttpClient.newInstance(null); in assertHttpClientSucceeds() local
130 HttpResponse response = httpClient.execute(new HttpGet(url.toString())); in assertHttpClientSucceeds()
132 httpClient.close(); in assertHttpClientSucceeds()
139 AndroidHttpClient httpClient = AndroidHttpClient.newInstance(null); in assertHttpClientFails() local
141 HttpResponse response = httpClient.execute(new HttpGet(url.toString())); in assertHttpClientFails()
145 httpClient.close(); in assertHttpClientFails()
/cts/tests/tests/netsecpolicy/src/android/security/
DNetworkSecurityPolicyTestBase.java124 AndroidHttpClient httpClient = AndroidHttpClient.newInstance(null); in assertAndroidHttpClientCleartextRequestSucceeds() local
126 HttpResponse response = httpClient.execute(new HttpGet(url.toString())); in assertAndroidHttpClientCleartextRequestSucceeds()
129 httpClient.close(); in assertAndroidHttpClientCleartextRequestSucceeds()
137 AndroidHttpClient httpClient = AndroidHttpClient.newInstance(null); in assertAndroidHttpClientCleartextRequestBlocked() local
139 HttpResponse response = httpClient.execute(new HttpGet(url.toString())); in assertAndroidHttpClientCleartextRequestBlocked()
146 httpClient.close(); in assertAndroidHttpClientCleartextRequestBlocked()
/cts/tests/tests/net/src/android/net/http/cts/
DApacheHttpClientTest.java62 HttpClient httpClient = new DefaultHttpClient(); in downloadMultipleFiles() local
64 HttpResponse response = httpClient.execute(request); in downloadMultipleFiles()