Home
last modified time | relevance | path

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

/tools/test/connectivity/acts/framework/tests/
Dacts_test_ssh.py41 conn = connection.SshConnection(self.settings)
43 result = conn.run('echo "Hello World"')
52 conn = connection.SshConnection(self.settings)
54 result = conn.run('printenv', env={'MYSPECIALVAR': 20})
65 conn = connection.SshConnection(bad_settings)
66 result = conn.run('echo "Hello World"')
76 conn = connection.SshConnection(bad_settings)
77 result = conn.run('echo "Hello World"')
/tools/tradefederation/core/src/com/android/tradefed/util/net/
DHttpHelper.java365 HttpURLConnection conn = createConnection(new URL(getUrl()), "POST", mContentType); in run() local
367 outputStream = getConnectionOutputStream(conn); in run()
372 inputStream = getConnectionInputStream(conn); in run()
420 HttpURLConnection conn = createConnection(url, "GET", null); in getRemoteUrlStream() local
423 int status = conn.getResponseCode(); in getRemoteUrlStream()
432 String location = conn.getHeaderField("Location"); in getRemoteUrlStream()
435 conn = createConnection(newURL, "GET", null); in getRemoteUrlStream()
438 return conn.getInputStream(); in getRemoteUrlStream()
444 InputStream getConnectionInputStream(HttpURLConnection conn) throws IOException { in getConnectionInputStream() argument
445 return conn.getInputStream(); in getConnectionInputStream()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/result/
DJsonHttpTestResultReporter.java122 HttpURLConnection conn = helper.createJsonConnection( in postResults() local
124 conn.setConnectTimeout(CONNECTION_TIMEOUT_MS); in postResults()
125 conn.setReadTimeout(CONNECTION_TIMEOUT_MS); in postResults()
126 outputStream = conn.getOutputStream(); in postResults()
129 String response = StreamUtil.getStringFromStream(conn.getInputStream()).trim(); in postResults()
130 int responseCode = conn.getResponseCode(); in postResults()
/tools/tradefederation/core/tests/src/com/android/tradefed/util/net/
DHttpHelperTest.java243 InputStream getConnectionInputStream(HttpURLConnection conn) { in testDoPostWithRetry_datasize()
358 InputStream getConnectionInputStream(HttpURLConnection conn) throws IOException { in getConnectionInputStream() argument
366 OutputStream getConnectionOutputStream(HttpURLConnection conn) throws IOException { in getConnectionOutputStream() argument
/tools/metalava/gradle/wrapper/
Dgradle-wrapper.jar ... contentLength long progressCounter long numDownloaded java.net.URLConnection conn java.net.URI address java.io. ...