Home
last modified time | relevance | path

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

/libcore/luni/src/main/java/libcore/io/
DIoUtils.java162 public static void closeQuietly(AutoCloseable closeable) { in closeQuietly() method in IoUtils
178 public static void closeQuietly(FileDescriptor fd) { in closeQuietly() method in IoUtils
190 public static void closeQuietly(Socket socket) { in closeQuietly() method in IoUtils
348 closeQuietly(fd); in FileReader()
382 closeQuietly(fd); in readFully()
/libcore/support/src/test/java/libcore/testing/io/
DTestIoUtils.java43 public static void closeQuietly(AutoCloseable closeable) { in closeQuietly() method in TestIoUtils
/libcore/luni/src/main/java/org/apache/harmony/xml/
DExpatReader.java275 IoUtils.closeQuietly(reader); in parse()
287 IoUtils.closeQuietly(in); in parse()
302 IoUtils.closeQuietly(in); in parse()
DExpatParser.java356 IoUtils.closeQuietly(reader); in parseExternalEntity()
371 IoUtils.closeQuietly(in); in parseExternalEntity()
392 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/libcore/io/
DBlockGuardOsTest.java156 IoUtils.closeQuietly(udpSocket); in test_connect_networkPolicy()
166 IoUtils.closeQuietly(tcpSocket); in test_connect_networkPolicy()
/libcore/luni/src/test/java/libcore/java/io/
DFileInputStreamTest.java68 TestIoUtils.closeQuietly(fos); in run()
97 IoUtils.closeQuietly(pipe[0]); in testSkipInPipes()
/libcore/luni/src/test/java/libcore/libcore/net/
DNetworkSecurityPolicyTest.java276 IoUtils.closeQuietly(mSocket); in CapturingServerSocket()
293 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.java577 IoUtils.closeQuietly(fd); in getMTU()
620 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/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/test/java/libcore/java/net/
DNetworkInterfaceTest.java286 IoUtils.closeQuietly(fd); in getFlags()
/libcore/luni/src/main/java/org/apache/harmony/xml/parsers/
DDocumentBuilderImpl.java155 IoUtils.closeQuietly(parser); in parse()
/libcore/luni/src/test/java/libcore/android/system/
DOsTest.java84 IoUtils.closeQuietly(fis); in testFcntlInt()
415 IoUtils.closeQuietly(socket); in expectBindConnectSendtoSuccess()
459 IoUtils.closeQuietly(socket); in expectBindConnectSendtoErrno()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/jar/
DJarFileTest.java468 IoUtils.closeQuietly(jf); in test_getManifest()
/libcore/mmodules/core_platform_api/api/platform/
Dcurrent-api.txt1121 …method @dalvik.annotation.compat.UnsupportedAppUsage public static void closeQuietly(AutoCloseable…
1122 …method @dalvik.annotation.compat.UnsupportedAppUsage public static void closeQuietly(java.io.FileD…
1123 …method @dalvik.annotation.compat.UnsupportedAppUsage public static void closeQuietly(java.net.Sock…