/libcore/luni/src/test/java/libcore/java/io/ |
D | FileDescriptorTest.java | 30 new RandomAccessFile(f, "r").getFD().sync(); in testReadOnlyFileDescriptorSync() 36 assertFalse(fis.getFD().isSocket()); in test_isSocket() 40 assertTrue(s.getImpl$().getFD$().isSocket()); in test_isSocket()
|
D | FileOutputStreamTest.java | 31 FileOutputStream fos2 = new FileOutputStream(fos1.getFD()); in testFileDescriptorOwnership()
|
D | FileInputStreamTest.java | 106 FileInputStream fis2 = new FileInputStream(fis1.getFD()); in testFileDescriptorOwnership()
|
D | OldRandomAccessFileTest.java | 206 assertTrue("Test 1: Returned invalid fd.", raf.getFD().valid()); in test_getFD() 209 assertFalse("Test 2: Returned valid fd after close", raf.getFD().valid()); in test_getFD()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | FileDescriptorTest.java | 43 FileDescriptor fd = fos.getFD(); in test_sync() 50 fd = fis.getFD(); in test_sync() 55 fd = raf.getFD(); in test_sync() 79 FileDescriptor fd = fos.getFD(); in test_valid()
|
D | SyncFailedExceptionTest.java | 36 FileDescriptor fd = fos.getFD(); in test_ConstructorLjava_lang_String()
|
D | FileInputStreamTest.java | 118 FileInputStream fis = new FileInputStream(fos.getFD()); in test_ConstructorLjava_io_FileDescriptor() 185 FileInputStream fis2 = new FileInputStream(fis1.getFD()); in test_close_shared_fd() 204 assertTrue("Returned invalid fd", fis.getFD().valid()); in test_getFD() 206 assertTrue("Returned invalid fd", !fis.getFD().valid()); in test_getFD()
|
D | FileOutputStreamTest.java | 81 fos = new FileOutputStream(fis.getFD()); in test_ConstructorLjava_io_FileDescriptor() 167 assertTrue("Returned invalid fd", fos.getFD().valid()); in test_getFD() 169 assertTrue("Returned invalid fd", !fos.getFD().valid()); in test_getFD()
|
D | FileReaderTest.java | 62 br = new FileReader(fis.getFD()); in test_ConstructorLjava_io_FileDescriptor()
|
D | FileWriterTest.java | 102 br = new BufferedReader(new FileReader(fis.getFD())); in test_ConstructorLjava_io_FileDescriptor()
|
D | RandomAccessFileTest.java | 170 assertTrue("Returned invalid fd", raf.getFD().valid()); in test_getFD() 173 assertFalse("Returned valid fd after close", raf.getFD().valid()); in test_getFD()
|
/libcore/luni/src/main/java/java/nio/ |
D | ServerSocketChannelImpl.java | 102 IoUtils.setBlocking(socket.getFD$(), blocking); in implConfigureBlocking() 113 public FileDescriptor getFD() { in getFD() method in ServerSocketChannelImpl 114 return socket.getFD$(); in getFD() 170 private FileDescriptor getFD$() { in getFD$() 171 return super.getImpl$().getFD$(); in getFD$()
|
D | PipeImpl.java | 75 IoUtils.setBlocking(getFD(), blocking); in implConfigureBlocking() 90 public FileDescriptor getFD() { in getFD() method in PipeImpl.PipeSourceChannel 110 IoUtils.setBlocking(getFD(), blocking); in implConfigureBlocking() 125 public FileDescriptor getFD() { in getFD() method in PipeImpl.PipeSinkChannel
|
D | NioUtils.java | 43 public static FileDescriptor getFD(FileChannel fc) { in getFD() method in NioUtils 44 return ((FileChannelImpl) fc).getFD(); in getFD()
|
D | FileDescriptorChannel.java | 25 public FileDescriptor getFD(); in getFD() method
|
D | SocketChannelImpl.java | 481 public FileDescriptor getFD() { in getFD() method in SocketChannelImpl 576 return socketImpl.getFD$(); in getFileDescriptor$()
|
D | FileChannelImpl.java | 424 FileDescriptor outFd = ((SocketChannelImpl) target).getFD(); in transferTo() 535 public FileDescriptor getFD() { in getFD() method in FileChannelImpl
|
D | SelectorImpl.java | 223 setPollFd(i++, ((FileDescriptorChannel) key.channel()).getFD(), eventMask, key); in preparePollFds()
|
D | DatagramChannelImpl.java | 491 public FileDescriptor getFD() { in getFD() method in DatagramChannelImpl
|
/libcore/luni/src/test/java/libcore/io/ |
D | OsTest.java | 39 assertFalse(S_ISSOCK(Libcore.os.fstat(fis.getFD()).st_mode)); in testIsSocket() 43 assertTrue(S_ISSOCK(Libcore.os.fstat(s.getImpl$().getFD$()).st_mode)); in testIsSocket() 144 FileDescriptor fd = fos.getFD(); in test_byteBufferPositions_write_pwrite() 173 FileDescriptor fd = fis.getFD(); in test_byteBufferPositions_read_pread()
|
/libcore/luni/src/main/java/java/net/ |
D | SocketImpl.java | 147 public FileDescriptor getFD$() { in getFD$()
|
/libcore/luni/src/main/java/java/io/ |
D | FileOutputStream.java | 180 public final FileDescriptor getFD() throws IOException { in getFD() method in FileOutputStream
|
D | FileInputStream.java | 168 public final FileDescriptor getFD() throws IOException { in getFD() method in FileInputStream
|
D | RandomAccessFile.java | 206 public final FileDescriptor getFD() throws IOException { in getFD() method in RandomAccessFile
|
/libcore/luni/src/main/java/java/util/zip/ |
D | ZipFile.java | 516 int cnt = inflater.setFileInput(sharedRaf.getFD(), offset, nativeEndBufSize);
|