Home
last modified time | relevance | path

Searched refs:close (Results 1 – 25 of 280) sorted by relevance

12345678910>>...12

/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DSubprocessTestResultsParserTest.java125 StreamUtil.close(resultParser); in testParse_randomEvents()
167 StreamUtil.close(resultParser); in testParse_invalidEventOrder()
206 StreamUtil.close(resultParser); in testParse_testNotStarted()
249 StreamUtil.close(resultParser); in testParse_noTimeStamp()
282 StreamUtil.close(resultParser); in testParse_invocationFailed()
324 StreamUtil.close(socket); in testParser_receiveFromSocket()
328 StreamUtil.close(resultParser); in testParser_receiveFromSocket()
329 StreamUtil.close(socket); in testParser_receiveFromSocket()
346 StreamUtil.close(resultParser); in testParser_failToJoin()
387 StreamUtil.close(resultParser); in testParse_testTag()
[all …]
DStreamUtilTest.java97 output.close(); in testGetBufferedReaderFromInputStream()
181 bais.close(); in testCopyStreams()
182 baos.close(); in testCopyStreams()
201 bais.close(); in testCopyStreams_partialSuccess()
202 baos.close(); in testCopyStreams_partialSuccess()
222 StreamUtil.close(bais); in testCopyStreams_partialFail()
232 bais.close(); in testCopyStreamToWriter()
233 writer.close(); in testCopyStreamToWriter()
234 baos.close(); in testCopyStreamToWriter()
DBugreportTest.java68 StreamUtil.close(out); in setUp()
90 mBugreport.close(); in testBugreport_flat()
108 mBugreport.close(); in testBugreport_zipped()
133 mBugreport.close(); in testBugreport_getFileByName()
170 StreamUtil.close(out); in testBugreportz_noMainFile()
177 mBugreport.close(); in testBugreportz_noMainFile()
196 mBugreport.close(); in testLogBugreport()
215 mBugreport.close(); in testLogBugreportFlat()
/tools/tradefederation/core/common_util/com/android/tradefed/util/
DStreamUtil.java68 close(stream); in getStringFromSource()
104 close(stream); in getByteArrayListFromSource()
272 StreamUtil.close(inStream); in copyFileToStream()
295 close(out); in closeStream()
303 close(in); in closeStream()
319 outStream.close(); in flushAndCloseStream()
335 outStream.close(); in closeZipStream()
351 outStream.close(); in closeGZipStream()
363 public static void close(Closeable closeable) { in close() method in StreamUtil
366 closeable.close(); in close()
[all …]
DZipUtil.java187 StreamUtil.close(out); in createZip()
235 StreamUtil.close(out); in createZip()
285 zipFile.close(); in closeZip()
312 StreamUtil.close(out); in gzipFile()
330 StreamUtil.close(inputStream); in writeToStream()
/tools/tradefederation/core/tests/src/com/android/tradefed/util/net/
DHttpHelperTest.java60 mHelper.close(); in tearDown()
112 mHelper.close(); in testDoGet_datasize()
152 mHelper.close(); in testDoGetWithRetry_datasize()
175 mHelper.close(); in testDoGetWithRetry_ioexception()
197 mHelper.close(); in testDoGetWithRetry_retry()
236 mHelper.close(); in testDoPostWithRetry_datasize()
259 mHelper.close(); in testDoPostWithRetry_ioexception()
282 mHelper.close(); in testDoPostWithRetry_retry()
324 public void close() { in close() method in HttpHelperTest.TestHttpHelper
325 StreamUtil.close(mInputStream); in close()
[all …]
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/zip/
DZFileTest.java194 zeis.close(); in compressedFilesReadableByJavaZip()
202 zeis.close(); in compressedFilesReadableByJavaZip()
210 zeis.close(); in compressedFilesReadableByJavaZip()
288 zf.close();
303 is.close();
372 zf.close();
423 zf.close();
474 zf.close();
708 zipNoOffset.close(); in extraDirectoryOffsetEmptyFile()
709 zipWithOffset.close(); in extraDirectoryOffsetEmptyFile()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/util/
DSerializationUtil.java52 StreamUtil.close(out); in serialize()
53 StreamUtil.close(fileOut); in serialize()
74 StreamUtil.close(out); in serializeToString()
75 StreamUtil.close(byteOut); in serializeToString()
96 StreamUtil.close(in); in deserialize()
97 StreamUtil.close(bais); in deserialize()
119 StreamUtil.close(in); in deserialize()
120 StreamUtil.close(fileIn); in deserialize()
DTarUtil.java115 StreamUtil.close(outputFileStream); in unTar()
123 StreamUtil.close(debInputStream); in unTar()
124 StreamUtil.close(is); in unTar()
152 StreamUtil.close(in); in unGzip()
153 StreamUtil.close(out); in unGzip()
178 StreamUtil.close(in); in gzip()
179 StreamUtil.close(out); in gzip()
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DJavadoc.kt879 var close = start in handleTag() variable
881 while (close < text.length) { in handleTag()
882 val c = text[close] in handleTag()
885 nameEnd = close in handleTag()
891 close++ in handleTag()
896 nameEnd = close in handleTag()
901 nameEnd = close in handleTag()
906 close++ in handleTag()
908 val memberPart = text.substring(nameEnd, close) in handleTag()
/tools/asuite/atest/test_runners/
Datest_tf_test_runner_unittest.py221 mock_server.close.return_value = True
262 calls = [mock.call.accept(), mock.call.close()]
264 mock_conn1.assert_has_calls([mock.call.close()])
265 mock_conn2.assert_has_calls([mock.call.close()])
292 calls = [mock.call.accept(), mock.call.close()]
294 mock_conn1.assert_has_calls([mock.call.close()])
295 mock_conn2.assert_has_calls([mock.call.close()])
305 server.close()
/tools/tradefederation/core/atest/test_runners/
Datest_tf_test_runner_unittest.py215 mock_server.close.return_value = True
256 calls = [mock.call.accept(), mock.call.close()]
258 mock_conn1.assert_has_calls([mock.call.close()])
259 mock_conn2.assert_has_calls([mock.call.close()])
286 calls = [mock.call.accept(), mock.call.close()]
288 mock_conn1.assert_has_calls([mock.call.close()])
289 mock_conn2.assert_has_calls([mock.call.close()])
299 server.close()
/tools/tradefederation/core/src/com/android/tradefed/sandbox/
DTradefedSandbox.java281 StreamUtil.close(mEventParser); in tearDown()
282 StreamUtil.close(mProtoReceiver); in tearDown()
283 StreamUtil.close(mStdout); in tearDown()
284 StreamUtil.close(mStderr); in tearDown()
411 StreamUtil.close(mEventParser); in prepareConfiguration()
412 StreamUtil.close(mProtoReceiver); in prepareConfiguration()
505 StreamUtil.close(pw); in handleChildMissingConfig()
/tools/tradefederation/core/tests/src/com/android/tradefed/result/
DSubprocessResultsReporterTest.java140 mReporter.close(); in testPrintEvent_printToSocket()
144 receiver.close(); in testPrintEvent_printToSocket()
192 mReporter.close(); in testPrintEvent_printToSocket_StructuredFailures()
196 receiver.close(); in testPrintEvent_printToSocket_StructuredFailures()
245 mReporter.close(); in testTestLog()
273 mReporter.close(); in testTestLog_disabled()
DLogFileSaverTest.java166 logFileReader.close(); in testSaveLogData()
193 StreamUtil.close(gzipStream); in testSaveAndGZipLogData()
220 zipFile.close(); in testSaveAndZipLogData()
247 StreamUtil.close(gzipOutStream); in testCreateAndGZipLogData()
255 StreamUtil.close(gzipInputStream); in testCreateAndGZipLogData()
276 StreamUtil.close(logFileReader); in testSaveLogDataRaw()
DLegacySubprocessResultsReporterTest.java85 mReporter.close(); in testPrintEvent_printToSocket()
89 receiver.close(); in testPrintEvent_printToSocket()
116 mReporter.close(); in testPrintEvent_legacyMethodCalls()
120 receiver.close(); in testPrintEvent_legacyMethodCalls()
/tools/test/connectivity/acts/framework/acts/controllers/
Dfuchsia_device.py439 self._persistent_ssh_conn.close()
449 self._persistent_ssh_conn.close()
545 ssh_conn.close()
740 self._persistent_ssh_conn.close()
810 fw_file.close()
880 bug_report_file.close()
900 bt_snoop_file.close()
/tools/tradefederation/core/common_util/com/android/tradefed/util/net/
DHttpHelper.java122 StreamUtil.close(remote); in doGet()
137 StreamUtil.close(remote); in doGet()
151 StreamUtil.close(remote); in doGetIgnore()
399 StreamUtil.close(outputStream); in run()
400 StreamUtil.close(inputStream); in run()
401 StreamUtil.close(outputStreamWriter); in run()
/tools/test/connectivity/acts/framework/acts/controllers/pdu_lib/synaccess/
Dnp02b.py87 def close(self): member in PduDevice
93 self.tnhelper.close()
177 self._tn.close()
183 def close(self): member in _TNHelperNP02B
184 self._tn.close()
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/sign/
DManifestGenerationTest.java93 zf.close(); in manifestGenerationOnHalfWrittenFile()
125 zf.close(); in manifestGenerationOnExistingFile()
131 zf.close(); in manifestGenerationOnExistingFile()
167 zf.close(); in manifestGenerationOnIncrementalNoChanges()
174 zf.close(); in manifestGenerationOnIncrementalNoChanges()
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/
Dlogserial.py212 self.close()
265 self.connection_handle.close()
273 def close(self): member in LogSerial
277 self.connection_handle.close()
403 self.close()
/tools/test/connectivity/acts/framework/acts/controllers/attenuator_lib/
D_tnhelper.py53 self._tn.close()
61 def close(self): member in _TNHelper
63 self._tn.close()
90 self.close()
/tools/metalava/src/main/java/com/android/tools/metalava/
DDriver.kt159 if (baseline.close()) { in run()
166 options.reportEvenIfSuppressedWriter?.close() in run()
167 options.strictInputViolationsPrintWriter?.close() in run()
708 override fun close() { in invokeDocumentationTool() method
759 override fun close() { in close() method in com.android.tools.metalava.PrintWriterOutputStream
760 writer.close() in close()
/tools/test/connectivity/acts_tests/tests/google/tel/etc/
Dmanage_sim.py98 f.close()
128 f.close()
136 f.close()
162 f.close()
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zfile/
DApkZFileCreator.java145 closer.close(); in writeZip()
164 closer.close(); in writeFile()
184 public void close() throws IOException { in close() method in ApkZFileCreator
189 zip.close(); in close()

12345678910>>...12