HomeSort by relevance Sort by last modified time
    Searched refs:OsConstants (Results 1 - 25 of 187) sorted by null

1 2 3 4 5 6 7 8

  /libcore/ojluni/src/main/java/sun/nio/fs/
UnixConstants.java 30 import android.system.OsConstants;
40 // use the values from android.system.OsConstants. AT_SYMLINK_NOFOLLOW is used by fstatat when
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
    [all...]
  /libcore/luni/src/test/java/libcore/android/system/
OsConstantsTest.java 19 import android.system.OsConstants;
27 assertTrue(OsConstants.RT_SCOPE_HOST > 0);
28 assertTrue(OsConstants.RT_SCOPE_LINK > 0);
29 assertTrue(OsConstants.RT_SCOPE_SITE > 0);
31 assertTrue(OsConstants.IFA_F_TENTATIVE > 0);
36 assertTrue(OsConstants.TCP_USER_TIMEOUT > 0);
  /frameworks/base/core/java/android/os/
ProxyFileDescriptorCallback.java 20 import android.system.OsConstants;
28 * {@link android.system.OsConstants}.
33 * <li>{@link android.system.OsConstants#EIO} for general I/O issues
34 * <li>{@link android.system.OsConstants#ENOENT} when the file is not found
35 * <li>{@link android.system.OsConstants#EBADF} if the file doesn't allow read/write operations
37 * <li>{@link android.system.OsConstants#ENOSPC} if you cannot handle a write operation to
47 * @throws ErrnoException ErrnoException containing E constants in OsConstants.
50 throw new ErrnoException("onGetSize", OsConstants.EBADF);
62 * @throws ErrnoException ErrnoException containing E constants in OsConstants.
65 throw new ErrnoException("onRead", OsConstants.EBADF)
    [all...]
SharedMemory.java 23 import android.system.OsConstants;
94 private static final int PROT_MASK = OsConstants.PROT_READ | OsConstants.PROT_WRITE
95 | OsConstants.PROT_EXEC | OsConstants.PROT_NONE;
105 * is either a bitwise-or'd combination of {@link android.system.OsConstants#PROT_READ},
106 * {@link android.system.OsConstants#PROT_WRITE}, {@link android.system.OsConstants#PROT_EXEC}
107 * from {@link android.system.OsConstants}, or {@link android.system.OsConstants#PROT_NONE}
    [all...]
RevocableFileDescriptor.java 23 import android.system.OsConstants;
61 OsConstants.O_CREAT | OsConstants.O_RDWR, 0700));
84 * fail with {@link OsConstants#EPERM}.
93 * operations will fail with {@link OsConstants#EPERM}.
107 throw new ErrnoException(TAG, OsConstants.EPERM);
  /libcore/luni/src/main/java/android/system/
StructIcmpHdr.java 19 import static android.system.OsConstants.ICMP6_ECHO_REQUEST;
20 import static android.system.OsConstants.ICMP_ECHO;
  /frameworks/base/core/java/android/net/
LocalSocketImpl.java 22 import android.system.OsConstants;
67 Os.ioctlInt(myFd, OsConstants.FIONREAD, avail);
174 Os.ioctlInt(myFd, OsConstants.TIOCOUTQ, pending);
245 osType = OsConstants.SOCK_DGRAM;
248 osType = OsConstants.SOCK_STREAM;
251 osType = OsConstants.SOCK_SEQPACKET;
257 fd = Os.socket(OsConstants.AF_UNIX, osType, 0);
408 Os.shutdown(fd, OsConstants.SHUT_RD);
426 Os.shutdown(fd, OsConstants.SHUT_WR);
457 StructTimeval timeval = Os.getsockoptTimeval(fd, OsConstants.SOL_SOCKET
    [all...]
LinkAddress.java 19 import static android.system.OsConstants.IFA_F_DADFAILED;
20 import static android.system.OsConstants.IFA_F_DEPRECATED;
21 import static android.system.OsConstants.IFA_F_OPTIMISTIC;
22 import static android.system.OsConstants.IFA_F_TENTATIVE;
23 import static android.system.OsConstants.RT_SCOPE_HOST;
24 import static android.system.OsConstants.RT_SCOPE_LINK;
25 import static android.system.OsConstants.RT_SCOPE_SITE;
26 import static android.system.OsConstants.RT_SCOPE_UNIVERSE;
45 * <li>Address flags: A bitmask of {@code OsConstants.IFA_F_*} values representing properties
46 * of the address (e.g., {@code android.system.OsConstants.IFA_F_OPTIMISTIC})
    [all...]
  /frameworks/base/core/java/android/util/apk/
MemoryMappedFileDataSource.java 21 import android.system.OsConstants;
34 private static final long MEMORY_PAGE_SIZE_BYTES = Os.sysconf(OsConstants._SC_PAGESIZE);
83 OsConstants.PROT_READ,
84 OsConstants.MAP_SHARED | OsConstants.MAP_POPULATE, // "prefault" all pages
  /frameworks/base/services/net/java/android/net/dns/
ResolvUtil.java 19 import static android.system.OsConstants.AI_ADDRCONFIG;
24 import android.system.OsConstants;
55 hints.ai_family = OsConstants.AF_UNSPEC;
56 hints.ai_socktype = OsConstants.SOCK_STREAM;
  /frameworks/base/services/net/java/android/net/netlink/
NetlinkConstants.java 19 import android.system.OsConstants;
51 if (family == OsConstants.AF_INET) { return "AF_INET"; }
52 if (family == OsConstants.AF_INET6) { return "AF_INET6"; }
53 if (family == OsConstants.AF_NETLINK) { return "AF_NETLINK"; }
NetlinkSocket.java 19 import static android.system.OsConstants.AF_NETLINK;
20 import static android.system.OsConstants.EIO;
21 import static android.system.OsConstants.EPROTO;
22 import static android.system.OsConstants.ETIMEDOUT;
23 import static android.system.OsConstants.SO_RCVBUF;
24 import static android.system.OsConstants.SO_RCVTIMEO;
25 import static android.system.OsConstants.SO_SNDTIMEO;
26 import static android.system.OsConstants.SOCK_DGRAM;
27 import static android.system.OsConstants.SOL_SOCKET;
  /packages/apps/DocumentsUI/src/com/android/documentsui/archives/
Proxy.java 21 import android.system.OsConstants;
58 throw new ErrnoException("onRead", OsConstants.EIO);
66 throw new ErrnoException("onRead", OsConstants.EIO);
80 throw new ErrnoException("onRead", OsConstants.EIO);
  /cts/hostsidetests/appsecurity/test-apps/StorageApp/src/com/android/cts/storageapp/
Hoarder.java 25 import android.system.OsConstants;
76 OsConstants.O_RDWR | OsConstants.O_CREAT, 0700);
79 if (e.errno == OsConstants.ENOSPC || e.errno == OsConstants.EDQUOT) {
114 if (e.errno == OsConstants.ENOSPC || e.errno == OsConstants.EDQUOT) {
  /libcore/ojluni/src/main/java/java/net/
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...]
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...]
  /packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
ShadowOs.java 19 import static android.system.OsConstants.AF_INET;
20 import static android.system.OsConstants.AF_INET6;
  /cts/tests/tests/permission/src/android/permission/cts/
NoReadLogsPermissionTest.java 21 import android.system.OsConstants;
100 if (e.errno != OsConstants.ENOENT && e.errno != OsConstants.EACCES) {
  /frameworks/base/tests/net/java/android/net/netlink/
ConntrackMessageTest.java 22 import android.system.OsConstants;
113 OsConstants.IPPROTO_TCP,
125 OsConstants.IPPROTO_UDP,
  /frameworks/base/core/java/com/android/internal/os/
WrapperInit.java 23 import android.system.OsConstants;
188 OsConstants._LINUX_CAPABILITY_VERSION_3, 0);
212 int dataIndex = OsConstants.CAP_TO_INDEX(i);
213 int capMask = OsConstants.CAP_TO_MASK(i);
216 Os.prctl(OsConstants.PR_CAP_AMBIENT, OsConstants.PR_CAP_AMBIENT_RAISE, i, 0,
  /cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
AlwaysOnVpnMultiStageTest.java 24 import android.system.OsConstants;
63 assertTrue((e.errno == OsConstants.ENETUNREACH) ||
64 (e.errno == OsConstants.EACCES));
  /libcore/luni/src/test/java/libcore/java/util/zip/
ZipFileTest.java 19 import android.system.OsConstants;
51 long initialOffset = android.system.Os.lseek(fd, 0, OsConstants.SEEK_CUR);
75 long currentOffset = android.system.Os.lseek(fd, 0, OsConstants.SEEK_CUR);
  /cts/tests/tests/net/src/android/net/cts/
IpSecSysctlTest.java 21 import android.system.OsConstants;
  /cts/tests/tests/os/src/android/os/cts/
SecurityFeaturesTest.java 20 import static android.system.OsConstants.PR_GET_DUMPABLE;
  /frameworks/base/core/java/android/net/metrics/
ConnectStats.java 20 import android.system.OsConstants;
32 private final static int EALREADY = OsConstants.EALREADY;
33 private final static int EINPROGRESS = OsConstants.EINPROGRESS;
132 String errno = OsConstants.errnoName(errnos.keyAt(i));

Completed in 1015 milliseconds

1 2 3 4 5 6 7 8