Home
last modified time | relevance | path

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

12345678910>>...14

/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()
DShellOutputReceiverStream.java91 public void close() throws IOException { in close() method in ShellOutputReceiverStream
92 super.close(); in close()
93 StreamUtil.close(mFileOutput); in close()
DTarUtil.java182 StreamUtil.close(debInputStream); in unTar()
183 StreamUtil.close(is); in unTar()
214 StreamUtil.close(in); in unGzip()
215 StreamUtil.close(out); in unGzip()
240 StreamUtil.close(in); in gzip()
241 StreamUtil.close(out); in gzip()
/tools/tradefederation/core/common_util/com/android/tradefed/util/
DStreamUtil.java69 close(stream); in getStringFromSource()
105 close(stream); in getByteArrayListFromSource()
281 StreamUtil.close(inStream); in copyFileToStream()
304 close(out); in closeStream()
312 close(in); in closeStream()
328 outStream.close(); in flushAndCloseStream()
344 outStream.close(); in closeZipStream()
360 outStream.close(); in closeGZipStream()
372 public static void close(Closeable closeable) { in close() method in StreamUtil
375 closeable.close(); in close()
[all …]
/tools/tradefederation/core/javatests/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/tradefederation/core/javatests/com/android/tradefed/util/
DStreamUtilTest.java106 output.close(); in testGetBufferedReaderFromInputStream()
197 bais.close(); in testCopyStreams()
198 baos.close(); in testCopyStreams()
218 bais.close(); in testCopyStreams_partialSuccess()
219 baos.close(); in testCopyStreams_partialSuccess()
240 StreamUtil.close(bais); in testCopyStreams_partialFail()
251 bais.close(); in testCopyStreamToWriter()
252 writer.close(); in testCopyStreamToWriter()
253 baos.close(); in testCopyStreamToWriter()
DBugreportTest.java73 StreamUtil.close(out); in setUp()
93 mBugreport.close(); in testBugreport_flat()
109 mBugreport.close(); in testBugreport_zipped()
132 mBugreport.close(); in testBugreport_getFileByName()
165 StreamUtil.close(out); in testBugreportz_noMainFile()
172 mBugreport.close(); in testBugreportz_noMainFile()
188 mBugreport.close(); in testLogBugreport()
204 mBugreport.close(); in testLogBugreportFlat()
DSubprocessTestResultsParserTest.java122 StreamUtil.close(resultParser); in testParse_randomEvents()
159 StreamUtil.close(resultParser); in testParse_invalidEventOrder()
197 StreamUtil.close(resultParser); in testParse_testNotStarted()
239 StreamUtil.close(resultParser); in testParse_noTimeStamp()
271 StreamUtil.close(resultParser); in testParse_invocationFailed()
302 StreamUtil.close(socket); in testParser_receiveFromSocket()
316 StreamUtil.close(resultParser); in testParser_receiveFromSocket()
317 StreamUtil.close(socket); in testParser_receiveFromSocket()
332 StreamUtil.close(resultParser); in testParser_failToJoin()
371 StreamUtil.close(resultParser); in testParse_testTag()
[all …]
/tools/netsim/rust/daemon/src/http_server/
Dhttp_router.rs71 let close = route.find('}'); in match_route() localVariable
74 if open.is_none() && close.is_none() { in match_route()
79 if open.is_none() || close.is_none() || open.unwrap() > close.unwrap() { in match_route()
85 let close = close.unwrap(); in match_route() localVariable
87 let suffix = &route[close + 1..]; in match_route()
/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/acloud/internal/lib/
Demulator_console_test.py67 self._mock_connection.close.assert_not_called()
84 self._mock_connection.close.assert_not_called()
95 self._mock_connection.close.assert_not_called()
106 self._mock_connection.close.assert_called_once()
113 self._mock_connection.close.assert_called_once()
123 self._mock_connection.close.assert_called_once()
/tools/test/connectivity/acts/framework/acts/controllers/attenuator_lib/
D_tnhelper.py54 self._tn.close()
62 def close(self): member in _TNHelper
64 self._tn.close()
92 self.close()
/tools/tradefederation/core/javatests/com/android/tradefed/result/
DLegacySubprocessResultsReporterTest.java83 mReporter.close(); in testPrintEvent_printToSocket()
92 receiver.close(); in testPrintEvent_printToSocket()
116 mReporter.close(); in testPrintEvent_legacyMethodCalls()
127 receiver.close(); in testPrintEvent_legacyMethodCalls()
DLogFileSaverTest.java166 logFileReader.close(); in testSaveLogData()
192 StreamUtil.close(gzipStream); in testSaveAndGZipLogData()
223 StreamUtil.close(gzipOutStream); in testCreateAndGZipLogData()
231 StreamUtil.close(gzipInputStream); in testCreateAndGZipLogData()
256 StreamUtil.close(logFileReader); in testSaveLogDataRaw()
276 StreamUtil.close(logFileReader); in testSaveLogDataRaw_png()
/tools/tradefederation/core/common_util/com/android/tradefed/result/
DInputStreamSource.java50 close(); in cancel()
58 public void close(); in close() method
/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/tradefederation/core/javatests/com/android/tradefed/device/metric/
DShowmapPullerMetricCollectorTest.java100 writer.close(); in test16ColumnHeaders()
151 writer.close(); in test17ColumnHeaders()
198 writer.close(); in testOneObjectTwiceFlow()
243 writer.close(); in testTwoObjectOnceFlow()
290 writer.close(); in testThreeObjectOnceFlow()
347 writer.close(); in testTwoProcessesFlow()
409 writer.close(); in testNoProcessMatchFlow()
459 writer.close(); in testNoProcessFlow()
511 writer.close(); in testErrorFlow()
/tools/test/connectivity/acts/framework/acts/controllers/attenuator_lib/minicircuits/
Dtelnet.py50 self.close()
80 def close(self): member in AttenuatorInstrument
86 self._tnhelper.close()
/tools/test/connectivity/acts_tests/tests/google/tel/etc/
Dmanage_sim.py107 f.close()
137 f.close()
145 f.close()
171 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()
/tools/test/connectivity/acts/framework/tests/
Dacts_host_utils_test.py35 test_s.close()
44 test_s.close()
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/io/
DPipe.kt23 fun close() in add() method
44 override fun close() { in close() method
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/util/
DFileDisk.java157 public void close() throws IOException { in close() method in FileDisk
161 this.fc.close(); in close()
162 this.raf.close(); in close()
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/extras/
DStreamAdapter.kt48 override fun close() { in close() method in trebuchet.extras.InputStreamAdapter
50 inputStream.close() in close()
/tools/tradefederation/core/aoa_helper/javatests/com/android/helper/aoa/
DUsbHelperTest.java100 mHelper.close(); in testContext()
123 verify(mDevice, times(1)).close(); in testGetSerialNumbers()
144 verify(mDevice, never()).close(); in testGetDevice()
156 verify(mDevice, times(1)).close(); in testGetDevice_invalid()

12345678910>>...14