Searched refs:conn (Results 1 – 7 of 7) sorted by relevance
562 ServiceConnection conn = new MyServiceConnection();563 if (bindService(mBindIntent, conn, Context.BIND_AUTO_CREATE)) {564 mCurConnection = conn;575 ServiceConnection conn = new MyServiceConnection();576 if (bindService(mBindIntent, conn,578 mCurConnection = conn;589 ServiceConnection conn = new MyServiceConnection();591 conn, Context.BIND_AUTO_CREATE | Context.BIND_ABOVE_CLIENT)) {592 mCurConnection = conn;603 ServiceConnection conn = new MyServiceConnection();[all …]
267 HttpURLConnection conn = (HttpURLConnection) url.openConnection(); in downloadUrl() local268 conn.setReadTimeout(10000 /* milliseconds */); in downloadUrl()269 conn.setConnectTimeout(15000 /* milliseconds */); in downloadUrl()270 conn.setRequestMethod("GET"); in downloadUrl()271 conn.setDoInput(true); in downloadUrl()273 conn.connect(); in downloadUrl()274 InputStream stream = conn.getInputStream(); in downloadUrl()
297 HttpURLConnection conn = (HttpURLConnection) url.openConnection(); in downloadUrl() local298 conn.setReadTimeout(NET_READ_TIMEOUT_MILLIS /* milliseconds */); in downloadUrl()299 conn.setConnectTimeout(NET_CONNECT_TIMEOUT_MILLIS /* milliseconds */); in downloadUrl()300 conn.setRequestMethod("GET"); in downloadUrl()301 conn.setDoInput(true); in downloadUrl()303 conn.connect(); in downloadUrl()304 return conn.getInputStream(); in downloadUrl()
232 URLConnection conn = new URL(iconUri.toString()).openConnection(); in fetchFavicon() local233 conn.connect(); in fetchFavicon()234 is = conn.getInputStream(); in fetchFavicon()
245 URLConnection conn = new URL(iconUri.toString()).openConnection(); in fetchFavicon() local246 conn.connect(); in fetchFavicon()247 is = conn.getInputStream(); in fetchFavicon()
781 HttpURLConnection conn = null; in onHttpRequest()790 conn = (HttpURLConnection) httpsUrl.openConnection(Proxy.NO_PROXY); in onHttpRequest()791 in = new InputStreamReader(conn.getInputStream()); in onHttpRequest()800 conn = (HttpURLConnection) network.openConnection(httpsUrl, in onHttpRequest()802 in = new InputStreamReader(conn.getInputStream()); in onHttpRequest()814 if (conn != null) conn.disconnect(); in onHttpRequest()
28 import org.apache.http.conn.params.ConnManagerParams;