Searched refs:conn (Results 1 – 6 of 6) sorted by relevance
550 ServiceConnection conn = new MyServiceConnection();552 conn, Context.BIND_AUTO_CREATE)) {553 mCurConnection = conn;564 ServiceConnection conn = new MyServiceConnection();566 conn, Context.BIND_AUTO_CREATE | Context.BIND_NOT_FOREGROUND)) {567 mCurConnection = conn;578 ServiceConnection conn = new MyServiceConnection();580 conn, Context.BIND_AUTO_CREATE | Context.BIND_ABOVE_CLIENT)) {581 mCurConnection = conn;592 ServiceConnection conn = new MyServiceConnection();[all …]
143 HttpURLConnection conn = (HttpURLConnection) url.openConnection(); in downloadUrl() local144 conn.setReadTimeout(10000 /* milliseconds */); in downloadUrl()145 conn.setConnectTimeout(15000 /* milliseconds */); in downloadUrl()146 conn.setRequestMethod("GET"); in downloadUrl()147 conn.setDoInput(true); in downloadUrl()149 conn.connect(); in downloadUrl()150 InputStream stream = conn.getInputStream(); in downloadUrl()
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()
28 import org.apache.http.conn.params.ConnManagerParams;
78 import org.apache.http.conn.params.ConnRouteParams;