/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 | ErrnoExceptionTest.java | 28 import static android.system.OsConstants.EBADF; 29 import static android.system.OsConstants.EINVAL;
|
D | OsTest.java | 23 import android.system.OsConstants; 69 import static android.system.OsConstants.*; 852 int temp_rc = Os.recvmsg(recvFd, recvmsgHdr, OsConstants.MSG_TRUNC); 1181 assertEquals(OsConstants.ENOENT, e.errno); 1202 if (OsConstants.ENOTCONN != expected.errno) { 1237 assertEquals(OsConstants.ENODATA, e.errno); 1241 Os.setxattr(path, NAME_TEST, VALUE_CAKE, OsConstants.XATTR_CREATE); 1248 Os.setxattr(path, NAME_TEST, VALUE_PIE, OsConstants.XATTR_CREATE); 1251 assertEquals(OsConstants.EEXIST, e.errno); 1254 Os.setxattr(path, NAME_TEST, VALUE_PIE, OsConstants.XATTR_REPLACE); [all …]
|
/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.AF_UNIX; 21 import static android.system.OsConstants.IPPROTO_TCP; 22 import static android.system.OsConstants.IPPROTO_UDP; 23 import static android.system.OsConstants.F_SETFL; 24 import static android.system.OsConstants.SOCK_DGRAM; 25 import static android.system.OsConstants.O_NONBLOCK; 26 import static android.system.OsConstants.SOCK_STREAM; 40 import android.system.OsConstants; 130 numericAddrInfo.ai_flags = OsConstants.AI_NUMERICHOST; in test_android_getaddrinfo_networkPolicy()
|
/libcore/luni/src/main/java/java/nio/ |
D | NioUtils.java | 30 import static android.system.OsConstants.O_ACCMODE; 31 import static android.system.OsConstants.O_APPEND; 32 import static android.system.OsConstants.O_RDONLY; 33 import static android.system.OsConstants.O_WRONLY;
|
/libcore/luni/src/main/java/libcore/io/ |
D | MemoryMappedFile.java | 25 import static android.system.OsConstants.MAP_SHARED; 26 import static android.system.OsConstants.O_RDONLY; 27 import static android.system.OsConstants.PROT_READ;
|
D | IoUtils.java | 39 import static android.system.OsConstants.F_GETFL; 40 import static android.system.OsConstants.F_SETFL; 41 import static android.system.OsConstants.O_NONBLOCK; 42 import static android.system.OsConstants.O_RDONLY;
|
/libcore/luni/src/main/java/android/system/ |
D | IcmpHeaders.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 | 60 String errnoName = OsConstants.errnoName(errno); in getMessage()
|
D | UnixSocketAddress.java | 40 private static final int NAMED_PATH_LENGTH = OsConstants.UNIX_PATH_MAX;
|
/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;
|
/libcore/luni/src/test/java/libcore/java/net/ |
D | NetworkInterfaceTest.java | 45 import static android.system.OsConstants.AF_INET; 46 import static android.system.OsConstants.IFF_LOOPBACK; 47 import static android.system.OsConstants.IFF_MULTICAST; 48 import static android.system.OsConstants.IFF_POINTOPOINT; 49 import static android.system.OsConstants.IFF_RUNNING; 50 import static android.system.OsConstants.IFF_UP; 51 import static android.system.OsConstants.SOCK_DGRAM;
|
/libcore/luni/src/test/java/libcore/java/util/zip/ |
D | ZipFileTest.java | 19 import android.system.OsConstants; 52 long initialOffset = android.system.Os.lseek(fd, 0, OsConstants.SEEK_CUR); in testZipFileOffsetNeverChangesAfterInit() 76 long currentOffset = android.system.Os.lseek(fd, 0, OsConstants.SEEK_CUR); in assertOffset()
|
/libcore/luni/src/test/java/libcore/java/io/ |
D | FileInputStreamTest.java | 21 import android.system.OsConstants; 226 android.system.Os.ioctlInt(input.getFD(), OsConstants.FIONREAD); in test_available_on_nonIOCTL_supported_file() 230 + " FIONREAD, the test is no longer valid.", OsConstants.ENOTTY, in test_available_on_nonIOCTL_supported_file() 265 assertEquals(0, Libcore.os.lseek(fis.getFD(), 0, OsConstants.SEEK_CUR)); in testSkipOnLargeFiles() 306 if (e.errno != OsConstants.ENOENT) { in getOpenFdsForPrefix()
|
/libcore/luni/src/main/java/libcore/net/ |
D | InetAddressUtils.java | 29 import static android.system.OsConstants.AF_INET; 30 import static android.system.OsConstants.AI_NUMERICHOST;
|
/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/libart/src/main/java/java/lang/ |
D | Daemons.java | 21 import android.system.OsConstants; 461 Os.kill(Os.getpid(), OsConstants.SIGQUIT); in finalizerTimedOut()
|