Home
last modified time | relevance | path

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

/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/
DCaptivePortalLoginActivity.java239 HttpURLConnection urlConnection = null; in testForCaptivePortal()
244 urlConnection = (HttpURLConnection) mNetwork.openConnection( in testForCaptivePortal()
246 urlConnection.setInstanceFollowRedirects(false); in testForCaptivePortal()
247 urlConnection.setConnectTimeout(SOCKET_TIMEOUT_MS); in testForCaptivePortal()
248 urlConnection.setReadTimeout(SOCKET_TIMEOUT_MS); in testForCaptivePortal()
249 urlConnection.setUseCaches(false); in testForCaptivePortal()
250 urlConnection.getInputStream(); in testForCaptivePortal()
251 httpResponseCode = urlConnection.getResponseCode(); in testForCaptivePortal()
255 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.java213 URLConnection urlConnection = url.openConnection(java.net.Proxy.NO_PROXY); in get() local
216 contentLength = Long.parseLong(urlConnection.getHeaderField("Content-Length")); in get()
226 while ((count = urlConnection.getInputStream().read(buffer)) != -1) { in get()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DOsuServerConnection.java281 URLConnection urlConnection; in performTlsConnection() local
285 urlConnection = mNetwork.openConnection(mUrl); in performTlsConnection()
296 if (urlConnection instanceof HttpsURLConnection) { in performTlsConnection()
297 httpsURLConnection = (HttpsURLConnection) urlConnection; in performTlsConnection()