/libcore/ojluni/src/main/java/sun/nio/fs/ |
D | UnixConstants.java | 30 import android.system.OsConstants; 46 static final int O_RDONLY = OsConstants.O_RDONLY; 48 static final int O_WRONLY = OsConstants.O_WRONLY; 50 static final int O_RDWR = OsConstants.O_RDWR; 52 static final int O_APPEND = OsConstants.O_APPEND; 54 static final int O_CREAT = OsConstants.O_CREAT; 56 static final int O_EXCL = OsConstants.O_EXCL; 58 static final int O_TRUNC = OsConstants.O_TRUNC; 60 static final int O_SYNC = OsConstants.O_SYNC; 62 static final int O_DSYNC = OsConstants.O_DSYNC; [all …]
|
/libcore/luni/src/test/java/libcore/android/system/ |
D | OsConstantsTest.java | 19 import android.system.OsConstants; 27 assertTrue(OsConstants.RT_SCOPE_HOST > 0); in testBug15602893() 28 assertTrue(OsConstants.RT_SCOPE_LINK > 0); in testBug15602893() 29 assertTrue(OsConstants.RT_SCOPE_SITE > 0); in testBug15602893() 31 assertTrue(OsConstants.IFA_F_TENTATIVE > 0); in testBug15602893() 36 assertTrue(OsConstants.TCP_USER_TIMEOUT > 0); in testTcpUserTimeoutIsDefined()
|
/libcore/ojluni/src/main/java/java/net/ |
D | Inet6AddressImpl.java | 40 import static android.system.OsConstants.AF_INET; 41 import static android.system.OsConstants.AF_INET6; 42 import static android.system.OsConstants.AF_UNSPEC; 43 import static android.system.OsConstants.AI_ADDRCONFIG; 44 import static android.system.OsConstants.EACCES; 45 import static android.system.OsConstants.ECONNREFUSED; 46 import static android.system.OsConstants.NI_NAMEREQD; 47 import static android.system.OsConstants.ICMP6_ECHO_REPLY; 48 import static android.system.OsConstants.ICMP_ECHOREPLY; 49 import static android.system.OsConstants.IPPROTO_ICMP; [all …]
|
D | PlainSocketImpl.java | 42 import static android.system.OsConstants.AF_INET6; 43 import static android.system.OsConstants.AF_UNIX; 44 import static android.system.OsConstants.EAGAIN; 45 import static android.system.OsConstants.EBADF; 46 import static android.system.OsConstants.EINVAL; 47 import static android.system.OsConstants.MSG_OOB; 48 import static android.system.OsConstants.POLLERR; 49 import static android.system.OsConstants.POLLIN; 50 import static android.system.OsConstants.SOCK_DGRAM; 51 import static android.system.OsConstants.SOCK_STREAM; [all …]
|
D | PlainDatagramSocketImpl.java | 37 import static android.system.OsConstants.AF_INET6; 38 import static android.system.OsConstants.AF_UNSPEC; 39 import static android.system.OsConstants.IPPROTO_IP; 40 import static android.system.OsConstants.IP_MULTICAST_ALL; 41 import static android.system.OsConstants.MSG_PEEK; 42 import static android.system.OsConstants.POLLERR; 43 import static android.system.OsConstants.POLLIN; 44 import static android.system.OsConstants.SOCK_DGRAM;
|
D | Inet4Address.java | 30 import static android.system.OsConstants.*;
|
/libcore/luni/src/main/java/android/system/ |
D | StructIcmpHdr.java | 19 import static android.system.OsConstants.ICMP6_ECHO_REQUEST; 20 import static android.system.OsConstants.ICMP_ECHO;
|
D | ErrnoException.java | 59 String errnoName = OsConstants.errnoName(errno); in getMessage()
|
D | GaiException.java | 60 String gaiName = OsConstants.gaiName(error); in getMessage()
|
D | UnixSocketAddress.java | 30 private static final int NAMED_PATH_LENGTH = OsConstants.UNIX_PATH_MAX;
|
/libcore/luni/src/test/java/libcore/io/ |
D | OsTest.java | 21 import android.system.OsConstants; 49 import static android.system.OsConstants.*; 463 assertEquals(OsConstants.ENOENT, e.errno); in test_unlink() 482 if (OsConstants.ENOTCONN != expected.errno) { in test_recvfrom_concurrentShutdown() 517 assertEquals(OsConstants.ENODATA, e.errno); in test_xattr() 521 Libcore.os.setxattr(path, NAME_TEST, VALUE_CAKE, OsConstants.XATTR_CREATE); in test_xattr() 528 Libcore.os.setxattr(path, NAME_TEST, VALUE_PIE, OsConstants.XATTR_CREATE); in test_xattr() 531 assertEquals(OsConstants.EEXIST, e.errno); in test_xattr() 534 Libcore.os.setxattr(path, NAME_TEST, VALUE_PIE, OsConstants.XATTR_REPLACE); in test_xattr() 545 assertEquals(OsConstants.ENODATA, e.errno); in test_xattr() [all …]
|
D | MemoryMappedFileTest.java | 22 import android.system.OsConstants; 47 assertEquals(OsConstants.ENOENT, e.errno); in testMmapRo_missingFile() 58 assertEquals(OsConstants.EINVAL, e.errno); in testMmapRo_emptyFile()
|
/libcore/luni/src/test/java/libcore/java/util/zip/ |
D | ZipFileTest.java | 19 import android.system.OsConstants; 51 long initialOffset = android.system.Os.lseek(fd, 0, OsConstants.SEEK_CUR); in testZipFileOffsetNeverChangesAfterInit() 75 long currentOffset = android.system.Os.lseek(fd, 0, OsConstants.SEEK_CUR); in assertOffset()
|
/libcore/luni/src/test/java/libcore/java/io/ |
D | FileInputStreamTest.java | 30 import android.system.OsConstants; 225 android.system.Os.ioctlInt(input.getFD(), OsConstants.FIONREAD, new MutableInt(0)); in test_available_on_nonIOCTL_supported_file() 229 + " FIONREAD, the test is no longer valid.", OsConstants.ENOTTY, in test_available_on_nonIOCTL_supported_file() 264 assertEquals(0, Libcore.os.lseek(fis.getFD(), 0, OsConstants.SEEK_CUR)); in testSkipOnLargeFiles() 305 if (e.errno != OsConstants.ENOENT) { in getOpenFdsForPrefix()
|
D | FileTest.java | 20 import android.system.OsConstants; 328 assertEquals(OsConstants.EPERM, expected.errno); in testExistsOnSystem()
|
/libcore/tzdata/shared2/src/test/libcore/tzdata/shared2/ |
D | FileUtilsTest.java | 21 import android.system.OsConstants; 337 int mask = OsConstants.S_IXUSR | OsConstants.S_IRUSR; in assertDirExistsAndIsAccessible() 339 mask = mask | OsConstants.S_IXGRP | OsConstants.S_IRGRP in assertDirExistsAndIsAccessible() 340 | OsConstants.S_IXOTH | OsConstants.S_IROTH; in assertDirExistsAndIsAccessible()
|
/libcore/support/src/test/java/tests/io/ |
D | MockOs.java | 20 import android.system.OsConstants; 110 enqueueFault(methodName, OsConstants.EIO); in enqueueFault()
|
/libcore/ojluni/src/main/java/java/io/ |
D | FileDescriptor.java | 30 import static android.system.OsConstants.F_DUPFD_CLOEXEC;
|
/libcore/luni/src/test/java/dalvik/system/ |
D | BlockGuardTest.java | 20 import android.system.OsConstants; 256 FileDescriptor fd = Os.open(temp.getPath(), OsConstants.O_RDWR, 0); in testOpen() 262 fd = Os.open(temp.getPath(), OsConstants.O_RDONLY, 0); in testOpen()
|
/libcore/luni/src/main/java/java/nio/ |
D | NioUtils.java | 26 import static android.system.OsConstants.*;
|
/libcore/luni/src/main/java/libcore/io/ |
D | MemoryMappedFile.java | 28 import static android.system.OsConstants.*;
|
D | BlockGuardOs.java | 20 import android.system.OsConstants; 35 import static android.system.OsConstants.*; 370 if ((flags & OsConstants.MS_SYNC) != 0) { in msync()
|
D | IoUtils.java | 30 import static android.system.OsConstants.*;
|
/libcore/libart/src/main/java/java/lang/ |
D | Daemons.java | 20 import android.system.OsConstants; 406 Os.kill(Os.getpid(), OsConstants.SIGQUIT); in finalizerTimedOut()
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
D | FileIOInterruptTest.java | 20 import android.system.OsConstants; 84 Libcore.os.mkfifo(fifoFile.getAbsolutePath(), OsConstants.S_IRWXU); in setUp()
|