Home
last modified time | relevance | path

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

12345678910

/tools/tradefederation/core/src/com/android/tradefed/util/
DStreamUtil.java65 close(stream); in getStringFromSource()
101 close(stream); in getByteArrayListFromSource()
222 close(out); in closeStream()
230 close(in); in closeStream()
246 outStream.close(); in flushAndCloseStream()
262 outStream.close(); in closeZipStream()
278 outStream.close(); in closeGZipStream()
290 public static void close(Closeable closeable) { in close() method in StreamUtil
293 closeable.close(); in close()
305 outputSource.close(); in cancel()
[all …]
DTarUtil.java86 StreamUtil.close(outputFileStream); in unTar()
94 StreamUtil.close(debInputStream); in unTar()
95 StreamUtil.close(is); in unTar()
123 StreamUtil.close(in); in unGzip()
124 StreamUtil.close(out); in unGzip()
149 StreamUtil.close(in); in gzip()
150 StreamUtil.close(out); in gzip()
DSerializationUtil.java49 StreamUtil.close(out); in serialize()
50 StreamUtil.close(fileOut); in serialize()
73 StreamUtil.close(in); in deserialize()
74 StreamUtil.close(fileIn); in deserialize()
DZipUtil.java170 StreamUtil.close(out); in createZip()
218 StreamUtil.close(out); in createZip()
268 zipFile.close(); in closeZip()
295 StreamUtil.close(out); in gzipFile()
313 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/tradefederation/core/tests/src/com/android/tradefed/util/
DSubprocessTestResultsParserTest.java120 StreamUtil.close(resultParser); in testParse_randomEvents()
158 StreamUtil.close(resultParser); in testParse_invalidEventOrder()
193 StreamUtil.close(resultParser); in testParse_testNotStarted()
232 StreamUtil.close(resultParser); in testParse_noTimeStamp()
265 StreamUtil.close(resultParser); in testParse_invocationFailed()
303 StreamUtil.close(socket); in testParser_receiveFromSocket()
307 StreamUtil.close(resultParser); in testParser_receiveFromSocket()
308 StreamUtil.close(socket); in testParser_receiveFromSocket()
325 StreamUtil.close(resultParser); in testParser_failToJoin()
353 StreamUtil.close(resultParser); in testParse_testTag()
[all …]
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()
DStreamUtilTest.java95 output.close(); in testGetBufferedReaderFromInputStream()
154 bais.close(); in testCopyStreams()
155 baos.close(); in testCopyStreams()
165 bais.close(); in testCopyStreamToWriter()
166 writer.close(); in testCopyStreamToWriter()
167 baos.close(); in testCopyStreamToWriter()
/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/tests/src/com/android/tradefed/result/
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.java83 mReporter.close(); in testPrintEvent_printToSocket()
87 receiver.close(); in testPrintEvent_printToSocket()
113 mReporter.close(); in testPrintEvent_legacyMethodCalls()
117 receiver.close(); in testPrintEvent_legacyMethodCalls()
DSubprocessResultsReporterTest.java129 mReporter.close(); in testPrintEvent_printToSocket()
133 receiver.close(); in testPrintEvent_printToSocket()
158 mReporter.close(); in testTestLog()
186 mReporter.close(); in testTestLog_disabled()
/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/tradefederation/core/src/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/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()
/tools/tradefederation/core/src/com/android/tradefed/sandbox/
DTradefedSandbox.java231 StreamUtil.close(mEventParser); in tearDown()
232 StreamUtil.close(mProtoReceiver); in tearDown()
233 StreamUtil.close(mStdout); in tearDown()
234 StreamUtil.close(mStderr); in tearDown()
349 StreamUtil.close(mEventParser); in prepareConfiguration()
350 StreamUtil.close(mProtoReceiver); in prepareConfiguration()
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/zip/
DZFileSortTest.java55 mZFile.close(); in after()
67 mZFile.close(); in setupZFile()
188 mZFile.close(); in sortFilesWithAlignment()
206 mZFile.close(); in sortFilesOnClosedFile()
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/metalava/src/main/java/com/android/tools/metalava/model/psi/
DJavadoc.kt895 var close = start in handleTag() variable
897 while (close < text.length) { in handleTag()
898 val c = text[close] in handleTag()
901 nameEnd = close in handleTag()
907 close++ in handleTag()
912 nameEnd = close in handleTag()
917 nameEnd = close in handleTag()
922 close++ in handleTag()
924 val memberPart = text.substring(nameEnd, close) in handleTag()
/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/metalava/src/main/java/com/android/tools/metalava/
DSdkFileWriter.kt206 bw?.close() in writeValues()
212 fw?.close() in writeValues()
252 bw?.close() in writeClasses()
253 fw?.close() in writeClasses()
/tools/test/connectivity/acts/framework/acts/controllers/attenuator_lib/minicircuits/
Dtelnet.py48 self.close()
77 def close(self): member in AttenuatorInstrument
83 self._tnhelper.close()
/tools/tradefederation/core/clearcut_client/com/android/tradefed/clearcut/
DClearcutClient.java271 StreamUtil.close(outputStream); in sendToClearcut()
272 StreamUtil.close(inputStream); in sendToClearcut()
273 StreamUtil.close(outputStreamWriter); in sendToClearcut()
274 StreamUtil.close(errorStream); in sendToClearcut()
/tools/tradefederation/core/src/com/android/tradefed/util/sl4a/
DSl4aClient.java92 s.close(); in Sl4aClient()
133 s.close(); in startSL4A()
271 public void close() { in close() method in Sl4aClient
277 mSocket.close(); in close()

12345678910