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()
DPipedInputStream.java29 import libcore.io.IoUtils;
280 IoUtils.throwInterruptedIoException(); in awaitSpace()
335 IoUtils.throwInterruptedIoException(); in read()
DFileInputStream.java39 import libcore.io.IoUtils;
171 IoUtils.setFdOwner(this.fd, this); in FileInputStream()
DFileOutputStream.java42 import libcore.io.IoUtils;
249 IoUtils.setFdOwner(this.fd, this); in FileOutputStream()
DRandomAccessFile.java37 import libcore.io.IoUtils;
290 IoUtils.setFdOwner(fd, this); in RandomAccessFile()
/libcore/luni/src/main/java/org/apache/harmony/xml/
DExpatReader.java23 import libcore.io.IoUtils;
275 IoUtils.closeQuietly(reader); in parse()
287 IoUtils.closeQuietly(in); in parse()
302 IoUtils.closeQuietly(in); in parse()
DExpatParser.java27 import libcore.io.IoUtils;
356 IoUtils.closeQuietly(reader); in parseExternalEntity()
371 IoUtils.closeQuietly(in); in parseExternalEntity()
392 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;
577 IoUtils.closeQuietly(fd); in getMTU()
620 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.java37 public final class IoUtils { class
38 private IoUtils() { in IoUtils() method in IoUtils
180 IoUtils.close(fd); in closeQuietly()
/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/main/java/javax/xml/datatype/
DFactoryFinder.java30 import libcore.io.IoUtils;
269 IoUtils.closeQuietly(rd); in findJarServiceProvider()
/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/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/luni/src/test/java/libcore/java/net/
DNetworkInterfaceTest.java38 import libcore.io.IoUtils;
286 IoUtils.closeQuietly(fd); in getFlags()
/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/ojluni/src/main/java/java/util/
DTimeZone.java49 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()
/libcore/luni/src/test/java/libcore/android/system/
DOsTest.java58 import libcore.io.IoUtils;
84 IoUtils.closeQuietly(fis); in testFcntlInt()
415 IoUtils.closeQuietly(socket); in expectBindConnectSendtoSuccess()
459 IoUtils.closeQuietly(socket); in expectBindConnectSendtoErrno()
1136 File path = new File(IoUtils.createTemporaryDirectory("test_readlink"), "symlink"); in test_readlink()
1254 return IoUtils.readFileAsString(out.getPath()); in checkSendfile()
1310 assertEquals("oobar", IoUtils.readFileAsString(out.getPath())); in test_splice()

12