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 Security 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 (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).

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 Os.socket(int,int,int) or Os.socketpair(int,int,int,java.io.FileDescriptor,java.io.FileDescriptor).

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 svmCid value to listens for all CIDs.

public static final int VMADDR_CID_HOST

The virtio-vsock svmCid value for loopback communication.

public static final int VMADDR_CID_LOCAL

The virtio-vsock svmCid value for host communication.

public static final int VMADDR_PORT_ANY

The virtio-vsock svmPort value to bind for any available port.

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_INET

Added in API level 21
public static final int AF_INET

AF_INET6

Added in API level 21
public static final int AF_INET6

Added in API level 29
public static final int AF_NETLINK

AF_PACKET

Added in API level 29
public static final int AF_PACKET

AF_UNIX

Added in API level 21
public static final int AF_UNIX

AF_UNSPEC

Added in API level 21
public static final int AF_UNSPEC

AF_VSOCK

Added in API level 31
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.

AI_ADDRCONFIG

Added in API level 21
public static final int AI_ADDRCONFIG

AI_ALL

Added in API level 21
public static final int AI_ALL

AI_CANONNAME

Added in API level 21
public static final int AI_CANONNAME

AI_NUMERICHOST

Added in API level 21
public static final int AI_NUMERICHOST

AI_NUMERICSERV

Added in API level 21
public static final int AI_NUMERICSERV

AI_PASSIVE

Added in API level 21
public static final int AI_PASSIVE

AI_V4MAPPED

Added in API level 21
public static final int AI_V4MAPPED

ARPHRD_ETHER

Added in API level 29
public static final int ARPHRD_ETHER

CAP_AUDIT_CONTROL

Added in API level 21
public static final int CAP_AUDIT_CONTROL

CAP_AUDIT_WRITE

Added in API level 21
public static final int CAP_AUDIT_WRITE

CAP_BLOCK_SUSPEND

Added in API level 21
public static final int CAP_BLOCK_SUSPEND

CAP_CHOWN

Added in API level 21
public static final int CAP_CHOWN

CAP_DAC_OVERRIDE

Added in API level 21
public static final int CAP_DAC_OVERRIDE

Added in API level 21
public static final int CAP_DAC_READ_SEARCH

CAP_FOWNER

Added in API level 21
public static final int CAP_FOWNER

CAP_FSETID

Added in API level 21
public static final int CAP_FSETID

CAP_IPC_LOCK

Added in API level 21
public static final int CAP_IPC_LOCK

CAP_IPC_OWNER

Added in API level 21
public static final int CAP_IPC_OWNER

CAP_KILL

Added in API level 21
public static final int CAP_KILL

CAP_LAST_CAP

Added in API level 21
public static final int CAP_LAST_CAP

CAP_LEASE

Added in API level 21
public static final int CAP_LEASE

CAP_LINUX_IMMUTABLE

Added in API level 21
public static final int CAP_LINUX_IMMUTABLE

CAP_MAC_ADMIN

Added in API level 21
public static final int CAP_MAC_ADMIN

CAP_MAC_OVERRIDE

Added in API level 21
public static final int CAP_MAC_OVERRIDE

CAP_MKNOD

Added in API level 21
public static final int CAP_MKNOD

CAP_NET_ADMIN

Added in API level 21
public static final int CAP_NET_ADMIN

CAP_NET_BIND_SERVICE

Added in API level 21
public static final int CAP_NET_BIND_SERVICE

CAP_NET_BROADCAST

Added in API level 21
public static final int CAP_NET_BROADCAST

CAP_NET_RAW

Added in API level 21
public static final int CAP_NET_RAW

CAP_SETFCAP

Added in API level 21
public static final int CAP_SETFCAP

CAP_SETGID

Added in API level 21
public static final int CAP_SETGID

CAP_SETPCAP

Added in API level 21
public static final int CAP_SETPCAP

CAP_SETUID

Added in API level 21
public static final int CAP_SETUID

CAP_SYSLOG

Added in API level 21
public static final int CAP_SYSLOG

CAP_SYS_ADMIN

Added in API level 21
public static final int CAP_SYS_ADMIN

CAP_SYS_BOOT

Added in API level 21
public static final int CAP_SYS_BOOT

CAP_SYS_CHROOT

Added in API level 21
public static final int CAP_SYS_CHROOT

CAP_SYS_MODULE

Added in API level 21
public static final int CAP_SYS_MODULE

CAP_SYS_NICE

Added in API level 21
public static final int CAP_SYS_NICE

CAP_SYS_PACCT

Added in API level 21
public static final int CAP_SYS_PACCT

CAP_SYS_PTRACE

Added in API level 21
public static final int CAP_SYS_PTRACE

CAP_SYS_RAWIO

Added in API level 21
public static final int CAP_SYS_RAWIO

CAP_SYS_RESOURCE

Added in API level 21
public static final int CAP_SYS_RESOURCE

CAP_SYS_TIME

Added in API level 21
public static final int CAP_SYS_TIME

CAP_SYS_TTY_CONFIG

Added in API level 21
public static final int CAP_SYS_TTY_CONFIG

CAP_WAKE_ALARM

Added in API level 21
public static final int CAP_WAKE_ALARM

E2BIG

Added in API level 21
public static final int E2BIG

EACCES

Added in API level 21
public static final int EACCES

EADDRINUSE

Added in API level 21
public static final int EADDRINUSE

EADDRNOTAVAIL

Added in API level 21
public static final int EADDRNOTAVAIL

EAFNOSUPPORT

Added in API level 21
public static final int EAFNOSUPPORT

EAGAIN

Added in API level 21
public static final int EAGAIN

EAI_AGAIN

Added in API level 21
public static final int EAI_AGAIN

EAI_BADFLAGS

Added in API level 21
public static final int EAI_BADFLAGS

EAI_FAIL

Added in API level 21
public static final int EAI_FAIL

EAI_FAMILY

Added in API level 21
public static final int EAI_FAMILY

EAI_MEMORY

Added in API level 21
public static final int EAI_MEMORY

EAI_NODATA

Added in API level 21
public static final int EAI_NODATA

EAI_NONAME

Added in API level 21
public static final int EAI_NONAME

EAI_OVERFLOW

Added in API level 21
public static final int EAI_OVERFLOW

EAI_SERVICE

Added in API level 21
public static final int EAI_SERVICE

EAI_SOCKTYPE

Added in API level 21
public static final int EAI_SOCKTYPE

EAI_SYSTEM

Added in API level 21
public static final int EAI_SYSTEM

EALREADY

Added in API level 21
public static final int EALREADY

EBADF

Added in API level 21
public static final int EBADF

EBADMSG

Added in API level 21
public static final int EBADMSG

EBUSY

Added in API level 21
public static final int EBUSY

ECANCELED

Added in API level 21
public static final int ECANCELED

ECHILD

Added in API level 21
public static final int ECHILD

ECONNABORTED

Added in API level 21
public static final int ECONNABORTED

ECONNREFUSED

Added in API level 21
public static final int ECONNREFUSED

ECONNRESET

Added in API level 21
public static final int ECONNRESET

EDEADLK

Added in API level 21
public static final int EDEADLK

EDESTADDRREQ

Added in API level 21
public static final int EDESTADDRREQ

EDOM

Added in API level 21
public static final int EDOM

EDQUOT

Added in API level 21
public static final int EDQUOT

EEXIST

Added in API level 21
public static final int EEXIST

EFAULT

Added in API level 21
public static final int EFAULT

EFBIG

Added in API level 21
public static final int EFBIG

EHOSTUNREACH

Added in API level 21
public static final int EHOSTUNREACH

EIDRM

Added in API level 21
public static final int EIDRM

EILSEQ

Added in API level 21
public static final int EILSEQ

EINPROGRESS

Added in API level 21
public static final int EINPROGRESS

EINTR

Added in API level 21
public static final int EINTR

EINVAL

Added in API level 21
public static final int EINVAL

EIO

Added in API level 21
public static final int EIO

EISCONN

Added in API level 21
public static final int EISCONN

EISDIR

Added in API level 21
public static final int EISDIR

ELOOP

Added in API level 21
public static final int ELOOP

EMFILE

Added in API level 21
public static final int EMFILE

Added in API level 21
public static final int EMLINK

EMSGSIZE

Added in API level 21
public static final int EMSGSIZE

EMULTIHOP

Added in API level 21
public static final int EMULTIHOP

ENAMETOOLONG

Added in API level 21
public static final int ENAMETOOLONG

ENETDOWN

Added in API level 21
public static final int ENETDOWN

ENETRESET

Added in API level 21
public static final int ENETRESET

ENETUNREACH

Added in API level 21
public static final int ENETUNREACH

ENFILE

Added in API level 21
public static final int ENFILE

ENOBUFS

Added in API level 21
public static final int ENOBUFS

ENODATA

Added in API level 21
public static final int ENODATA

ENODEV

Added in API level 21
public static final int ENODEV

ENOENT

Added in API level 21
public static final int ENOENT

ENOEXEC

Added in API level 21
public static final int ENOEXEC

ENOLCK

Added in API level 21
public static final int ENOLCK

Added in API level 21
public static final int ENOLINK

ENOMEM

Added in API level 21
public static final int ENOMEM

ENOMSG

Added in API level 21
public static final int ENOMSG

ENONET

Added in API level 31
public static final int ENONET

ENOPROTOOPT

Added in API level 21
public static final int ENOPROTOOPT

ENOSPC

Added in API level 21
public static final int ENOSPC

ENOSR

Added in API level 21
public static final int ENOSR

ENOSTR

Added in API level 21
public static final int ENOSTR

ENOSYS

Added in API level 21
public static final int ENOSYS

ENOTCONN

Added in API level 21
public static final int ENOTCONN

ENOTDIR

Added in API level 21
public static final int ENOTDIR

ENOTEMPTY

Added in API level 21
public static final int ENOTEMPTY

ENOTSOCK

Added in API level 21
public static final int ENOTSOCK

ENOTSUP

Added in API level 21
public static final int ENOTSUP

ENOTTY

Added in API level 21
public static final int ENOTTY

ENXIO

Added in API level 21
public static final int ENXIO

EOPNOTSUPP

Added in API level 21
public static final int EOPNOTSUPP

EOVERFLOW

Added in API level 21
public static final int EOVERFLOW

EPERM

Added in API level 21
public static final int EPERM

EPIPE

Added in API level 21
public static final int EPIPE

EPROTO

Added in API level 21
public static final int EPROTO

EPROTONOSUPPORT

Added in API level 21
public static final int EPROTONOSUPPORT

EPROTOTYPE

Added in API level 21
public static final int EPROTOTYPE

ERANGE

Added in API level 21
public static final int ERANGE

EROFS

Added in API level 21
public static final int EROFS

ESPIPE

Added in API level 21
public static final int ESPIPE

ESRCH

Added in API level 21
public static final int ESRCH

ESTALE

Added in API level 21
public static final int ESTALE

ETH_P_ALL

Added in API level 29
public static final int ETH_P_ALL

ETH_P_ARP

Added in API level 29
public static final int ETH_P_ARP

ETH_P_IP

Added in API level 29
public static final int ETH_P_IP

ETH_P_IPV6

Added in API level 29
public static final int ETH_P_IPV6

ETIME

Added in API level 21
public static final int ETIME

ETIMEDOUT

Added in API level 21
public static final int ETIMEDOUT

ETXTBSY

Added in API level 21
public static final int ETXTBSY

EXDEV

Added in API level 21
public static final int EXDEV

EXIT_FAILURE

Added in API level 21
public static final int EXIT_FAILURE

EXIT_SUCCESS

Added in API level 21
public static final int EXIT_SUCCESS

FD_CLOEXEC

Added in API level 21
public static final int FD_CLOEXEC

FIONREAD

Added in API level 21
public static final int FIONREAD

F_DUPFD

Added in API level 21
public static final int F_DUPFD

F_DUPFD_CLOEXEC

Added in API level 27
public static final int F_DUPFD_CLOEXEC

F_GETFD

Added in API level 21
public static final int F_GETFD

F_GETFL

Added in API level 21
public static final int F_GETFL

F_GETLK

Added in API level 21
public static final int F_GETLK

F_GETLK64

Added in API level 21
public static final int F_GETLK64

F_GETOWN

Added in API level 21
public static final int F_GETOWN

F_OK

Added in API level 21
public static final int F_OK

F_RDLCK

Added in API level 21
public static final int F_RDLCK

F_SETFD

Added in API level 21
public static final int F_SETFD

F_SETFL

Added in API level 21
public static final int F_SETFL

F_SETLK

Added in API level 21
public static final int F_SETLK

F_SETLK64

Added in API level 21
public static final int F_SETLK64

F_SETLKW

Added in API level 21
public static final int F_SETLKW

F_SETLKW64

Added in API level 21
public static final int F_SETLKW64

F_SETOWN

Added in API level 21
public static final int F_SETOWN

F_UNLCK

Added in API level 21
public static final int F_UNLCK

F_WRLCK

Added in API level 21
public static final int F_WRLCK

ICMP6_ECHO_REPLY

Added in API level 29
public static final int ICMP6_ECHO_REPLY

ICMP6_ECHO_REQUEST

Added in API level 29
public static final int ICMP6_ECHO_REQUEST

ICMP_ECHO

Added in API level 29
public static final int ICMP_ECHO

ICMP_ECHOREPLY

Added in API level 29
public static final int ICMP_ECHOREPLY

IFA_F_DADFAILED

Added in API level 21
public static final int IFA_F_DADFAILED

IFA_F_DEPRECATED

Added in API level 21
public static final int IFA_F_DEPRECATED

IFA_F_HOMEADDRESS

Added in API level 21
public static final int IFA_F_HOMEADDRESS

IFA_F_MANAGETEMPADDR

Added in API level 34
public static final int IFA_F_MANAGETEMPADDR

IFA_F_NODAD

Added in API level 21
public static final int IFA_F_NODAD

IFA_F_NOPREFIXROUTE

Added in API level 34
public static final int IFA_F_NOPREFIXROUTE

IFA_F_OPTIMISTIC

Added in API level 21
public static final int IFA_F_OPTIMISTIC

IFA_F_PERMANENT

Added in API level 21
public static final int IFA_F_PERMANENT

IFA_F_SECONDARY

Added in API level 21
public static final int IFA_F_SECONDARY

IFA_F_TEMPORARY

Added in API level 21
public static final int IFA_F_TEMPORARY

IFA_F_TENTATIVE

Added in API level 21
public static final int IFA_F_TENTATIVE

IFF_ALLMULTI

Added in API level 21
public static final int IFF_ALLMULTI

IFF_AUTOMEDIA

Added in API level 21
public static final int IFF_AUTOMEDIA

IFF_BROADCAST

Added in API level 21
public static final int IFF_BROADCAST

IFF_DEBUG

Added in API level 21
public static final int IFF_DEBUG

IFF_DYNAMIC

Added in API level 21
public static final int IFF_DYNAMIC

IFF_LOOPBACK

Added in API level 21
public static final int IFF_LOOPBACK

IFF_MASTER

Added in API level 21
public static final int IFF_MASTER

IFF_MULTICAST

Added in API level 21
public static final int IFF_MULTICAST

IFF_NOARP

Added in API level 21
public static final int IFF_NOARP

IFF_NOTRAILERS

Added in API level 21
public static final int IFF_NOTRAILERS

IFF_POINTOPOINT

Added in API level 21
public static final int IFF_POINTOPOINT

IFF_PORTSEL

Added in API level 21
public static final int IFF_PORTSEL

IFF_PROMISC

Added in API level 21
public static final int IFF_PROMISC

IFF_RUNNING

Added in API level 21
public static final int IFF_RUNNING

IFF_SLAVE

Added in API level 21
public static final int IFF_SLAVE

IFF_UP

Added in API level 21
public static final int IFF_UP

IPPROTO_ESP

Added in API level 35
public static final int IPPROTO_ESP

Encapsulation Security Payload protocol

Defined in /uapi/linux/in.h

IPPROTO_ICMP

Added in API level 21
public static final int IPPROTO_ICMP

IPPROTO_ICMPV6

Added in API level 21
public static final int IPPROTO_ICMPV6

IPPROTO_IP

Added in API level 21
public static final int IPPROTO_IP

IPPROTO_IPV6

Added in API level 21
public static final int IPPROTO_IPV6

IPPROTO_RAW

Added in API level 21
public static final int IPPROTO_RAW

IPPROTO_TCP

Added in API level 21
public static final int IPPROTO_TCP

IPPROTO_UDP

Added in API level 21
public static final int IPPROTO_UDP

IPV6_CHECKSUM

Added in API level 21
public static final int IPV6_CHECKSUM

IPV6_MULTICAST_HOPS

Added in API level 21
public static final int IPV6_MULTICAST_HOPS

IPV6_MULTICAST_IF

Added in API level 21
public static final int IPV6_MULTICAST_IF

IPV6_MULTICAST_LOOP

Added in API level 21
public static final int IPV6_MULTICAST_LOOP

IPV6_PKTINFO

Added in API level 35
public static final int IPV6_PKTINFO

IPV6_RECVDSTOPTS

Added in API level 21
public static final int IPV6_RECVDSTOPTS

IPV6_RECVHOPLIMIT

Added in API level 21
public static final int IPV6_RECVHOPLIMIT

IPV6_RECVHOPOPTS

Added in API level 21
public static final int IPV6_RECVHOPOPTS

IPV6_RECVPKTINFO

Added in API level 21
public static final int IPV6_RECVPKTINFO

IPV6_RECVRTHDR

Added in API level 21
public static final int IPV6_RECVRTHDR

IPV6_RECVTCLASS

Added in API level 21
public static final int IPV6_RECVTCLASS

IPV6_TCLASS

Added in API level 21
public static final int IPV6_TCLASS

IPV6_UNICAST_HOPS

Added in API level 21
public static final int IPV6_UNICAST_HOPS

IPV6_V6ONLY

Added in API level 21
public static final int IPV6_V6ONLY

IP_MULTICAST_IF

Added in API level 21
public static final int IP_MULTICAST_IF

IP_MULTICAST_LOOP

Added in API level 21
public static final int IP_MULTICAST_LOOP

IP_MULTICAST_TTL

Added in API level 21
public static final int IP_MULTICAST_TTL

IP_TOS

Added in API level 21
public static final int IP_TOS

IP_TTL

Added in API level 21
public static final int IP_TTL

MAP_ANONYMOUS

Added in API level 30
public static final int MAP_ANONYMOUS

MAP_FIXED

Added in API level 21
public static final int MAP_FIXED

MAP_PRIVATE

Added in API level 21
public static final int MAP_PRIVATE

MAP_SHARED

Added in API level 21
public static final int MAP_SHARED

MCAST_BLOCK_SOURCE

Added in API level 21
public static final int MCAST_BLOCK_SOURCE

MCAST_JOIN_GROUP

Added in API level 21
public static final int MCAST_JOIN_GROUP

MCAST_JOIN_SOURCE_GROUP

Added in API level 21
public static final int MCAST_JOIN_SOURCE_GROUP

MCAST_LEAVE_GROUP

Added in API level 21
public static final int MCAST_LEAVE_GROUP

MCAST_LEAVE_SOURCE_GROUP

Added in API level 21
public static final int MCAST_LEAVE_SOURCE_GROUP

MCAST_UNBLOCK_SOURCE

Added in API level 21
public static final int MCAST_UNBLOCK_SOURCE

MCL_CURRENT

Added in API level 21
public static final int MCL_CURRENT

MCL_FUTURE

Added in API level 21
public static final int MCL_FUTURE

MFD_CLOEXEC

Added in API level 30
public static final int MFD_CLOEXEC

MSG_CTRUNC

Added in API level 21
public static final int MSG_CTRUNC

MSG_DONTROUTE

Added in API level 21
public static final int MSG_DONTROUTE

MSG_EOR

Added in API level 21
public static final int MSG_EOR

MSG_OOB

Added in API level 21
public static final int MSG_OOB

MSG_PEEK

Added in API level 21
public static final int MSG_PEEK

MSG_TRUNC

Added in API level 21
public static final int MSG_TRUNC

MSG_WAITALL

Added in API level 21
public static final int MSG_WAITALL

MS_ASYNC

Added in API level 21
public static final int MS_ASYNC

MS_INVALIDATE

Added in API level 21
public static final int MS_INVALIDATE

MS_SYNC

Added in API level 21
public static final int MS_SYNC

Added in API level 29
public static final int NETLINK_INET_DIAG

SELinux enforces that only system_server and netd may use this netlink socket type.

Added in API level 30
public static final int NETLINK_NETFILTER

Added in API level 29
public static final int NETLINK_ROUTE

Added in API level 35
public static final int NETLINK_XFRM

SELinux enforces that only system_server and netd may use this netlink socket type.

See also:

NI_DGRAM

Added in API level 21
public static final int NI_DGRAM

NI_NAMEREQD

Added in API level 21
public static final int NI_NAMEREQD

NI_NOFQDN

Added in API level 21
public static final int NI_NOFQDN

NI_NUMERICHOST

Added in API level 21
public static final int NI_NUMERICHOST

NI_NUMERICSERV

Added in API level 21
public static final int NI_NUMERICSERV

O_ACCMODE

Added in API level 21
public static final int O_ACCMODE

O_APPEND

Added in API level 21
public static final int O_APPEND

O_CLOEXEC

Added in API level 27
public static final int O_CLOEXEC

O_CREAT

Added in API level 21
public static final int O_CREAT

O_DSYNC

Added in API level 27
public static final int O_DSYNC

O_EXCL

Added in API level 21
public static final int O_EXCL

O_NOCTTY

Added in API level 21
public static final int O_NOCTTY

O_NOFOLLOW

Added in API level 21
public static final int O_NOFOLLOW

O_NONBLOCK

Added in API level 21
public static final int O_NONBLOCK

O_RDONLY

Added in API level 21
public static final int O_RDONLY

O_RDWR

Added in API level 21
public static final int O_RDWR

O_SYNC

Added in API level 21
public static final int O_SYNC

O_TRUNC

Added in API level 21
public static final int O_TRUNC

O_WRONLY

Added in API level 21
public static final int O_WRONLY

PACKET_IGNORE_OUTGOING

Added in API level 35
public static final int PACKET_IGNORE_OUTGOING

POLLERR

Added in API level 21
public static final int POLLERR

POLLHUP

Added in API level 21
public static final int POLLHUP

POLLIN

Added in API level 21
public static final int POLLIN

POLLNVAL

Added in API level 21
public static final int POLLNVAL

POLLOUT

Added in API level 21
public static final int POLLOUT

POLLPRI

Added in API level 21
public static final int POLLPRI

POLLRDBAND

Added in API level 21
public static final int POLLRDBAND

POLLRDNORM

Added in API level 21
public static final int POLLRDNORM

POLLWRBAND

Added in API level 21
public static final int POLLWRBAND

POLLWRNORM

Added in API level 21
public static final int POLLWRNORM

PROT_EXEC

Added in API level 21
public static final int PROT_EXEC

PROT_NONE

Added in API level 21
public static final int PROT_NONE

PROT_READ

Added in API level 21
public static final int PROT_READ

PROT_WRITE

Added in API level 21
public static final int PROT_WRITE

PR_GET_DUMPABLE

Added in API level 21
public static final int PR_GET_DUMPABLE

PR_SET_DUMPABLE

Added in API level 21
public static final int PR_SET_DUMPABLE

PR_SET_NO_NEW_PRIVS

Added in API level 21
public static final int PR_SET_NO_NEW_PRIVS

RTMGRP_NEIGH

Added in API level 29
public static final int RTMGRP_NEIGH

RT_SCOPE_HOST

Added in API level 21
public static final int RT_SCOPE_HOST

Added in API level 21
public static final int RT_SCOPE_LINK

RT_SCOPE_NOWHERE

Added in API level 21
public static final int RT_SCOPE_NOWHERE

RT_SCOPE_SITE

Added in API level 21
public static final int RT_SCOPE_SITE

RT_SCOPE_UNIVERSE

Added in API level 21
public static final int RT_SCOPE_UNIVERSE

R_OK

Added in API level 21
public static final int R_OK

SEEK_CUR

Added in API level 21
public static final int SEEK_CUR

SEEK_END

Added in API level 21
public static final int SEEK_END

SEEK_SET

Added in API level 21
public static final int SEEK_SET

SHUT_RD

Added in API level 21
public static final int SHUT_RD

SHUT_RDWR

Added in API level 21
public static final int SHUT_RDWR

SHUT_WR

Added in API level 21
public static final int SHUT_WR

SIGABRT

Added in API level 21
public static final int SIGABRT

SIGALRM

Added in API level 21
public static final int SIGALRM

SIGBUS

Added in API level 21
public static final int SIGBUS

SIGCHLD

Added in API level 21
public static final int SIGCHLD

SIGCONT

Added in API level 21
public static final int SIGCONT

SIGFPE

Added in API level 21
public static final int SIGFPE

SIGHUP

Added in API level 21
public static final int SIGHUP

SIGILL

Added in API level 21
public static final int SIGILL

SIGINT

Added in API level 21
public static final int SIGINT

SIGIO

Added in API level 21
public static final int SIGIO

SIGKILL

Added in API level 21
public static final int SIGKILL

SIGPIPE

Added in API level 21
public static final int SIGPIPE

SIGPROF

Added in API level 21
public static final int SIGPROF

SIGPWR

Added in API level 21
public static final int SIGPWR

SIGQUIT

Added in API level 21
public static final int SIGQUIT

SIGRTMAX

Added in API level 21
public static final int SIGRTMAX

SIGRTMIN

Added in API level 21
public static final int SIGRTMIN

SIGSEGV

Added in API level 21
public static final int SIGSEGV

SIGSTKFLT

Added in API level 21
public static final int SIGSTKFLT

SIGSTOP

Added in API level 21
public static final int SIGSTOP

SIGSYS

Added in API level 21
public static final int SIGSYS

SIGTERM

Added in API level 21
public static final int SIGTERM

SIGTRAP

Added in API level 21
public static final int SIGTRAP

SIGTSTP

Added in API level 21
public static final int SIGTSTP

SIGTTIN

Added in API level 21
public static final int SIGTTIN

SIGTTOU

Added in API level 21
public static final int SIGTTOU

SIGURG

Added in API level 21
public static final int SIGURG

SIGUSR1

Added in API level 21
public static final int SIGUSR1

SIGUSR2

Added in API level 21
public static final int SIGUSR2

SIGVTALRM

Added in API level 21
public static final int SIGVTALRM

SIGWINCH

Added in API level 21
public static final int SIGWINCH

SIGXCPU

Added in API level 21
public static final int SIGXCPU

SIGXFSZ

Added in API level 21
public static final int SIGXFSZ

SIOCGIFADDR

Added in API level 21
public static final int SIOCGIFADDR

SIOCGIFBRDADDR

Added in API level 21
public static final int SIOCGIFBRDADDR

SIOCGIFDSTADDR

Added in API level 21
public static final int SIOCGIFDSTADDR

SIOCGIFNETMASK

Added in API level 21
public static final int SIOCGIFNETMASK

SOCK_CLOEXEC

Added in API level 29
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_DGRAM

Added in API level 21
public static final int SOCK_DGRAM

SOCK_NONBLOCK

Added in API level 29
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.

SOCK_RAW

Added in API level 21
public static final int SOCK_RAW

SOCK_SEQPACKET

Added in API level 21
public static final int SOCK_SEQPACKET

SOCK_STREAM

Added in API level 21
public static final int SOCK_STREAM

SOL_PACKET

Added in API level 35
public static final int SOL_PACKET

SOL_SOCKET

Added in API level 21
public static final int SOL_SOCKET

SOL_UDP

Added in API level 31
public static final int SOL_UDP

SO_BINDTODEVICE

Added in API level 21
public static final int SO_BINDTODEVICE

SO_BROADCAST

Added in API level 21
public static final int SO_BROADCAST

SO_DEBUG

Added in API level 21
public static final int SO_DEBUG

SO_DONTROUTE

Added in API level 21
public static final int SO_DONTROUTE

SO_ERROR

Added in API level 21
public static final int SO_ERROR

SO_KEEPALIVE

Added in API level 21
public static final int SO_KEEPALIVE

SO_LINGER

Added in API level 21
public static final int SO_LINGER

SO_OOBINLINE

Added in API level 21
public static final int SO_OOBINLINE

SO_PASSCRED

Added in API level 21
public static final int SO_PASSCRED

SO_PEERCRED

Added in API level 21
public static final int SO_PEERCRED

SO_RCVBUF

Added in API level 21
public static final int SO_RCVBUF

SO_RCVLOWAT

Added in API level 21
public static final int SO_RCVLOWAT

SO_RCVTIMEO

Added in API level 21
public static final int SO_RCVTIMEO

SO_REUSEADDR

Added in API level 21
public static final int SO_REUSEADDR

SO_SNDBUF

Added in API level 21
public static final int SO_SNDBUF

SO_SNDLOWAT

Added in API level 21
public static final int SO_SNDLOWAT

SO_SNDTIMEO

Added in API level 21
public static final int SO_SNDTIMEO

SO_TYPE

Added in API level 21
public static final int SO_TYPE

STDERR_FILENO

Added in API level 21
public static final int STDERR_FILENO

STDIN_FILENO

Added in API level 21
public static final int STDIN_FILENO

STDOUT_FILENO

Added in API level 21
public static final int STDOUT_FILENO

ST_MANDLOCK

Added in API level 23
public static final int ST_MANDLOCK

ST_NOATIME

Added in API level 23
public static final int ST_NOATIME

ST_NODEV

Added in API level 23
public static final int ST_NODEV

ST_NODIRATIME

Added in API level 23
public static final int ST_NODIRATIME

ST_NOEXEC

Added in API level 23
public static final int ST_NOEXEC

ST_NOSUID

Added in API level 23
public static final int ST_NOSUID

ST_RDONLY

Added in API level 23
public static final int ST_RDONLY

ST_RELATIME

Added in API level 23
public static final int ST_RELATIME

ST_SYNCHRONOUS

Added in API level 23
public static final int ST_SYNCHRONOUS

S_IFBLK

Added in API level 21
public static final int S_IFBLK

S_IFCHR

Added in API level 21
public static final int S_IFCHR

S_IFDIR

Added in API level 21
public static final int S_IFDIR

S_IFIFO

Added in API level 21
public static final int S_IFIFO

S_IFLNK

Added in API level 21
public static final int S_IFLNK

S_IFMT

Added in API level 21
public static final int S_IFMT

S_IFREG

Added in API level 21
public static final int S_IFREG

S_IFSOCK

Added in API level 21
public static final int S_IFSOCK

S_IRGRP

Added in API level 21
public static final int S_IRGRP

S_IROTH

Added in API level 21
public static final int S_IROTH

S_IRUSR

Added in API level 21
public static final int S_IRUSR

S_IRWXG

Added in API level 21
public static final int S_IRWXG

S_IRWXO

Added in API level 21
public static final int S_IRWXO

S_IRWXU

Added in API level 21
public static final int S_IRWXU

S_ISGID

Added in API level 21
public static final int S_ISGID

S_ISUID

Added in API level 21
public static final int S_ISUID

S_ISVTX

Added in API level 21
public static final int S_ISVTX

S_IWGRP

Added in API level 21
public static final int S_IWGRP

S_IWOTH

Added in API level 21
public static final int S_IWOTH

S_IWUSR

Added in API level 21
public static final int S_IWUSR

S_IXGRP

Added in API level 21
public static final int S_IXGRP

S_IXOTH

Added in API level 21
public static final int S_IXOTH

S_IXUSR

Added in API level 21
public static final int S_IXUSR

TCP_NODELAY

Added in API level 21
public static final int TCP_NODELAY

TCP_USER_TIMEOUT

Added in API level 26
public static final int TCP_USER_TIMEOUT

UDP_GRO

Added in API level 31
public static final int UDP_GRO

UDP_SEGMENT

Added in API level 31
public static final int UDP_SEGMENT

VMADDR_CID_ANY

Added in API level 31
public static final int VMADDR_CID_ANY

The virtio-vsock svmCid value to listens for all CIDs.

VMADDR_CID_HOST

Added in API level 31
public static final int VMADDR_CID_HOST

The virtio-vsock svmCid value for loopback communication.

VMADDR_CID_LOCAL

Added in API level 31
public static final int VMADDR_CID_LOCAL

The virtio-vsock svmCid value for host communication.

VMADDR_PORT_ANY

Added in API level 31
public static final int VMADDR_PORT_ANY

The virtio-vsock svmPort value to bind for any available port.

WCONTINUED

Added in API level 21
public static final int WCONTINUED

WEXITED

Added in API level 21
public static final int WEXITED

WNOHANG

Added in API level 21
public static final int WNOHANG

WNOWAIT

Added in API level 21
public static final int WNOWAIT

WSTOPPED

Added in API level 21
public static final int WSTOPPED

WUNTRACED

Added in API level 21
public static final int WUNTRACED

W_OK

Added in API level 21
public static final int W_OK

X_OK

Added in API level 21
public static final int X_OK

_SC_2_CHAR_TERM

Added in API level 21
public static final int _SC_2_CHAR_TERM

_SC_2_C_BIND

Added in API level 21
public static final int _SC_2_C_BIND

_SC_2_C_DEV

Added in API level 21
public static final int _SC_2_C_DEV

_SC_2_C_VERSION

Added in API level 21
public static final int _SC_2_C_VERSION

_SC_2_FORT_DEV

Added in API level 21
public static final int _SC_2_FORT_DEV

_SC_2_FORT_RUN

Added in API level 21
public static final int _SC_2_FORT_RUN

_SC_2_LOCALEDEF

Added in API level 21
public static final int _SC_2_LOCALEDEF

_SC_2_SW_DEV

Added in API level 21
public static final int _SC_2_SW_DEV

_SC_2_UPE

Added in API level 21
public static final int _SC_2_UPE

_SC_2_VERSION

Added in API level 21
public static final int _SC_2_VERSION

_SC_AIO_LISTIO_MAX

Added in API level 21
public static final int _SC_AIO_LISTIO_MAX

_SC_AIO_MAX

Added in API level 21
public static final int _SC_AIO_MAX

_SC_AIO_PRIO_DELTA_MAX

Added in API level 21
public static final int _SC_AIO_PRIO_DELTA_MAX

_SC_ARG_MAX

Added in API level 21
public static final int _SC_ARG_MAX

_SC_ASYNCHRONOUS_IO

Added in API level 21
public static final int _SC_ASYNCHRONOUS_IO

_SC_ATEXIT_MAX

Added in API level 21
public static final int _SC_ATEXIT_MAX

_SC_AVPHYS_PAGES

Added in API level 21
public static final int _SC_AVPHYS_PAGES

_SC_BC_BASE_MAX

Added in API level 21
public static final int _SC_BC_BASE_MAX

_SC_BC_DIM_MAX

Added in API level 21
public static final int _SC_BC_DIM_MAX

_SC_BC_SCALE_MAX

Added in API level 21
public static final int _SC_BC_SCALE_MAX

_SC_BC_STRING_MAX

Added in API level 21
public static final int _SC_BC_STRING_MAX

_SC_CHILD_MAX

Added in API level 21
public static final int _SC_CHILD_MAX

_SC_CLK_TCK

Added in API level 21
public static final int _SC_CLK_TCK

_SC_COLL_WEIGHTS_MAX

Added in API level 21
public static final int _SC_COLL_WEIGHTS_MAX

_SC_DELAYTIMER_MAX

Added in API level 21
public static final int _SC_DELAYTIMER_MAX

_SC_EXPR_NEST_MAX

Added in API level 21
public static final int _SC_EXPR_NEST_MAX

_SC_FSYNC

Added in API level 21
public static final int _SC_FSYNC

_SC_GETGR_R_SIZE_MAX

Added in API level 21
public static final int _SC_GETGR_R_SIZE_MAX

_SC_GETPW_R_SIZE_MAX

Added in API level 21
public static final int _SC_GETPW_R_SIZE_MAX

_SC_IOV_MAX

Added in API level 21
public static final int _SC_IOV_MAX

_SC_JOB_CONTROL

Added in API level 21
public static final int _SC_JOB_CONTROL

_SC_LINE_MAX

Added in API level 21
public static final int _SC_LINE_MAX

_SC_LOGIN_NAME_MAX

Added in API level 21
public static final int _SC_LOGIN_NAME_MAX

_SC_MAPPED_FILES

Added in API level 21
public static final int _SC_MAPPED_FILES

_SC_MEMLOCK

Added in API level 21
public static final int _SC_MEMLOCK

_SC_MEMLOCK_RANGE

Added in API level 21
public static final int _SC_MEMLOCK_RANGE

_SC_MEMORY_PROTECTION

Added in API level 21
public static final int _SC_MEMORY_PROTECTION

_SC_MESSAGE_PASSING

Added in API level 21
public static final int _SC_MESSAGE_PASSING

_SC_MQ_OPEN_MAX

Added in API level 21
public static final int _SC_MQ_OPEN_MAX

_SC_MQ_PRIO_MAX

Added in API level 21
public static final int _SC_MQ_PRIO_MAX

_SC_NGROUPS_MAX

Added in API level 21
public static final int _SC_NGROUPS_MAX

_SC_NPROCESSORS_CONF

Added in API level 21
public static final int _SC_NPROCESSORS_CONF

_SC_NPROCESSORS_ONLN

Added in API level 21
public static final int _SC_NPROCESSORS_ONLN

_SC_OPEN_MAX

Added in API level 21
public static final int _SC_OPEN_MAX

_SC_PAGESIZE

Added in API level 21
public static final int _SC_PAGESIZE

_SC_PAGE_SIZE

Added in API level 21
public static final int _SC_PAGE_SIZE

_SC_PASS_MAX

Added in API level 21
public static final int _SC_PASS_MAX

_SC_PHYS_PAGES

Added in API level 21
public static final int _SC_PHYS_PAGES

_SC_PRIORITIZED_IO

Added in API level 21
public static final int _SC_PRIORITIZED_IO

_SC_PRIORITY_SCHEDULING

Added in API level 21
public static final int _SC_PRIORITY_SCHEDULING

_SC_REALTIME_SIGNALS

Added in API level 21
public static final int _SC_REALTIME_SIGNALS

_SC_RE_DUP_MAX

Added in API level 21
public static final int _SC_RE_DUP_MAX

_SC_RTSIG_MAX

Added in API level 21
public static final int _SC_RTSIG_MAX

_SC_SAVED_IDS

Added in API level 21
public static final int _SC_SAVED_IDS

_SC_SEMAPHORES

Added in API level 21
public static final int _SC_SEMAPHORES

_SC_SEM_NSEMS_MAX

Added in API level 21
public static final int _SC_SEM_NSEMS_MAX

_SC_SEM_VALUE_MAX

Added in API level 21
public static final int _SC_SEM_VALUE_MAX

_SC_SHARED_MEMORY_OBJECTS

Added in API level 21
public static final int _SC_SHARED_MEMORY_OBJECTS

_SC_SIGQUEUE_MAX

Added in API level 21
public static final int _SC_SIGQUEUE_MAX

_SC_STREAM_MAX

Added in API level 21
public static final int _SC_STREAM_MAX

_SC_SYNCHRONIZED_IO

Added in API level 21
public static final int _SC_SYNCHRONIZED_IO

_SC_THREADS

Added in API level 21
public static final int _SC_THREADS

_SC_THREAD_ATTR_STACKADDR

Added in API level 21
public static final int _SC_THREAD_ATTR_STACKADDR

_SC_THREAD_ATTR_STACKSIZE

Added in API level 21
public static final int _SC_THREAD_ATTR_STACKSIZE

_SC_THREAD_DESTRUCTOR_ITERATIONS

Added in API level 21
public static final int _SC_THREAD_DESTRUCTOR_ITERATIONS

_SC_THREAD_KEYS_MAX

Added in API level 21
public static final int _SC_THREAD_KEYS_MAX

_SC_THREAD_PRIORITY_SCHEDULING

Added in API level 21
public static final int _SC_THREAD_PRIORITY_SCHEDULING

_SC_THREAD_PRIO_INHERIT

Added in API level 21
public static final int _SC_THREAD_PRIO_INHERIT

_SC_THREAD_PRIO_PROTECT

Added in API level 21
public static final int _SC_THREAD_PRIO_PROTECT

_SC_THREAD_SAFE_FUNCTIONS

Added in API level 21
public static final int _SC_THREAD_SAFE_FUNCTIONS

_SC_THREAD_STACK_MIN

Added in API level 21
public static final int _SC_THREAD_STACK_MIN

_SC_THREAD_THREADS_MAX

Added in API level 21
public static final int _SC_THREAD_THREADS_MAX

_SC_TIMERS

Added in API level 21
public static final int _SC_TIMERS

_SC_TIMER_MAX

Added in API level 21
public static final int _SC_TIMER_MAX

_SC_TTY_NAME_MAX

Added in API level 21
public static final int _SC_TTY_NAME_MAX

_SC_TZNAME_MAX

Added in API level 21
public static final int _SC_TZNAME_MAX

_SC_VERSION

Added in API level 21
public static final int _SC_VERSION

_SC_XBS5_ILP32_OFF32

Added in API level 21
public static final int _SC_XBS5_ILP32_OFF32

_SC_XBS5_ILP32_OFFBIG

Added in API level 21
public static final int _SC_XBS5_ILP32_OFFBIG

_SC_XBS5_LP64_OFF64

Added in API level 21
public static final int _SC_XBS5_LP64_OFF64

_SC_XBS5_LPBIG_OFFBIG

Added in API level 21
public static final int _SC_XBS5_LPBIG_OFFBIG

_SC_XOPEN_CRYPT

Added in API level 21
public static final int _SC_XOPEN_CRYPT

_SC_XOPEN_ENH_I18N

Added in API level 21
public static final int _SC_XOPEN_ENH_I18N

_SC_XOPEN_LEGACY

Added in API level 21
public static final int _SC_XOPEN_LEGACY

_SC_XOPEN_REALTIME

Added in API level 21
public static final int _SC_XOPEN_REALTIME

_SC_XOPEN_REALTIME_THREADS

Added in API level 21
public static final int _SC_XOPEN_REALTIME_THREADS

_SC_XOPEN_SHM

Added in API level 21
public static final int _SC_XOPEN_SHM

_SC_XOPEN_UNIX

Added in API level 21
public static final int _SC_XOPEN_UNIX

_SC_XOPEN_VERSION

Added in API level 21
public static final int _SC_XOPEN_VERSION

_SC_XOPEN_XCU_VERSION

Added in API level 21
public static final int _SC_XOPEN_XCU_VERSION

Public methods

S_ISBLK

Added in API level 21
public static boolean S_ISBLK (int mode)

Tests whether the given mode is a block device.

Parameters
mode int

Returns
boolean

S_ISCHR

Added in API level 21
public static boolean S_ISCHR (int mode)

Tests whether the given mode is a character device.

Parameters
mode int

Returns
boolean

S_ISDIR

Added in API level 21
public static boolean S_ISDIR (int mode)

Tests whether the given mode is a directory.

Parameters
mode int

Returns
boolean

S_ISFIFO

Added in API level 21
public static boolean S_ISFIFO (int mode)

Tests whether the given mode is a FIFO.

Parameters
mode int

Returns
boolean

S_ISLNK

Added in API level 21
public static boolean S_ISLNK (int mode)

Tests whether the given mode is a symbolic link.

Parameters
mode int

Returns
boolean

S_ISREG

Added in API level 21
public static boolean S_ISREG (int mode)

Tests whether the given mode is a regular file.

Parameters
mode int

Returns
boolean

S_ISSOCK

Added in API level 21
public static boolean S_ISSOCK (int mode)

Tests whether the given mode is a socket.

Parameters
mode int

Returns
boolean

WCOREDUMP

Added in API level 21
public static boolean WCOREDUMP (int status)

Tests whether the child dumped core. Only valid if WIFSIGNALED returns true.

Parameters
status int

Returns
boolean

WEXITSTATUS

Added in API level 21
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

Added in API level 21
public static boolean WIFEXITED (int status)

Tests whether the child exited normally.

Parameters
status int

Returns
boolean

WIFSIGNALED

Added in API level 21
public static boolean WIFSIGNALED (int status)

Tests whether the child was terminated by a signal.

Parameters
status int

Returns
boolean

WIFSTOPPED

Added in API level 21
public static boolean WIFSTOPPED (int status)

Tests whether the child was stopped (not terminated) by a signal.

Parameters
status int

Returns
boolean

WSTOPSIG

Added in API level 21
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

Added in API level 21
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

Added in API level 21
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

Added in API level 21
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