Home
last modified time | relevance | path

Searched refs:closeQuietly (Results 1 – 18 of 18) sorted by relevance

/libcore/dalvik/src/main/java/dalvik/system/profiler/
DHprofBinaryToAscii.java96 closeQuietly(inputStream); in startsWithMagic()
109 closeQuietly(inputStream); in readHprof()
129 closeQuietly(inputStream); in readSnapshot()
148 private static void closeQuietly(Closeable c) { in closeQuietly() method in HprofBinaryToAscii
/libcore/luni/src/main/java/libcore/io/
DIoUtils.java53 public static void closeQuietly(AutoCloseable closeable) { in closeQuietly() method in IoUtils
67 public static void closeQuietly(FileDescriptor fd) { in closeQuietly() method in IoUtils
77 public static void closeQuietly(Socket socket) { in closeQuietly() method in IoUtils
223 closeQuietly(fd); in FileReader()
257 closeQuietly(fd); in readFully()
/libcore/luni/src/main/java/org/apache/harmony/xml/
DExpatReader.java269 IoUtils.closeQuietly(reader); in parse()
281 IoUtils.closeQuietly(in); in parse()
296 IoUtils.closeQuietly(in); in parse()
DExpatParser.java348 IoUtils.closeQuietly(reader); in parseExternalEntity()
363 IoUtils.closeQuietly(in); in parseExternalEntity()
384 IoUtils.closeQuietly(in); in parseExternalEntity()
/libcore/luni/src/test/java/libcore/java/util/zip/
DGZIPInputStreamTest.java188 IoUtils.closeQuietly(gzos); in testMultipleMembersWithCustomBufferSize()
201 IoUtils.closeQuietly(gzip); in testMultipleMembersWithCustomBufferSize()
/libcore/luni/src/test/java/libcore/java/io/
DFileInputStreamTest.java66 IoUtils.closeQuietly(fos); in run()
95 IoUtils.closeQuietly(pipe[0]); in testSkipInPipes()
/libcore/luni/src/test/java/libcore/net/
DNetworkSecurityPolicyTest.java275 IoUtils.closeQuietly(mSocket); in CapturingServerSocket()
292 IoUtils.closeQuietly(mSocket); in close()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
DFileChannelTest.java141 IoUtils.closeQuietly(readOnlyFileChannel); in tearDown()
142 IoUtils.closeQuietly(readOnlyFileChannel2); in tearDown()
143 IoUtils.closeQuietly(writeOnlyFileChannel); in tearDown()
144 IoUtils.closeQuietly(writeOnlyFileChannel2); in tearDown()
145 IoUtils.closeQuietly(readWriteFileChannel); in tearDown()
146 IoUtils.closeQuietly(fis); in tearDown()
166 IoUtils.closeQuietly(datagramChannelSender); in tearDown()
167 IoUtils.closeQuietly(datagramChannelReceiver); in tearDown()
168 IoUtils.closeQuietly(serverSocketChannel); in tearDown()
169 IoUtils.closeQuietly(socketChannelSender); in tearDown()
[all …]
DDatagramChannelTest.java92 IoUtils.closeQuietly(channel1); in tearDown()
93 IoUtils.closeQuietly(channel2); in tearDown()
94 IoUtils.closeQuietly(datagramSocket1); in tearDown()
95 IoUtils.closeQuietly(datagramSocket2); in tearDown()
2078 IoUtils.closeQuietly(channel2); in closeBlockedReaderChannel2()
/libcore/ojluni/src/main/java/java/net/
DNetworkInterface.java535 IoUtils.closeQuietly(fd); in getMTU()
566 IoUtils.closeQuietly(fd); in getFlags()
/libcore/luni/src/test/java/libcore/java/nio/channels/
DFileIOInterruptTest.java33 import static libcore.io.IoUtils.closeQuietly;
656 closeQuietly(fos); in tidyUp()
683 closeQuietly(fis); in tidyUp()
/libcore/luni/src/test/java/libcore/javax/net/ssl/
DSSLContextTest.java193 closeQuietly(sslSocket); in assertEnabledCipherSuites()
202 closeQuietly(sslSocket); in assertEnabledCipherSuites()
605 private static final void closeQuietly(Closeable socket) { in closeQuietly() method in SSLContextTest
DSSLSocketTest.java2204 closeQuietly(socket); in captureTlsHandshakeFirstTransmittedChunkBytes()
2232 closeQuietly(client); in captureTlsHandshakeFirstTransmittedChunkBytes()
2241 closeQuietly(listeningSocket); in captureTlsHandshakeFirstTransmittedChunkBytes()
2242 closeQuietly(sockets[0]); in captureTlsHandshakeFirstTransmittedChunkBytes()
2243 closeQuietly(sockets[1]); in captureTlsHandshakeFirstTransmittedChunkBytes()
2688 private static final void closeQuietly(Closeable socket) { in closeQuietly() method in SSLSocketTest
/libcore/luni/src/main/java/javax/xml/datatype/
DFactoryFinder.java269 IoUtils.closeQuietly(rd); in findJarServiceProvider()
/libcore/luni/src/main/java/javax/xml/xpath/
DXPathFactoryFinder.java317 IoUtils.closeQuietly(rd); in loadFromServicesFile()
/libcore/luni/src/main/java/javax/xml/validation/
DSchemaFactoryFinder.java383 IoUtils.closeQuietly(rd); in loadFromServicesFile()
/libcore/luni/src/main/java/org/apache/harmony/xml/parsers/
DDocumentBuilderImpl.java155 IoUtils.closeQuietly(parser); in parse()
/libcore/luni/src/test/java/libcore/io/
DOsTest.java72 IoUtils.closeQuietly(fis); in testFcntlInt()