Home
last modified time | relevance | path

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

/test/suite_harness/common/util/src/com/android/compatibility/common/util/
DMultipartForm.java93 HttpURLConnection connection = null; in submitForm() local
96 connection = (HttpURLConnection) url.openConnection(); in submitForm()
97 connection.setInstanceFollowRedirects(false); in submitForm()
98 connection.setRequestMethod("POST"); in submitForm()
99 connection.setDoOutput(true); in submitForm()
100 connection.setRequestProperty("Content-Type", in submitForm()
104 connection.setRequestProperty("Content-Length", Integer.toString(body.length)); in submitForm()
106 OutputStream output = connection.getOutputStream(); in submitForm()
114 InputStream input = connection.getInputStream(); in submitForm()
117 int response = connection.getResponseCode(); in submitForm()
[all …]
/test/vts/runners/host/tcp_client/
Dvts_tcp_client.py74 self.connection = None
148 self.connection = socket.create_connection(
158 self.channel = self.connection.makefile(mode="brw")
174 if self.connection is not None:
176 self.connection.close()
177 self.connection = None
/test/suite_harness/tools/cts-tradefed/
DREADME15 - automatically continue a CTS test run on another device if connection
/test/mlts/models/assets/asr_float/
DLICENSE389 without limitation, in connection with any unauthorized modifications