Home
last modified time | relevance | path

Searched refs:urlConnection (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/
DCaptivePortalLoginActivity.java238 HttpURLConnection urlConnection = null; in testForCaptivePortal()
243 urlConnection = (HttpURLConnection) mNetwork.openConnection( in testForCaptivePortal()
245 urlConnection.setInstanceFollowRedirects(false); in testForCaptivePortal()
246 urlConnection.setConnectTimeout(SOCKET_TIMEOUT_MS); in testForCaptivePortal()
247 urlConnection.setReadTimeout(SOCKET_TIMEOUT_MS); in testForCaptivePortal()
248 urlConnection.setUseCaches(false); in testForCaptivePortal()
249 urlConnection.getInputStream(); in testForCaptivePortal()
250 httpResponseCode = urlConnection.getResponseCode(); in testForCaptivePortal()
254 if (urlConnection != null) urlConnection.disconnect(); in testForCaptivePortal()
/frameworks/base/core/java/android/net/http/
DHttpResponseCache.java211 public CacheRequest put(URI uri, URLConnection urlConnection) throws IOException { in put() argument
212 return mDelegate.put(uri, urlConnection); in put()
/frameworks/base/services/core/java/com/android/server/connectivity/
DPacManager.java219 URLConnection urlConnection = url.openConnection(java.net.Proxy.NO_PROXY); in get() local
222 contentLength = Long.parseLong(urlConnection.getHeaderField("Content-Length")); in get()
232 while ((count = urlConnection.getInputStream().read(buffer)) != -1) { in get()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DOsuServerConnection.java293 URLConnection urlConnection; in performTlsConnection() local
297 urlConnection = mNetwork.openConnection(mUrl); in performTlsConnection()
308 if (urlConnection instanceof HttpsURLConnection) { in performTlsConnection()
309 httpsURLConnection = (HttpsURLConnection) urlConnection; in performTlsConnection()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...