/libcore/ojluni/src/main/java/sun/nio/fs/ |
D | UnixConstants.java | 34 import android.system.OsConstants; 39 static final int O_RDONLY = OsConstants.O_RDONLY; 41 static final int O_WRONLY = OsConstants.O_WRONLY; 43 static final int O_RDWR = OsConstants.O_RDWR; 45 static final int O_APPEND = OsConstants.O_APPEND; 47 static final int O_CREAT = OsConstants.O_CREAT; 49 static final int O_EXCL = OsConstants.O_EXCL; 51 static final int O_TRUNC = OsConstants.O_TRUNC; 53 static final int O_SYNC = OsConstants.O_SYNC; 55 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() 44 assertEquals(OsConstants.O_CLOEXEC, OsConstants.SOCK_CLOEXEC); in testConstantsEqual() 45 assertEquals(OsConstants.O_NONBLOCK, OsConstants.SOCK_NONBLOCK); in testConstantsEqual()
|
D | OsTest.java | 23 import android.system.OsConstants; 60 import static android.system.OsConstants.*; 708 assertEquals(OsConstants.ENOENT, e.errno); in test_unlink() 729 if (OsConstants.ENOTCONN != expected.errno) { in test_recvfrom_concurrentShutdown() 764 assertEquals(OsConstants.ENODATA, e.errno); in test_xattr() 768 Os.setxattr(path, NAME_TEST, VALUE_CAKE, OsConstants.XATTR_CREATE); in test_xattr() 775 Os.setxattr(path, NAME_TEST, VALUE_PIE, OsConstants.XATTR_CREATE); in test_xattr() 778 assertEquals(OsConstants.EEXIST, e.errno); in test_xattr() 781 Os.setxattr(path, NAME_TEST, VALUE_PIE, OsConstants.XATTR_REPLACE); in test_xattr() 792 assertEquals(OsConstants.ENODATA, e.errno); in test_xattr() [all …]
|
D | ErrnoExceptionTest.java | 28 import static android.system.OsConstants.EBADF; 29 import static android.system.OsConstants.EINVAL;
|
/libcore/ojluni/src/main/java/java/net/ |
D | Inet6AddressImpl.java | 41 import static android.system.OsConstants.AF_INET; 42 import static android.system.OsConstants.AF_INET6; 43 import static android.system.OsConstants.AF_UNSPEC; 44 import static android.system.OsConstants.AI_ADDRCONFIG; 45 import static android.system.OsConstants.EACCES; 46 import static android.system.OsConstants.ECONNREFUSED; 47 import static android.system.OsConstants.EPERM; 48 import static android.system.OsConstants.NI_NAMEREQD; 49 import static android.system.OsConstants.ICMP6_ECHO_REPLY; 50 import static android.system.OsConstants.ICMP_ECHOREPLY; [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/test/java/libcore/libcore/io/ |
D | BlockGuardOsTest.java | 19 import static android.system.OsConstants.AF_INET6; 20 import static android.system.OsConstants.IPPROTO_TCP; 21 import static android.system.OsConstants.IPPROTO_UDP; 22 import static android.system.OsConstants.SOCK_DGRAM; 23 import static android.system.OsConstants.SOCK_STREAM; 34 import android.system.OsConstants; 122 numericAddrInfo.ai_flags = OsConstants.AI_NUMERICHOST; in test_android_getaddrinfo_networkPolicy()
|
/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 | GaiException.java | 60 String gaiName = OsConstants.gaiName(error); in getMessage()
|
D | ErrnoException.java | 59 String errnoName = OsConstants.errnoName(errno); in getMessage()
|
D | UnixSocketAddress.java | 31 private static final int NAMED_PATH_LENGTH = OsConstants.UNIX_PATH_MAX;
|
/libcore/luni/src/test/java/libcore/java/net/ |
D | NetworkInterfaceTest.java | 41 import static android.system.OsConstants.AF_INET; 42 import static android.system.OsConstants.IFF_LOOPBACK; 43 import static android.system.OsConstants.IFF_MULTICAST; 44 import static android.system.OsConstants.IFF_POINTOPOINT; 45 import static android.system.OsConstants.IFF_RUNNING; 46 import static android.system.OsConstants.IFF_UP; 47 import static android.system.OsConstants.SOCK_DGRAM;
|
/libcore/ojluni/src/main/java/java/io/ |
D | FileOutputStream.java | 29 import static android.system.OsConstants.O_APPEND; 30 import static android.system.OsConstants.O_CREAT; 31 import static android.system.OsConstants.O_TRUNC; 32 import static android.system.OsConstants.O_WRONLY;
|
D | UnixFileSystem.java | 31 import android.system.OsConstants; 265 mode = OsConstants.F_OK; in checkAccess() 268 mode = OsConstants.R_OK; in checkAccess() 271 mode = OsConstants.W_OK; in checkAccess() 274 mode = OsConstants.X_OK; in checkAccess()
|
D | FileDescriptor.java | 30 import static android.system.OsConstants.F_DUPFD_CLOEXEC;
|
D | FileInputStream.java | 29 import static android.system.OsConstants.O_RDONLY;
|
/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/main/java/libcore/net/ |
D | InetAddressUtils.java | 25 import static android.system.OsConstants.AF_INET; 26 import static android.system.OsConstants.AI_NUMERICHOST;
|
/libcore/luni/src/test/java/libcore/java/io/ |
D | FileInputStreamTest.java | 31 import android.system.OsConstants; 227 android.system.Os.ioctlInt(input.getFD(), OsConstants.FIONREAD, new Int32Ref(0)); in test_available_on_nonIOCTL_supported_file() 231 + " FIONREAD, the test is no longer valid.", OsConstants.ENOTTY, in test_available_on_nonIOCTL_supported_file() 266 assertEquals(0, Libcore.os.lseek(fis.getFD(), 0, OsConstants.SEEK_CUR)); in testSkipOnLargeFiles() 307 if (e.errno != OsConstants.ENOENT) { in getOpenFdsForPrefix()
|
/libcore/luni/src/test/java/libcore/dalvik/system/ |
D | BlockGuardTest.java | 20 import android.system.OsConstants; 291 FileDescriptor fd = Os.open(temp.getPath(), OsConstants.O_RDWR, 0); in testOpen() 297 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 | 29 import static android.system.OsConstants.*;
|
/libcore/libart/src/main/java/java/lang/ |
D | Daemons.java | 20 import android.system.OsConstants; 453 Os.kill(Os.getpid(), OsConstants.SIGQUIT); in finalizerTimedOut()
|