/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 | FileInputStreamTest.java | 123 FileInputStream fis = new FileInputStream(fos.getFD()); in test_ConstructorLjava_io_FileDescriptor() 190 FileInputStream fis2 = new FileInputStream(fis1.getFD()); in test_close_shared_fd() 209 assertTrue("Returned invalid fd", fis.getFD().valid()); in test_getFD() 211 assertTrue("Returned invalid fd", !fis.getFD().valid()); in test_getFD()
|
D | SyncFailedExceptionTest.java | 36 FileDescriptor fd = fos.getFD(); in test_ConstructorLjava_lang_String()
|
D | FileOutputStreamTest.java | 90 fos = new FileOutputStream(fis.getFD()); in test_ConstructorLjava_io_FileDescriptor() 177 assertTrue("Returned invalid fd", fos.getFD().valid()); in test_getFD() 179 assertTrue("Returned invalid fd", !fos.getFD().valid()); in test_getFD() 403 assertTrue(fdAccess.getAppend(fos.getFD())); in test_getChanne_Append_Append()
|
D | FileReaderTest.java | 62 br = new FileReader(fis.getFD()); in test_ConstructorLjava_io_FileDescriptor()
|
/libcore/ojluni/src/main/native/ |
D | FileInputStream.c | 80 fd = getFD(env, this, fis_fd); in Java_java_io_FileInputStream_length0() 96 fd = getFD(env, this, fis_fd); in Java_java_io_FileInputStream_position0() 111 FD fd = getFD(env, this, fis_fd); in Java_java_io_FileInputStream_skip0() 165 FD fd = getFD(env, this, fis_fd); in Java_java_io_FileInputStream_available0()
|
D | io_util.c | 43 FD fd = getFD(env, this, fid); in readSingle() 107 fd = getFD(env, this, fid); in readBytes() 135 FD fd = getFD(env, this, fid); in writeSingle() 188 fd = getFD(env, this, fid); in writeBytes()
|
D | io_util_md.h | 52 FD getFD(JNIEnv *env, jobject cur, jfieldID fid);
|
/libcore/luni/src/test/java/libcore/java/io/ |
D | FileInputStreamTest.java | 121 FileInputStream fis2 = new FileInputStream(fis1.getFD()); in testFileDescriptorOwnership() 147 assertTrue(fis1.getFD().valid()); in testFileDescriptorOwnership() 174 assertFalse(fis1.getFD().valid()); in testFileDescriptorOwnership() 226 android.system.Os.ioctlInt(input.getFD(), OsConstants.FIONREAD); in test_available_on_nonIOCTL_supported_file() 265 assertEquals(0, Libcore.os.lseek(fis.getFD(), 0, OsConstants.SEEK_CUR)); in testSkipOnLargeFiles() 282 Os.posix_fallocate(fos.getFD(), 0, fileSize); in allocateEmptyFile() 290 Os.ftruncate(fos.getFD(), fileSize); in allocateEmptyFile()
|
D | FileDescriptorTest.java | 35 new RandomAccessFile(f, "r").getFD().sync(); in testReadOnlyFileDescriptorSync() 41 assertFalse(fis.getFD().isSocket$()); in test_isSocket() 45 assertTrue(s.getImpl().getFD$().isSocket$()); in test_isSocket()
|
D | FileOutputStreamTest.java | 34 FileOutputStream fos2 = new FileOutputStream(fos1.getFD()); in testFileDescriptorOwnership() 65 assertFalse(fos1.getFD().valid()); in testFileDescriptorOwnership()
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | SelChImpl.java | 42 FileDescriptor getFD(); in getFD() method 91 Net.poll(getFD(), event, millis); in park()
|
D | PollArrayWrapper.java | 75 putDescriptor(totalChannels, IOUtil.fdVal(sc.getFD())); in addEntry()
|
D | SocketAdaptor.java | 63 super(new FileDescriptorHolderSocketImpl(sc.getFD())); in SocketAdaptor() 461 return sc.getFD(); in getFileDescriptor$()
|
D | SinkChannelImpl.java | 70 public FileDescriptor getFD() { in getFD() method in SinkChannelImpl
|
D | SourceChannelImpl.java | 71 public FileDescriptor getFD() { in getFD() method in SourceChannelImpl
|
/libcore/luni/src/test/java/libcore/libcore/io/ |
D | FdsanTest.java | 35 FileDescriptor fd = fis.getFD(); in testFileInputStream() 45 FileDescriptor fd = fis.getFD(); in testFileOutputStream() 55 FileDescriptor fd = fis.getFD(); in testRandomAccessFile() 78 Object pfd = pfdMethodDup.invoke(null, fis.getFD()); in testParcelFileDescriptor()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | ProcessImpl.java | 109 std_fds[0] = f0.getFD().getInt$(); in start() 121 std_fds[1] = f1.getFD().getInt$(); in start() 133 std_fds[2] = f2.getFD().getInt$(); in start()
|
/libcore/ojluni/annotations/mmodule/java/io/ |
D | FileInputStream.annotated.java | 56 public final java.io.FileDescriptor getFD() throws java.io.IOException { throw new RuntimeException… in getFD() method in FileInputStream
|
/libcore/luni/src/main/java/java/nio/ |
D | NioUtils.java | 71 public static FileDescriptor getFD(FileChannel fc) { in getFD() method in NioUtils
|
/libcore/ojluni/annotations/mmodule/java/net/ |
D | SocketImpl.annotated.java | 66 public java.io.FileDescriptor getFD$() { throw new RuntimeException("Stub!"); } in getFD$()
|
/libcore/luni/src/test/java/libcore/android/system/ |
D | OsTest.java | 102 assertFalse(S_ISSOCK(Os.fstat(fis.getFD()).st_mode)); in testIsSocket() 106 assertTrue(S_ISSOCK(Os.fstat(s.getImpl().getFD$()).st_mode)); in testIsSocket() 116 Os.fcntlInt(fis.getFD(), F_SETFD, FD_CLOEXEC); in testFcntlInt() 117 int flags = Os.fcntlVoid(fis.getFD(), F_GETFD); in testFcntlInt() 274 FileDescriptor fd = fos.getFD(); in test_byteBufferPositions_write_pwrite() 304 FileDescriptor fd = fis.getFD(); in test_byteBufferPositions_read_pread() 1624 final FileDescriptor fd = fis.getFD(); 1772 StructStat structStat1 = Os.fstat(fos.getFD()); 1779 StructStat structStat2 = Os.fstat(fos.getFD()); 1869 FileDescriptor inFd = inStream.getFD(); [all …]
|
/libcore/ojluni/annotations/hiddenapi/java/io/ |
D | FileOutputStream.java | 83 public final java.io.FileDescriptor getFD() throws java.io.IOException { in getFD() method in FileOutputStream
|
D | FileInputStream.java | 85 public final java.io.FileDescriptor getFD() throws java.io.IOException { in getFD() method in FileInputStream
|
/libcore/ojluni/annotations/hiddenapi/java/net/ |
D | SocketImpl.java | 74 public java.io.FileDescriptor getFD$() { in getFD$()
|