/libcore/ojluni/src/main/java/java/io/ |
D | PipedReader.java | 29 import libcore.io.IoUtils; 191 IoUtils.throwInterruptedIoException(); in receive() 264 IoUtils.throwInterruptedIoException(); in read()
|
D | PipedInputStream.java | 29 import libcore.io.IoUtils; 280 IoUtils.throwInterruptedIoException(); in awaitSpace() 335 IoUtils.throwInterruptedIoException(); in read()
|
D | FileInputStream.java | 39 import libcore.io.IoUtils; 171 IoUtils.setFdOwner(this.fd, this); in FileInputStream()
|
D | FileOutputStream.java | 42 import libcore.io.IoUtils; 249 IoUtils.setFdOwner(this.fd, this); in FileOutputStream()
|
D | RandomAccessFile.java | 37 import libcore.io.IoUtils; 290 IoUtils.setFdOwner(fd, this); in RandomAccessFile()
|
/libcore/luni/src/main/java/org/apache/harmony/xml/ |
D | ExpatReader.java | 23 import libcore.io.IoUtils; 275 IoUtils.closeQuietly(reader); in parse() 287 IoUtils.closeQuietly(in); in parse() 302 IoUtils.closeQuietly(in); in parse()
|
D | ExpatParser.java | 27 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/ |
D | PlainSocketImpl.java | 37 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()
|
D | NetworkInterface.java | 41 import libcore.io.IoUtils; 577 IoUtils.closeQuietly(fd); in getMTU() 620 IoUtils.closeQuietly(fd); in getFlags()
|
D | AbstractPlainDatagramSocketImpl.java | 28 import libcore.io.IoUtils; 103 IoUtils.setFdOwner(fd, this); in create()
|
/libcore/luni/src/test/java/libcore/java/util/zip/ |
D | GZIPInputStreamTest.java | 32 import libcore.io.IoUtils; 188 IoUtils.closeQuietly(gzos); in testMultipleMembersWithCustomBufferSize() 201 IoUtils.closeQuietly(gzip); in testMultipleMembersWithCustomBufferSize()
|
/libcore/luni/src/test/java/libcore/libcore/io/ |
D | BlockGuardOsTest.java | 50 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/ |
D | IoUtils.java | 37 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/ |
D | FileInputStreamTest.java | 34 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/ |
D | FactoryFinder.java | 30 import libcore.io.IoUtils; 269 IoUtils.closeQuietly(rd); in findJarServiceProvider()
|
/libcore/luni/src/test/java/libcore/libcore/net/ |
D | NetworkSecurityPolicyTest.java | 20 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/ |
D | FileChannelTest.java | 39 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/ |
D | XPathFactoryFinder.java | 33 import libcore.io.IoUtils; 317 IoUtils.closeQuietly(rd); in loadFromServicesFile()
|
/libcore/luni/src/main/java/javax/xml/validation/ |
D | SchemaFactoryFinder.java | 33 import libcore.io.IoUtils; 383 IoUtils.closeQuietly(rd); in loadFromServicesFile()
|
/libcore/luni/src/test/java/libcore/java/net/ |
D | NetworkInterfaceTest.java | 38 import libcore.io.IoUtils; 286 IoUtils.closeQuietly(fd); in getFlags()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/ |
D | FileChannelTest.java | 49 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/ |
D | TimeZone.java | 49 import libcore.io.IoUtils; 717 zoneName = IoUtils.readFileAsString("/etc/timezone"); in getDefaultRef()
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | ProcessBuilderTest.java | 42 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/ |
D | DocumentBuilderImpl.java | 24 import libcore.io.IoUtils; 155 IoUtils.closeQuietly(parser); in parse()
|
/libcore/luni/src/test/java/libcore/android/system/ |
D | OsTest.java | 58 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()
|