Home
last modified time | relevance | path

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

/platform_testing/libraries/system-helpers/connectivity-helper/src/android/system/helpers/
DConnectivityHelper.java90 HttpURLConnection conn = null; in isConnected() local
94 conn = (HttpURLConnection) url.openConnection(); in isConnected()
95 conn.setRequestMethod("GET"); in isConnected()
96 conn.setConnectTimeout(TIMEOUT * 60); // 1 minute in isConnected()
97 conn.setReadTimeout(TIMEOUT * 60); // 1 minute in isConnected()
98 Log.i(TAG, "connection response code is " + conn.getResponseCode()); in isConnected()
107 if (conn != null) { in isConnected()
108 conn.disconnect(); in isConnected()
/platform_testing/libraries/sts-common-util/host-side/src/com/android/sts/common/
DGitHubUtils.java119 URLConnection conn = uri.toURL().openConnection(); in getJson() local
120 InputStreamReader reader = new InputStreamReader(conn.getInputStream()); in getJson()
DFridaUtils.java110 URLConnection conn = url.openConnection(); in FridaUtils()
111 XZInputStream in = new XZInputStream(conn.getInputStream()); in FridaUtils()
247 URLConnection conn = new URL(url).openConnection(); in getJson() local
248 InputStreamReader reader = new InputStreamReader(conn.getInputStream()); in getJson()
/platform_testing/libraries/sts-common-util/sts-sdk/package/gradle/wrapper/
Dgradle-wrapper.jar ... contentLength long progressCounter long numDownloaded java.net.URLConnection conn java.net.URI address java.io. ...