Home
last modified time | relevance | path

Searched refs:IoUtils (Results 1 – 25 of 34) sorted by relevance

12

/libcore/ojluni/src/main/java/java/io/
DPipedReader.java29 import libcore.io.IoUtils;
191 IoUtils.throwInterruptedIoException(); in receive()
264 IoUtils.throwInterruptedIoException(); in read()
DFileInputStream.java39 import libcore.io.IoUtils;
173 IoUtils.setFdOwner(this.fd, this); in FileInputStream()
226 IoUtils.setFdOwner(this.fd, this); in FileInputStream()
DFileOutputStream.java42 import libcore.io.IoUtils;
250 IoUtils.setFdOwner(this.fd, this); in FileOutputStream()
303 IoUtils.setFdOwner(this.fd, this); in FileOutputStream()
DPipedInputStream.java29 import libcore.io.IoUtils;
280 IoUtils.throwInterruptedIoException(); in awaitSpace()
335 IoUtils.throwInterruptedIoException(); in read()
DRandomAccessFile.java37 import libcore.io.IoUtils;
290 IoUtils.setFdOwner(fd, this); in RandomAccessFile()
/libcore/luni/src/main/java/org/apache/harmony/xml/
DExpatReader.java35 import libcore.io.IoUtils;
277 IoUtils.closeQuietly(reader); in parse()
289 IoUtils.closeQuietly(in); in parse()
304 IoUtils.closeQuietly(in); in parse()
DExpatParser.java37 import libcore.io.IoUtils;
359 IoUtils.closeQuietly(reader); in parseExternalEntity()
374 IoUtils.closeQuietly(in); in parseExternalEntity()
395 IoUtils.closeQuietly(in); in parseExternalEntity()
/libcore/ojluni/src/main/java/java/net/
DPlainSocketImpl.java37 import libcore.io.IoUtils;
129 IoUtils.setFdOwner(fd, this); in socketCreate()
132 IoUtils.setBlocking(fd, false); in socketCreate()
204 IoUtils.setFdOwner(s.fd, s); in socketAccept()
DNetworkInterface.java41 import libcore.io.IoUtils;
617 IoUtils.closeQuietly(fd); in getMTU()
660 IoUtils.closeQuietly(fd); in getFlags()
DAbstractPlainDatagramSocketImpl.java28 import libcore.io.IoUtils;
103 IoUtils.setFdOwner(fd, this); in create()
/libcore/luni/src/test/java/libcore/java/util/zip/
DGZIPInputStreamTest.java32 import libcore.io.IoUtils;
188 IoUtils.closeQuietly(gzos); in testMultipleMembersWithCustomBufferSize()
201 IoUtils.closeQuietly(gzip); in testMultipleMembersWithCustomBufferSize()
/libcore/luni/src/test/java/libcore/libcore/io/
DBlockGuardOsTest.java50 import libcore.io.IoUtils;
156 IoUtils.closeQuietly(udpSocket); in test_connect_networkPolicy()
166 IoUtils.closeQuietly(tcpSocket); in test_connect_networkPolicy()
/libcore/luni/src/main/java/libcore/io/
DIoUtils.java41 public final class IoUtils { class
42 private IoUtils() { in IoUtils() method in IoUtils
184 IoUtils.close(fd); in closeQuietly()
DIoBridge.java168 IoUtils.setBlocking(fd, false); in connectErrno()
174 IoUtils.setBlocking(fd, true); // 4. set the socket back to blocking. in connectErrno()
193 IoUtils.setBlocking(fd, true); // 4. set the socket back to blocking. in connectErrno()
/libcore/luni/src/test/java/libcore/java/io/
DFileInputStreamTest.java34 import libcore.io.IoUtils;
69 IoUtils.close(mOutFd); in run()
97 IoUtils.closeQuietly(pipe[0]); in testSkipInPipes()
/libcore/luni/src/test/java/libcore/libcore/net/
DNetworkSecurityPolicyTest.java20 import libcore.io.IoUtils;
276 IoUtils.closeQuietly(mSocket); in CapturingServerSocket()
293 IoUtils.closeQuietly(mSocket); in close()
/libcore/luni/src/main/java/javax/xml/datatype/
DFactoryFinder.java30 import libcore.io.IoUtils;
269 IoUtils.closeQuietly(rd); in findJarServiceProvider()
/libcore/luni/src/test/java/libcore/java/nio/channels/
DFileChannelTest.java39 import libcore.io.IoUtils;
118 assertEquals("abcdABCD", new String(IoUtils.readFileAsString(tmp.getPath()))); in test_writev()
134 assertEquals("hello world", new String(IoUtils.readFileAsString(tmp.getPath()))); in test_append()
/libcore/luni/src/main/java/javax/xml/xpath/
DXPathFactoryFinder.java33 import libcore.io.IoUtils;
317 IoUtils.closeQuietly(rd); in loadFromServicesFile()
/libcore/luni/src/main/java/javax/xml/validation/
DSchemaFactoryFinder.java33 import libcore.io.IoUtils;
383 IoUtils.closeQuietly(rd); in loadFromServicesFile()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
DFileChannelTest.java49 import libcore.io.IoUtils;
141 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()
[all …]
/libcore/luni/src/test/java/libcore/java/net/
DNetworkInterfaceTest.java40 import libcore.io.IoUtils;
279 IoUtils.closeQuietly(fd); in getFlags()
/libcore/ojluni/src/main/java/java/util/
DTimeZone.java51 import libcore.io.IoUtils;
717 zoneName = IoUtils.readFileAsString("/etc/timezone"); in getDefaultRef()
/libcore/luni/src/test/java/libcore/java/lang/
DProcessBuilderTest.java42 import libcore.io.IoUtils;
151 String fileContents = new String(IoUtils.readFileAsByteArray( in testRedirectFile_output()
165 String fileContents = new String(IoUtils.readFileAsByteArray(file.getAbsolutePath())); in testRedirectFile_error()
/libcore/luni/src/main/java/org/apache/harmony/xml/parsers/
DDocumentBuilderImpl.java24 import libcore.io.IoUtils;
155 IoUtils.closeQuietly(parser); in parse()

12