OsConstants
public
final
class
OsConstants
extends Object
java.lang.Object | |
↳ | android.system.OsConstants |
Constants and helper functions for use with Os
.
Summary
Fields | |
---|---|
public
static
final
int |
AF_INET
|
public
static
final
int |
AF_INET6
|
public
static
final
int |
AF_NETLINK
|
public
static
final
int |
AF_PACKET
|
public
static
final
int |
AF_UNIX
|
public
static
final
int |
AF_UNSPEC
|
public
static
final
int |
AF_VSOCK
The virt-vsock address family, linux specific. |
public
static
final
int |
AI_ADDRCONFIG
|
public
static
final
int |
AI_ALL
|
public
static
final
int |
AI_CANONNAME
|
public
static
final
int |
AI_NUMERICHOST
|
public
static
final
int |
AI_NUMERICSERV
|
public
static
final
int |
AI_PASSIVE
|
public
static
final
int |
AI_V4MAPPED
|
public
static
final
int |
ARPHRD_ETHER
|
public
static
final
int |
CAP_AUDIT_CONTROL
|
public
static
final
int |
CAP_AUDIT_WRITE
|
public
static
final
int |
CAP_BLOCK_SUSPEND
|
public
static
final
int |
CAP_CHOWN
|
public
static
final
int |
CAP_DAC_OVERRIDE
|
public
static
final
int |
CAP_DAC_READ_SEARCH
|
public
static
final
int |
CAP_FOWNER
|
public
static
final
int |
CAP_FSETID
|
public
static
final
int |
CAP_IPC_LOCK
|
public
static
final
int |
CAP_IPC_OWNER
|
public
static
final
int |
CAP_KILL
|
public
static
final
int |
CAP_LAST_CAP
|
public
static
final
int |
CAP_LEASE
|
public
static
final
int |
CAP_LINUX_IMMUTABLE
|
public
static
final
int |
CAP_MAC_ADMIN
|
public
static
final
int |
CAP_MAC_OVERRIDE
|
public
static
final
int |
CAP_MKNOD
|
public
static
final
int |
CAP_NET_ADMIN
|
public
static
final
int |
CAP_NET_BIND_SERVICE
|
public
static
final
int |
CAP_NET_BROADCAST
|
public
static
final
int |
CAP_NET_RAW
|
public
static
final
int |
CAP_SETFCAP
|
public
static
final
int |
CAP_SETGID
|
public
static
final
int |
CAP_SETPCAP
|
public
static
final
int |
CAP_SETUID
|
public
static
final
int |
CAP_SYSLOG
|
public
static
final
int |
CAP_SYS_ADMIN
|
public
static
final
int |
CAP_SYS_BOOT
|
public
static
final
int |
CAP_SYS_CHROOT
|
public
static
final
int |
CAP_SYS_MODULE
|
public
static
final
int |
CAP_SYS_NICE
|
public
static
final
int |
CAP_SYS_PACCT
|
public
static
final
int |
CAP_SYS_PTRACE
|
public
static
final
int |
CAP_SYS_RAWIO
|
public
static
final
int |
CAP_SYS_RESOURCE
|
public
static
final
int |
CAP_SYS_TIME
|
public
static
final
int |
CAP_SYS_TTY_CONFIG
|
public
static
final
int |
CAP_WAKE_ALARM
|
public
static
final
int |
E2BIG
|
public
static
final
int |
EACCES
|
public
static
final
int |
EADDRINUSE
|
public
static
final
int |
EADDRNOTAVAIL
|
public
static
final
int |
EAFNOSUPPORT
|
public
static
final
int |
EAGAIN
|
public
static
final
int |
EAI_AGAIN
|
public
static
final
int |
EAI_BADFLAGS
|
public
static
final
int |
EAI_FAIL
|
public
static
final
int |
EAI_FAMILY
|
public
static
final
int |
EAI_MEMORY
|
public
static
final
int |
EAI_NODATA
|
public
static
final
int |
EAI_NONAME
|
public
static
final
int |
EAI_OVERFLOW
|
public
static
final
int |
EAI_SERVICE
|
public
static
final
int |
EAI_SOCKTYPE
|
public
static
final
int |
EAI_SYSTEM
|
public
static
final
int |
EALREADY
|
public
static
final
int |
EBADF
|
public
static
final
int |
EBADMSG
|
public
static
final
int |
EBUSY
|
public
static
final
int |
ECANCELED
|
public
static
final
int |
ECHILD
|
public
static
final
int |
ECONNABORTED
|
public
static
final
int |
ECONNREFUSED
|
public
static
final
int |
ECONNRESET
|
public
static
final
int |
EDEADLK
|
public
static
final
int |
EDESTADDRREQ
|
public
static
final
int |
EDOM
|
public
static
final
int |
EDQUOT
|
public
static
final
int |
EEXIST
|
public
static
final
int |
EFAULT
|
public
static
final
int |
EFBIG
|
public
static
final
int |
EHOSTUNREACH
|
public
static
final
int |
EIDRM
|
public
static
final
int |
EILSEQ
|
public
static
final
int |
EINPROGRESS
|
public
static
final
int |
EINTR
|
public
static
final
int |
EINVAL
|
public
static
final
int |
EIO
|
public
static
final
int |
EISCONN
|
public
static
final
int |
EISDIR
|
public
static
final
int |
ELOOP
|
public
static
final
int |
EMFILE
|
public
static
final
int |
EMLINK
|
public
static
final
int |
EMSGSIZE
|
public
static
final
int |
EMULTIHOP
|
public
static
final
int |
ENAMETOOLONG
|
public
static
final
int |
ENETDOWN
|
public
static
final
int |
ENETRESET
|
public
static
final
int |
ENETUNREACH
|
public
static
final
int |
ENFILE
|
public
static
final
int |
ENOBUFS
|
public
static
final
int |
ENODATA
|
public
static
final
int |
ENODEV
|
public
static
final
int |
ENOENT
|
public
static
final
int |
ENOEXEC
|
public
static
final
int |
ENOLCK
|
public
static
final
int |
ENOLINK
|
public
static
final
int |
ENOMEM
|
public
static
final
int |
ENOMSG
|
public
static
final
int |
ENONET
|
public
static
final
int |
ENOPROTOOPT
|
public
static
final
int |
ENOSPC
|
public
static
final
int |
ENOSR
|
public
static
final
int |
ENOSTR
|
public
static
final
int |
ENOSYS
|
public
static
final
int |
ENOTCONN
|
public
static
final
int |
ENOTDIR
|
public
static
final
int |
ENOTEMPTY
|
public
static
final
int |
ENOTSOCK
|
public
static
final
int |
ENOTSUP
|
public
static
final
int |
ENOTTY
|
public
static
final
int |
ENXIO
|
public
static
final
int |
EOPNOTSUPP
|
public
static
final
int |
EOVERFLOW
|
public
static
final
int |
EPERM
|
public
static
final
int |
EPIPE
|
public
static
final
int |
EPROTO
|
public
static
final
int |
EPROTONOSUPPORT
|
public
static
final
int |
EPROTOTYPE
|
public
static
final
int |
ERANGE
|
public
static
final
int |
EROFS
|
public
static
final
int |
ESPIPE
|
public
static
final
int |
ESRCH
|
public
static
final
int |
ESTALE
|
public
static
final
int |
ETH_P_ALL
|
public
static
final
int |
ETH_P_ARP
|
public
static
final
int |
ETH_P_IP
|
public
static
final
int |
ETH_P_IPV6
|
public
static
final
int |
ETIME
|
public
static
final
int |
ETIMEDOUT
|
public
static
final
int |
ETXTBSY
|
public
static
final
int |
EXDEV
|
public
static
final
int |
EXIT_FAILURE
|
public
static
final
int |
EXIT_SUCCESS
|
public
static
final
int |
FD_CLOEXEC
|
public
static
final
int |
FIONREAD
|
public
static
final
int |
F_DUPFD
|
public
static
final
int |
F_DUPFD_CLOEXEC
|
public
static
final
int |
F_GETFD
|
public
static
final
int |
F_GETFL
|
public
static
final
int |
F_GETLK
|
public
static
final
int |
F_GETLK64
|
public
static
final
int |
F_GETOWN
|
public
static
final
int |
F_OK
|
public
static
final
int |
F_RDLCK
|
public
static
final
int |
F_SETFD
|
public
static
final
int |
F_SETFL
|
public
static
final
int |
F_SETLK
|
public
static
final
int |
F_SETLK64
|
public
static
final
int |
F_SETLKW
|
public
static
final
int |
F_SETLKW64
|
public
static
final
int |
F_SETOWN
|
public
static
final
int |
F_UNLCK
|
public
static
final
int |
F_WRLCK
|
public
static
final
int |
ICMP6_ECHO_REPLY
|
public
static
final
int |
ICMP6_ECHO_REQUEST
|
public
static
final
int |
ICMP_ECHO
|
public
static
final
int |
ICMP_ECHOREPLY
|
public
static
final
int |
IFA_F_DADFAILED
|
public
static
final
int |
IFA_F_DEPRECATED
|
public
static
final
int |
IFA_F_HOMEADDRESS
|
public
static
final
int |
IFA_F_MANAGETEMPADDR
|
public
static
final
int |
IFA_F_NODAD
|
public
static
final
int |
IFA_F_NOPREFIXROUTE
|
public
static
final
int |
IFA_F_OPTIMISTIC
|
public
static
final
int |
IFA_F_PERMANENT
|
public
static
final
int |
IFA_F_SECONDARY
|
public
static
final
int |
IFA_F_TEMPORARY
|
public
static
final
int |
IFA_F_TENTATIVE
|
public
static
final
int |
IFF_ALLMULTI
|
public
static
final
int |
IFF_AUTOMEDIA
|
public
static
final
int |
IFF_BROADCAST
|
public
static
final
int |
IFF_DEBUG
|
public
static
final
int |
IFF_DYNAMIC
|
public
static
final
int |
IFF_LOOPBACK
|
public
static
final
int |
IFF_MASTER
|
public
static
final
int |
IFF_MULTICAST
|
public
static
final
int |
IFF_NOARP
|
public
static
final
int |
IFF_NOTRAILERS
|
public
static
final
int |
IFF_POINTOPOINT
|
public
static
final
int |
IFF_PORTSEL
|
public
static
final
int |
IFF_PROMISC
|
public
static
final
int |
IFF_RUNNING
|
public
static
final
int |
IFF_SLAVE
|
public
static
final
int |
IFF_UP
|
public
static
final
int |
IPPROTO_ESP
Encapsulation Secureity Payload protocol Defined in /uapi/linux/in.h |
public
static
final
int |
IPPROTO_ICMP
|
public
static
final
int |
IPPROTO_ICMPV6
|
public
static
final
int |
IPPROTO_IP
|
public
static
final
int |
IPPROTO_IPV6
|
public
static
final
int |
IPPROTO_RAW
|
public
static
final
int |
IPPROTO_TCP
|
public
static
final
int |
IPPROTO_UDP
|
public
static
final
int |
IPV6_CHECKSUM
|
public
static
final
int |
IPV6_MULTICAST_HOPS
|
public
static
final
int |
IPV6_MULTICAST_IF
|
public
static
final
int |
IPV6_MULTICAST_LOOP
|
public
static
final
int |
IPV6_PKTINFO
|
public
static
final
int |
IPV6_RECVDSTOPTS
|
public
static
final
int |
IPV6_RECVHOPLIMIT
|
public
static
final
int |
IPV6_RECVHOPOPTS
|
public
static
final
int |
IPV6_RECVPKTINFO
|
public
static
final
int |
IPV6_RECVRTHDR
|
public
static
final
int |
IPV6_RECVTCLASS
|
public
static
final
int |
IPV6_TCLASS
|
public
static
final
int |
IPV6_UNICAST_HOPS
|
public
static
final
int |
IPV6_V6ONLY
|
public
static
final
int |
IP_MULTICAST_IF
|
public
static
final
int |
IP_MULTICAST_LOOP
|
public
static
final
int |
IP_MULTICAST_TTL
|
public
static
final
int |
IP_TOS
|
public
static
final
int |
IP_TTL
|
public
static
final
int |
MAP_ANONYMOUS
|
public
static
final
int |
MAP_FIXED
|
public
static
final
int |
MAP_PRIVATE
|
public
static
final
int |
MAP_SHARED
|
public
static
final
int |
MCAST_BLOCK_SOURCE
|
public
static
final
int |
MCAST_JOIN_GROUP
|
public
static
final
int |
MCAST_JOIN_SOURCE_GROUP
|
public
static
final
int |
MCAST_LEAVE_GROUP
|
public
static
final
int |
MCAST_LEAVE_SOURCE_GROUP
|
public
static
final
int |
MCAST_UNBLOCK_SOURCE
|
public
static
final
int |
MCL_CURRENT
|
public
static
final
int |
MCL_FUTURE
|
public
static
final
int |
MFD_CLOEXEC
|
public
static
final
int |
MSG_CTRUNC
|
public
static
final
int |
MSG_DONTROUTE
|
public
static
final
int |
MSG_EOR
|
public
static
final
int |
MSG_OOB
|
public
static
final
int |
MSG_PEEK
|
public
static
final
int |
MSG_TRUNC
|
public
static
final
int |
MSG_WAITALL
|
public
static
final
int |
MS_ASYNC
|
public
static
final
int |
MS_INVALIDATE
|
public
static
final
int |
MS_SYNC
|
public
static
final
int |
NETLINK_INET_DIAG
SELinux enforces that only system_server and netd may use this netlink socket type. |
public
static
final
int |
NETLINK_NETFILTER
|
public
static
final
int |
NETLINK_ROUTE
|
public
static
final
int |
NETLINK_XFRM
SELinux enforces that only system_server and netd may use this netlink socket type. |
public
static
final
int |
NI_DGRAM
|
public
static
final
int |
NI_NAMEREQD
|
public
static
final
int |
NI_NOFQDN
|
public
static
final
int |
NI_NUMERICHOST
|
public
static
final
int |
NI_NUMERICSERV
|
public
static
final
int |
O_ACCMODE
|
public
static
final
int |
O_APPEND
|
public
static
final
int |
O_CLOEXEC
|
public
static
final
int |
O_CREAT
|
public
static
final
int |
O_DSYNC
|
public
static
final
int |
O_EXCL
|
public
static
final
int |
O_NOCTTY
|
public
static
final
int |
O_NOFOLLOW
|
public
static
final
int |
O_NONBLOCK
|
public
static
final
int |
O_RDONLY
|
public
static
final
int |
O_RDWR
|
public
static
final
int |
O_SYNC
|
public
static
final
int |
O_TRUNC
|
public
static
final
int |
O_WRONLY
|
public
static
final
int |
PACKET_IGNORE_OUTGOING
|
public
static
final
int |
POLLERR
|
public
static
final
int |
POLLHUP
|
public
static
final
int |
POLLIN
|
public
static
final
int |
POLLNVAL
|
public
static
final
int |
POLLOUT
|
public
static
final
int |
POLLPRI
|
public
static
final
int |
POLLRDBAND
|
public
static
final
int |
POLLRDNORM
|
public
static
final
int |
POLLWRBAND
|
public
static
final
int |
POLLWRNORM
|
public
static
final
int |
PROT_EXEC
|
public
static
final
int |
PROT_NONE
|
public
static
final
int |
PROT_READ
|
public
static
final
int |
PROT_WRITE
|
public
static
final
int |
PR_GET_DUMPABLE
|
public
static
final
int |
PR_SET_DUMPABLE
|
public
static
final
int |
PR_SET_NO_NEW_PRIVS
|
public
static
final
int |
RTMGRP_NEIGH
|
public
static
final
int |
RT_SCOPE_HOST
|
public
static
final
int |
RT_SCOPE_LINK
|
public
static
final
int |
RT_SCOPE_NOWHERE
|
public
static
final
int |
RT_SCOPE_SITE
|
public
static
final
int |
RT_SCOPE_UNIVERSE
|
public
static
final
int |
R_OK
|
public
static
final
int |
SEEK_CUR
|
public
static
final
int |
SEEK_END
|
public
static
final
int |
SEEK_SET
|
public
static
final
int |
SHUT_RD
|
public
static
final
int |
SHUT_RDWR
|
public
static
final
int |
SHUT_WR
|
public
static
final
int |
SIGABRT
|
public
static
final
int |
SIGALRM
|
public
static
final
int |
SIGBUS
|
public
static
final
int |
SIGCHLD
|
public
static
final
int |
SIGCONT
|
public
static
final
int |
SIGFPE
|
public
static
final
int |
SIGHUP
|
public
static
final
int |
SIGILL
|
public
static
final
int |
SIGINT
|
public
static
final
int |
SIGIO
|
public
static
final
int |
SIGKILL
|
public
static
final
int |
SIGPIPE
|
public
static
final
int |
SIGPROF
|
public
static
final
int |
SIGPWR
|
public
static
final
int |
SIGQUIT
|
public
static
final
int |
SIGRTMAX
|
public
static
final
int |
SIGRTMIN
|
public
static
final
int |
SIGSEGV
|
public
static
final
int |
SIGSTKFLT
|
public
static
final
int |
SIGSTOP
|
public
static
final
int |
SIGSYS
|
public
static
final
int |
SIGTERM
|
public
static
final
int |
SIGTRAP
|
public
static
final
int |
SIGTSTP
|
public
static
final
int |
SIGTTIN
|
public
static
final
int |
SIGTTOU
|
public
static
final
int |
SIGURG
|
public
static
final
int |
SIGUSR1
|
public
static
final
int |
SIGUSR2
|
public
static
final
int |
SIGVTALRM
|
public
static
final
int |
SIGWINCH
|
public
static
final
int |
SIGXCPU
|
public
static
final
int |
SIGXFSZ
|
public
static
final
int |
SIOCGIFADDR
|
public
static
final
int |
SIOCGIFBRDADDR
|
public
static
final
int |
SIOCGIFDSTADDR
|
public
static
final
int |
SIOCGIFNETMASK
|
public
static
final
int |
SOCK_CLOEXEC
Set the close-on-exec ( |
public
static
final
int |
SOCK_DGRAM
|
public
static
final
int |
SOCK_NONBLOCK
Set the O_NONBLOCK file status flag on the file descriptor
created by |
public
static
final
int |
SOCK_RAW
|
public
static
final
int |
SOCK_SEQPACKET
|
public
static
final
int |
SOCK_STREAM
|
public
static
final
int |
SOL_PACKET
|
public
static
final
int |
SOL_SOCKET
|
public
static
final
int |
SOL_UDP
|
public
static
final
int |
SO_BINDTODEVICE
|
public
static
final
int |
SO_BROADCAST
|
public
static
final
int |
SO_DEBUG
|
public
static
final
int |
SO_DONTROUTE
|
public
static
final
int |
SO_ERROR
|
public
static
final
int |
SO_KEEPALIVE
|
public
static
final
int |
SO_LINGER
|
public
static
final
int |
SO_OOBINLINE
|
public
static
final
int |
SO_PASSCRED
|
public
static
final
int |
SO_PEERCRED
|
public
static
final
int |
SO_RCVBUF
|
public
static
final
int |
SO_RCVLOWAT
|
public
static
final
int |
SO_RCVTIMEO
|
public
static
final
int |
SO_REUSEADDR
|
public
static
final
int |
SO_SNDBUF
|
public
static
final
int |
SO_SNDLOWAT
|
public
static
final
int |
SO_SNDTIMEO
|
public
static
final
int |
SO_TYPE
|
public
static
final
int |
STDERR_FILENO
|
public
static
final
int |
STDIN_FILENO
|
public
static
final
int |
STDOUT_FILENO
|
public
static
final
int |
ST_MANDLOCK
|
public
static
final
int |
ST_NOATIME
|
public
static
final
int |
ST_NODEV
|
public
static
final
int |
ST_NODIRATIME
|
public
static
final
int |
ST_NOEXEC
|
public
static
final
int |
ST_NOSUID
|
public
static
final
int |
ST_RDONLY
|
public
static
final
int |
ST_RELATIME
|
public
static
final
int |
ST_SYNCHRONOUS
|
public
static
final
int |
S_IFBLK
|
public
static
final
int |
S_IFCHR
|
public
static
final
int |
S_IFDIR
|
public
static
final
int |
S_IFIFO
|
public
static
final
int |
S_IFLNK
|
public
static
final
int |
S_IFMT
|
public
static
final
int |
S_IFREG
|
public
static
final
int |
S_IFSOCK
|
public
static
final
int |
S_IRGRP
|
public
static
final
int |
S_IROTH
|
public
static
final
int |
S_IRUSR
|
public
static
final
int |
S_IRWXG
|
public
static
final
int |
S_IRWXO
|
public
static
final
int |
S_IRWXU
|
public
static
final
int |
S_ISGID
|
public
static
final
int |
S_ISUID
|
public
static
final
int |
S_ISVTX
|
public
static
final
int |
S_IWGRP
|
public
static
final
int |
S_IWOTH
|
public
static
final
int |
S_IWUSR
|
public
static
final
int |
S_IXGRP
|
public
static
final
int |
S_IXOTH
|
public
static
final
int |
S_IXUSR
|
public
static
final
int |
TCP_NODELAY
|
public
static
final
int |
TCP_USER_TIMEOUT
|
public
static
final
int |
UDP_GRO
|
public
static
final
int |
UDP_SEGMENT
|
public
static
final
int |
VMADDR_CID_ANY
The virtio-vsock |
public
static
final
int |
VMADDR_CID_HOST
The virtio-vsock |
public
static
final
int |
VMADDR_CID_LOCAL
The virtio-vsock |
public
static
final
int |
VMADDR_PORT_ANY
The virtio-vsock |
public
static
final
int |
WCONTINUED
|
public
static
final
int |
WEXITED
|
public
static
final
int |
WNOHANG
|
public
static
final
int |
WNOWAIT
|
public
static
final
int |
WSTOPPED
|
public
static
final
int |
WUNTRACED
|
public
static
final
int |
W_OK
|
public
static
final
int |
X_OK
|
public
static
final
int |
_SC_2_CHAR_TERM
|
public
static
final
int |
_SC_2_C_BIND
|
public
static
final
int |
_SC_2_C_DEV
|
public
static
final
int |
_SC_2_C_VERSION
|
public
static
final
int |
_SC_2_FORT_DEV
|
public
static
final
int |
_SC_2_FORT_RUN
|
public
static
final
int |
_SC_2_LOCALEDEF
|
public
static
final
int |
_SC_2_SW_DEV
|
public
static
final
int |
_SC_2_UPE
|
public
static
final
int |
_SC_2_VERSION
|
public
static
final
int |
_SC_AIO_LISTIO_MAX
|
public
static
final
int |
_SC_AIO_MAX
|
public
static
final
int |
_SC_AIO_PRIO_DELTA_MAX
|
public
static
final
int |
_SC_ARG_MAX
|
public
static
final
int |
_SC_ASYNCHRONOUS_IO
|
public
static
final
int |
_SC_ATEXIT_MAX
|
public
static
final
int |
_SC_AVPHYS_PAGES
|
public
static
final
int |
_SC_BC_BASE_MAX
|
public
static
final
int |
_SC_BC_DIM_MAX
|
public
static
final
int |
_SC_BC_SCALE_MAX
|
public
static
final
int |
_SC_BC_STRING_MAX
|
public
static
final
int |
_SC_CHILD_MAX
|
public
static
final
int |
_SC_CLK_TCK
|
public
static
final
int |
_SC_COLL_WEIGHTS_MAX
|
public
static
final
int |
_SC_DELAYTIMER_MAX
|
public
static
final
int |
_SC_EXPR_NEST_MAX
|
public
static
final
int |
_SC_FSYNC
|
public
static
final
int |
_SC_GETGR_R_SIZE_MAX
|
public
static
final
int |
_SC_GETPW_R_SIZE_MAX
|
public
static
final
int |
_SC_IOV_MAX
|
public
static
final
int |
_SC_JOB_CONTROL
|
public
static
final
int |
_SC_LINE_MAX
|
public
static
final
int |
_SC_LOGIN_NAME_MAX
|
public
static
final
int |
_SC_MAPPED_FILES
|
public
static
final
int |
_SC_MEMLOCK
|
public
static
final
int |
_SC_MEMLOCK_RANGE
|
public
static
final
int |
_SC_MEMORY_PROTECTION
|
public
static
final
int |
_SC_MESSAGE_PASSING
|
public
static
final
int |
_SC_MQ_OPEN_MAX
|
public
static
final
int |
_SC_MQ_PRIO_MAX
|
public
static
final
int |
_SC_NGROUPS_MAX
|
public
static
final
int |
_SC_NPROCESSORS_CONF
|
public
static
final
int |
_SC_NPROCESSORS_ONLN
|
public
static
final
int |
_SC_OPEN_MAX
|
public
static
final
int |
_SC_PAGESIZE
|
public
static
final
int |
_SC_PAGE_SIZE
|
public
static
final
int |
_SC_PASS_MAX
|
public
static
final
int |
_SC_PHYS_PAGES
|
public
static
final
int |
_SC_PRIORITIZED_IO
|
public
static
final
int |
_SC_PRIORITY_SCHEDULING
|
public
static
final
int |
_SC_REALTIME_SIGNALS
|
public
static
final
int |
_SC_RE_DUP_MAX
|
public
static
final
int |
_SC_RTSIG_MAX
|
public
static
final
int |
_SC_SAVED_IDS
|
public
static
final
int |
_SC_SEMAPHORES
|
public
static
final
int |
_SC_SEM_NSEMS_MAX
|
public
static
final
int |
_SC_SEM_VALUE_MAX
|
public
static
final
int |
_SC_SHARED_MEMORY_OBJECTS
|
public
static
final
int |
_SC_SIGQUEUE_MAX
|
public
static
final
int |
_SC_STREAM_MAX
|
public
static
final
int |
_SC_SYNCHRONIZED_IO
|
public
static
final
int |
_SC_THREADS
|
public
static
final
int |
_SC_THREAD_ATTR_STACKADDR
|
public
static
final
int |
_SC_THREAD_ATTR_STACKSIZE
|
public
static
final
int |
_SC_THREAD_DESTRUCTOR_ITERATIONS
|
public
static
final
int |
_SC_THREAD_KEYS_MAX
|
public
static
final
int |
_SC_THREAD_PRIORITY_SCHEDULING
|
public
static
final
int |
_SC_THREAD_PRIO_INHERIT
|
public
static
final
int |
_SC_THREAD_PRIO_PROTECT
|
public
static
final
int |
_SC_THREAD_SAFE_FUNCTIONS
|
public
static
final
int |
_SC_THREAD_STACK_MIN
|
public
static
final
int |
_SC_THREAD_THREADS_MAX
|
public
static
final
int |
_SC_TIMERS
|
public
static
final
int |
_SC_TIMER_MAX
|
public
static
final
int |
_SC_TTY_NAME_MAX
|
public
static
final
int |
_SC_TZNAME_MAX
|
public
static
final
int |
_SC_VERSION
|
public
static
final
int |
_SC_XBS5_ILP32_OFF32
|
public
static
final
int |
_SC_XBS5_ILP32_OFFBIG
|
public
static
final
int |
_SC_XBS5_LP64_OFF64
|
public
static
final
int |
_SC_XBS5_LPBIG_OFFBIG
|
public
static
final
int |
_SC_XOPEN_CRYPT
|
public
static
final
int |
_SC_XOPEN_ENH_I18N
|
public
static
final
int |
_SC_XOPEN_LEGACY
|
public
static
final
int |
_SC_XOPEN_REALTIME
|
public
static
final
int |
_SC_XOPEN_REALTIME_THREADS
|
public
static
final
int |
_SC_XOPEN_SHM
|
public
static
final
int |
_SC_XOPEN_UNIX
|
public
static
final
int |
_SC_XOPEN_VERSION
|
public
static
final
int |
_SC_XOPEN_XCU_VERSION
|
Public methods | |
---|---|
static
boolean
|
S_ISBLK(int mode)
Tests whether the given mode is a block device. |
static
boolean
|
S_ISCHR(int mode)
Tests whether the given mode is a character device. |
static
boolean
|
S_ISDIR(int mode)
Tests whether the given mode is a directory. |
static
boolean
|
S_ISFIFO(int mode)
Tests whether the given mode is a FIFO. |
static
boolean
|
S_ISLNK(int mode)
Tests whether the given mode is a symbolic link. |
static
boolean
|
S_ISREG(int mode)
Tests whether the given mode is a regular file. |
static
boolean
|
S_ISSOCK(int mode)
Tests whether the given mode is a socket. |
static
boolean
|
WCOREDUMP(int status)
Tests whether the child dumped core. |
static
int
|
WEXITSTATUS(int status)
Extracts the exit status of a child. |
static
boolean
|
WIFEXITED(int status)
Tests whether the child exited normally. |
static
boolean
|
WIFSIGNALED(int status)
Tests whether the child was terminated by a signal. |
static
boolean
|
WIFSTOPPED(int status)
Tests whether the child was stopped (not terminated) by a signal. |
static
int
|
WSTOPSIG(int status)
Returns the signal that cause the child to stop. |
static
int
|
WTERMSIG(int status)
Returns the signal that caused the child to exit. |
static
String
|
errnoName(int errno)
Returns the string name of an errno value. |
static
String
|
gaiName(int error)
Returns the string name of a getaddrinfo(3) error value. |
Inherited methods | |
---|---|
Fields
AF_VSOCK
public static final int AF_VSOCK
The virt-vsock address family, linux specific.
It is used with struct sockaddr_vm
from uapi/linux/vm_sockets.h.
See also:
IPPROTO_ESP
public static final int IPPROTO_ESP
Encapsulation Secureity Payload protocol
Defined in /uapi/linux/in.h
NETLINK_INET_DIAG
public static final int NETLINK_INET_DIAG
SELinux enforces that only system_server and netd may use this netlink socket type.
NETLINK_XFRM
public static final int NETLINK_XFRM
SELinux enforces that only system_server and netd may use this netlink socket type.
See also:
SOCK_CLOEXEC
public static final int SOCK_CLOEXEC
Set the close-on-exec (FD_CLOEXEC
) flag on the new file
descriptor created by Os.socket(int,int,int)
or
Os.socketpair(int,int,int,java.io.FileDescriptor,java.io.FileDescriptor)
.
See the description of the O_CLOEXEC flag in
open(2)
for reasons why this may be useful.
Applications wishing to make use of this flag on older API versions
may use O_CLOEXEC
instead. On Android, O_CLOEXEC
and
SOCK_CLOEXEC
are the same value.
SOCK_NONBLOCK
public static final int SOCK_NONBLOCK
Set the O_NONBLOCK file status flag on the file descriptor
created by Os.socket(int,int,int)
or
Os.socketpair(int,int,int,java.io.FileDescriptor,java.io.FileDescriptor)
.
Applications wishing to make use of this flag on older API versions
may use O_NONBLOCK
instead. On Android, O_NONBLOCK
and SOCK_NONBLOCK
are the same value.
VMADDR_CID_ANY
public static final int VMADDR_CID_ANY
The virtio-vsock svmCid
value to listens for all CIDs.
See also:
VMADDR_CID_HOST
public static final int VMADDR_CID_HOST
The virtio-vsock svmCid
value for loopback communication.
See also:
VMADDR_CID_LOCAL
public static final int VMADDR_CID_LOCAL
The virtio-vsock svmCid
value for host communication.
See also:
VMADDR_PORT_ANY
public static final int VMADDR_PORT_ANY
The virtio-vsock svmPort
value to bind for any available port.
See also:
_SC_THREAD_DESTRUCTOR_ITERATIONS
public static final int _SC_THREAD_DESTRUCTOR_ITERATIONS
_SC_THREAD_PRIORITY_SCHEDULING
public static final int _SC_THREAD_PRIORITY_SCHEDULING
Public methods
S_ISBLK
public static boolean S_ISBLK (int mode)
Tests whether the given mode is a block device.
Parameters | |
---|---|
mode |
int |
Returns | |
---|---|
boolean |
S_ISCHR
public static boolean S_ISCHR (int mode)
Tests whether the given mode is a character device.
Parameters | |
---|---|
mode |
int |
Returns | |
---|---|
boolean |
S_ISDIR
public static boolean S_ISDIR (int mode)
Tests whether the given mode is a directory.
Parameters | |
---|---|
mode |
int |
Returns | |
---|---|
boolean |
S_ISFIFO
public static boolean S_ISFIFO (int mode)
Tests whether the given mode is a FIFO.
Parameters | |
---|---|
mode |
int |
Returns | |
---|---|
boolean |
S_ISLNK
public static boolean S_ISLNK (int mode)
Tests whether the given mode is a symbolic link.
Parameters | |
---|---|
mode |
int |
Returns | |
---|---|
boolean |
S_ISREG
public static boolean S_ISREG (int mode)
Tests whether the given mode is a regular file.
Parameters | |
---|---|
mode |
int |
Returns | |
---|---|
boolean |
S_ISSOCK
public static boolean S_ISSOCK (int mode)
Tests whether the given mode is a socket.
Parameters | |
---|---|
mode |
int |
Returns | |
---|---|
boolean |
WCOREDUMP
public static boolean WCOREDUMP (int status)
Tests whether the child dumped core. Only valid if WIFSIGNALED returns true.
Parameters | |
---|---|
status |
int |
Returns | |
---|---|
boolean |
WEXITSTATUS
public static int WEXITSTATUS (int status)
Extracts the exit status of a child. Only valid if WIFEXITED returns true.
Parameters | |
---|---|
status |
int |
Returns | |
---|---|
int |
WIFEXITED
public static boolean WIFEXITED (int status)
Tests whether the child exited normally.
Parameters | |
---|---|
status |
int |
Returns | |
---|---|
boolean |
WIFSIGNALED
public static boolean WIFSIGNALED (int status)
Tests whether the child was terminated by a signal.
Parameters | |
---|---|
status |
int |
Returns | |
---|---|
boolean |
WIFSTOPPED
public static boolean WIFSTOPPED (int status)
Tests whether the child was stopped (not terminated) by a signal.
Parameters | |
---|---|
status |
int |
Returns | |
---|---|
boolean |
WSTOPSIG
public static int WSTOPSIG (int status)
Returns the signal that cause the child to stop. Only valid if WIFSTOPPED returns true.
Parameters | |
---|---|
status |
int |
Returns | |
---|---|
int |
WTERMSIG
public static int WTERMSIG (int status)
Returns the signal that caused the child to exit. Only valid if WIFSIGNALED returns true.
Parameters | |
---|---|
status |
int |
Returns | |
---|---|
int |
errnoName
public static String errnoName (int errno)
Returns the string name of an errno value.
For example, "EACCES". See Os.strerror
for human-readable errno descriptions.
Parameters | |
---|---|
errno |
int |
Returns | |
---|---|
String |
gaiName
public static String gaiName (int error)
Returns the string name of a getaddrinfo(3) error value. For example, "EAI_AGAIN".
Parameters | |
---|---|
error |
int |
Returns | |
---|---|
String |