Documentation
¶
Overview ¶
Package system provides Go bindings for android.system.
Index ¶
- Constants
- func Init(env *jni.Env) error
- type Cleaner
- type ErrnoException
- type Int64Ref
- type Os
- func (m *Os) Accept(arg0 *jni.Object, arg1 *jni.Object) (*jni.Object, error)
- func (m *Os) Access(arg0 string, arg1 int32) (bool, error)
- func (m *Os) Bind2_1(arg0 *jni.Object, arg1 *jni.Object) error
- func (m *Os) Bind3(arg0 *jni.Object, arg1 *jni.Object, arg2 int32) error
- func (m *Os) Chmod(arg0 string, arg1 int32) error
- func (m *Os) Chown(arg0 string, arg1 int32, arg2 int32) error
- func (m *Os) Close(arg0 *jni.Object) error
- func (m *Os) Connect2_1(arg0 *jni.Object, arg1 *jni.Object) error
- func (m *Os) Connect3(arg0 *jni.Object, arg1 *jni.Object, arg2 int32) error
- func (m *Os) Dup(arg0 *jni.Object) (*jni.Object, error)
- func (m *Os) Dup2(arg0 *jni.Object, arg1 int32) (*jni.Object, error)
- func (m *Os) Environ() (*jni.Object, error)
- func (m *Os) Execv(arg0 string, arg1 *jni.Object) error
- func (m *Os) Execve(arg0 string, arg1 *jni.Object, arg2 *jni.Object) error
- func (m *Os) Fchmod(arg0 *jni.Object, arg1 int32) error
- func (m *Os) Fchown(arg0 *jni.Object, arg1 int32, arg2 int32) error
- func (m *Os) FcntlInt(arg0 *jni.Object, arg1 int32, arg2 int32) (int32, error)
- func (m *Os) Fdatasync(arg0 *jni.Object) error
- func (m *Os) Fstat(arg0 *jni.Object) (*jni.Object, error)
- func (m *Os) Fstatvfs(arg0 *jni.Object) (*jni.Object, error)
- func (m *Os) Fsync(arg0 *jni.Object) error
- func (m *Os) Ftruncate(arg0 *jni.Object, arg1 int64) error
- func (m *Os) Gai_strerror(arg0 int32) (string, error)
- func (m *Os) Getegid() (int32, error)
- func (m *Os) Getenv(arg0 string) (string, error)
- func (m *Os) Geteuid() (int32, error)
- func (m *Os) Getgid() (int32, error)
- func (m *Os) Getpeername(arg0 *jni.Object) (*jni.Object, error)
- func (m *Os) Getpid() (int32, error)
- func (m *Os) Getppid() (int32, error)
- func (m *Os) Getsockname(arg0 *jni.Object) (*jni.Object, error)
- func (m *Os) GetsockoptTimeval(arg0 *jni.Object, arg1 int32, arg2 int32) (*jni.Object, error)
- func (m *Os) Gettid() (int32, error)
- func (m *Os) Getuid() (int32, error)
- func (m *Os) Getxattr(arg0 string, arg1 string) (*jni.Object, error)
- func (m *Os) If_indextoname(arg0 int32) (string, error)
- func (m *Os) If_nametoindex(arg0 string) (int32, error)
- func (m *Os) Inet_pton(arg0 int32, arg1 string) (*jni.Object, error)
- func (m *Os) Isatty(arg0 *jni.Object) (bool, error)
- func (m *Os) Kill(arg0 int32, arg1 int32) error
- func (m *Os) Lchown(arg0 string, arg1 int32, arg2 int32) error
- func (m *Os) Link(arg0 string, arg1 string) error
- func (m *Os) Listen(arg0 *jni.Object, arg1 int32) error
- func (m *Os) Listxattr(arg0 string) (*jni.Object, error)
- func (m *Os) Lseek(arg0 *jni.Object, arg1 int64, arg2 int32) (int64, error)
- func (m *Os) Lstat(arg0 string) (*jni.Object, error)
- func (m *Os) Memfd_create(arg0 string, arg1 int32) (*jni.Object, error)
- func (m *Os) Mincore(arg0 int64, arg1 int64, arg2 *jni.Object) error
- func (m *Os) Mkdir(arg0 string, arg1 int32) error
- func (m *Os) Mkfifo(arg0 string, arg1 int32) error
- func (m *Os) Mlock(arg0 int64, arg1 int64) error
- func (m *Os) Mmap(arg0 int64, arg1 int64, arg2 int32, arg3 int32, arg4 *jni.Object, arg5 int64) (int64, error)
- func (m *Os) Msync(arg0 int64, arg1 int64, arg2 int32) error
- func (m *Os) Munlock(arg0 int64, arg1 int64) error
- func (m *Os) Munmap(arg0 int64, arg1 int64) error
- func (m *Os) Open(arg0 string, arg1 int32, arg2 int32) (*jni.Object, error)
- func (m *Os) Pipe() (*jni.Object, error)
- func (m *Os) Poll(arg0 *jni.Object, arg1 int32) (int32, error)
- func (m *Os) Posix_fallocate(arg0 *jni.Object, arg1 int64, arg2 int64) error
- func (m *Os) Prctl(arg0 int32, arg1 int64, arg2 int64, arg3 int64, arg4 int64) (int32, error)
- func (m *Os) Pread(arg0 *jni.Object, arg1 *jni.Object, arg2 int32, arg3 int32, arg4 int64) (int32, error)
- func (m *Os) Pwrite(arg0 *jni.Object, arg1 *jni.Object, arg2 int32, arg3 int32, arg4 int64) (int32, error)
- func (m *Os) Read(arg0 *jni.Object, arg1 *jni.Object, arg2 int32, arg3 int32) (int32, error)
- func (m *Os) Readlink(arg0 string) (string, error)
- func (m *Os) Readv(arg0 *jni.Object, arg1 *jni.Object, arg2 *jni.Object, arg3 *jni.Object) (int32, error)
- func (m *Os) Recvfrom(arg0 *jni.Object, arg1 *jni.Object, arg2 int32, arg3 int32, arg4 int32, ...) (int32, error)
- func (m *Os) Recvmsg(arg0 *jni.Object, arg1 *jni.Object, arg2 int32) (int32, error)
- func (m *Os) Remove(arg0 string) error
- func (m *Os) Removexattr(arg0 string, arg1 string) error
- func (m *Os) Rename(arg0 string, arg1 string) error
- func (m *Os) Sendfile(arg0 *jni.Object, arg1 *jni.Object, arg2 *jni.Object, arg3 int64) (int64, error)
- func (m *Os) Sendmsg(arg0 *jni.Object, arg1 *jni.Object, arg2 int32) (int32, error)
- func (m *Os) Sendto6_1(arg0 *jni.Object, arg1 *jni.Object, arg2 int32, arg3 int32, arg4 int32, ...) (int32, error)
- func (m *Os) Sendto7(arg0 *jni.Object, arg1 *jni.Object, arg2 int32, arg3 int32, arg4 int32, ...) (int32, error)
- func (m *Os) Setegid(arg0 int32) error
- func (m *Os) Setenv(arg0 string, arg1 string, arg2 bool) error
- func (m *Os) Seteuid(arg0 int32) error
- func (m *Os) Setgid(arg0 int32) error
- func (m *Os) Setsid() (int32, error)
- func (m *Os) SetsockoptInt(arg0 *jni.Object, arg1 int32, arg2 int32, arg3 int32) error
- func (m *Os) SetsockoptTimeval(arg0 *jni.Object, arg1 int32, arg2 int32, arg3 *jni.Object) error
- func (m *Os) Setuid(arg0 int32) error
- func (m *Os) Setxattr(arg0 string, arg1 string, arg2 *jni.Object, arg3 int32) error
- func (m *Os) Shutdown(arg0 *jni.Object, arg1 int32) error
- func (m *Os) Socket(arg0 int32, arg1 int32, arg2 int32) (*jni.Object, error)
- func (m *Os) Socketpair(arg0 int32, arg1 int32, arg2 int32, arg3 *jni.Object, arg4 *jni.Object) error
- func (m *Os) Stat(arg0 string) (*jni.Object, error)
- func (m *Os) Statvfs(arg0 string) (*jni.Object, error)
- func (m *Os) Strerror(arg0 int32) (string, error)
- func (m *Os) Strsignal(arg0 int32) (string, error)
- func (m *Os) Symlink(arg0 string, arg1 string) error
- func (m *Os) Sysconf(arg0 int32) (int64, error)
- func (m *Os) Tcdrain(arg0 *jni.Object) error
- func (m *Os) Tcsendbreak(arg0 *jni.Object, arg1 int32) error
- func (m *Os) Umask(arg0 int32) (int32, error)
- func (m *Os) Uname() (*jni.Object, error)
- func (m *Os) Unsetenv(arg0 string) error
- func (m *Os) Write(arg0 *jni.Object, arg1 *jni.Object, arg2 int32, arg3 int32) (int32, error)
- func (m *Os) Writev(arg0 *jni.Object, arg1 *jni.Object, arg2 *jni.Object, arg3 *jni.Object) (int32, error)
- type OsConstants
- func (m *OsConstants) ErrnoName(arg0 int32) (string, error)
- func (m *OsConstants) GaiName(arg0 int32) (string, error)
- func (m *OsConstants) S_ISBLK(arg0 int32) (bool, error)
- func (m *OsConstants) S_ISCHR(arg0 int32) (bool, error)
- func (m *OsConstants) S_ISDIR(arg0 int32) (bool, error)
- func (m *OsConstants) S_ISFIFO(arg0 int32) (bool, error)
- func (m *OsConstants) S_ISLNK(arg0 int32) (bool, error)
- func (m *OsConstants) S_ISREG(arg0 int32) (bool, error)
- func (m *OsConstants) S_ISSOCK(arg0 int32) (bool, error)
- func (m *OsConstants) WCOREDUMP(arg0 int32) (bool, error)
- func (m *OsConstants) WEXITSTATUS(arg0 int32) (int32, error)
- func (m *OsConstants) WIFEXITED(arg0 int32) (bool, error)
- func (m *OsConstants) WIFSIGNALED(arg0 int32) (bool, error)
- func (m *OsConstants) WIFSTOPPED(arg0 int32) (bool, error)
- func (m *OsConstants) WSTOPSIG(arg0 int32) (int32, error)
- func (m *OsConstants) WTERMSIG(arg0 int32) (int32, error)
- type StructCmsghdr
- type StructMsghdr
- type StructPollfd
- type StructStat
- type StructStatVfs
- type StructTimespec
- func (m *StructTimespec) CompareTo1(arg0 *jni.Object) (int32, error)
- func (m *StructTimespec) CompareTo1_1(arg0 *jni.Object) (int32, error)
- func (m *StructTimespec) Equals(arg0 *jni.Object) (bool, error)
- func (m *StructTimespec) HashCode() (int32, error)
- func (m *StructTimespec) ToString() (string, error)
- type StructTimeval
- type StructUtsname
- type VmSocketAddress
Constants ¶
const ( AfInet = consts.AfInet AfInet6 = consts.AfInet6 AfNetlink = consts.AfNetlink AfPacket = consts.AfPacket AfUnix = consts.AfUnix AfUnspec = consts.AfUnspec AfVsock = consts.AfVsock AiAddrconfig = consts.AiAddrconfig AiAll = consts.AiAll AiCanonname = consts.AiCanonname AiNumerichost = consts.AiNumerichost AiNumericserv = consts.AiNumericserv AiPassive = consts.AiPassive AiV4mapped = consts.AiV4mapped ArphrdEther = consts.ArphrdEther CapAuditControl = consts.CapAuditControl CapAuditWrite = consts.CapAuditWrite CapBlockSuspend = consts.CapBlockSuspend CapChown = consts.CapChown CapDacOverride = consts.CapDacOverride CapDacReadSearch = consts.CapDacReadSearch CapFowner = consts.CapFowner CapFsetid = consts.CapFsetid CapIpcLock = consts.CapIpcLock CapIpcOwner = consts.CapIpcOwner CapKill = consts.CapKill CapLastCap = consts.CapLastCap CapLease = consts.CapLease CapLinuxImmutable = consts.CapLinuxImmutable CapMacAdmin = consts.CapMacAdmin CapMacOverride = consts.CapMacOverride CapMknod = consts.CapMknod CapNetAdmin = consts.CapNetAdmin CapNetBindService = consts.CapNetBindService CapNetBroadcast = consts.CapNetBroadcast CapNetRaw = consts.CapNetRaw CapSetfcap = consts.CapSetfcap CapSetgid = consts.CapSetgid CapSetpcap = consts.CapSetpcap CapSetuid = consts.CapSetuid CapSyslog = consts.CapSyslog CapSysAdmin = consts.CapSysAdmin CapSysBoot = consts.CapSysBoot CapSysChroot = consts.CapSysChroot CapSysModule = consts.CapSysModule CapSysNice = consts.CapSysNice CapSysPacct = consts.CapSysPacct CapSysPtrace = consts.CapSysPtrace CapSysRawio = consts.CapSysRawio CapSysResource = consts.CapSysResource CapSysTime = consts.CapSysTime CapSysTtyConfig = consts.CapSysTtyConfig CapWakeAlarm = consts.CapWakeAlarm E2big = consts.E2big Eacces = consts.Eacces Eaddrinuse = consts.Eaddrinuse Eaddrnotavail = consts.Eaddrnotavail Eafnosupport = consts.Eafnosupport Eagain = consts.Eagain EaiAgain = consts.EaiAgain EaiBadflags = consts.EaiBadflags EaiFail = consts.EaiFail EaiFamily = consts.EaiFamily EaiMemory = consts.EaiMemory EaiNodata = consts.EaiNodata EaiNoname = consts.EaiNoname EaiOverflow = consts.EaiOverflow EaiService = consts.EaiService EaiSocktype = consts.EaiSocktype EaiSystem = consts.EaiSystem Ealready = consts.Ealready Ebadf = consts.Ebadf Ebadmsg = consts.Ebadmsg Ebusy = consts.Ebusy Ecanceled = consts.Ecanceled Echild = consts.Echild Econnaborted = consts.Econnaborted Econnrefused = consts.Econnrefused Econnreset = consts.Econnreset Edeadlk = consts.Edeadlk Edestaddrreq = consts.Edestaddrreq Edom = consts.Edom Edquot = consts.Edquot Eexist = consts.Eexist Efault = consts.Efault Efbig = consts.Efbig Ehostunreach = consts.Ehostunreach Eidrm = consts.Eidrm Eilseq = consts.Eilseq Einprogress = consts.Einprogress Eintr = consts.Eintr Einval = consts.Einval Eio = consts.Eio Eisconn = consts.Eisconn Eisdir = consts.Eisdir Eloop = consts.Eloop Emfile = consts.Emfile Emlink = consts.Emlink Emsgsize = consts.Emsgsize Emultihop = consts.Emultihop Enametoolong = consts.Enametoolong Enetdown = consts.Enetdown Enetreset = consts.Enetreset Enetunreach = consts.Enetunreach Enfile = consts.Enfile Enobufs = consts.Enobufs Enodata = consts.Enodata Enodev = consts.Enodev Enoent = consts.Enoent Enoexec = consts.Enoexec Enolck = consts.Enolck Enolink = consts.Enolink Enomem = consts.Enomem Enomsg = consts.Enomsg Enonet = consts.Enonet Enoprotoopt = consts.Enoprotoopt Enospc = consts.Enospc Enosr = consts.Enosr Enostr = consts.Enostr Enosys = consts.Enosys Enotconn = consts.Enotconn Enotdir = consts.Enotdir Enotempty = consts.Enotempty Enotsock = consts.Enotsock Enotsup = consts.Enotsup Enotty = consts.Enotty Enxio = consts.Enxio Eopnotsupp = consts.Eopnotsupp Eoverflow = consts.Eoverflow Eperm = consts.Eperm Epipe = consts.Epipe Eproto = consts.Eproto Eprotonosupport = consts.Eprotonosupport Eprototype = consts.Eprototype Erange = consts.Erange Erofs = consts.Erofs Espipe = consts.Espipe Esrch = consts.Esrch Estale = consts.Estale EthPAll = consts.EthPAll EthPArp = consts.EthPArp EthPIp = consts.EthPIp EthPIpv6 = consts.EthPIpv6 Etime = consts.Etime Etimedout = consts.Etimedout Etxtbsy = consts.Etxtbsy Exdev = consts.Exdev ExitFailure = consts.ExitFailure ExitSuccess = consts.ExitSuccess FdCloexec = consts.FdCloexec Fionread = consts.Fionread FDupfd = consts.FDupfd FDupfdCloexec = consts.FDupfdCloexec FGetfd = consts.FGetfd FGetfl = consts.FGetfl FGetlk = consts.FGetlk FGetlk64 = consts.FGetlk64 FGetown = consts.FGetown FOk = consts.FOk FRdlck = consts.FRdlck FSetfd = consts.FSetfd FSetfl = consts.FSetfl FSetlk = consts.FSetlk FSetlk64 = consts.FSetlk64 FSetlkw = consts.FSetlkw FSetlkw64 = consts.FSetlkw64 FSetown = consts.FSetown FUnlck = consts.FUnlck FWrlck = consts.FWrlck Icmp6EchoReply = consts.Icmp6EchoReply Icmp6EchoRequest = consts.Icmp6EchoRequest IcmpEcho = consts.IcmpEcho IcmpEchoreply = consts.IcmpEchoreply IfaFDadfailed = consts.IfaFDadfailed IfaFDeprecated = consts.IfaFDeprecated IfaFHomeaddress = consts.IfaFHomeaddress IfaFManagetempaddr = consts.IfaFManagetempaddr IfaFNodad = consts.IfaFNodad IfaFNoprefixroute = consts.IfaFNoprefixroute IfaFOptimistic = consts.IfaFOptimistic IfaFPermanent = consts.IfaFPermanent IfaFSecondary = consts.IfaFSecondary IfaFTemporary = consts.IfaFTemporary IfaFTentative = consts.IfaFTentative IffAllmulti = consts.IffAllmulti IffAutomedia = consts.IffAutomedia IffBroadcast = consts.IffBroadcast IffDebug = consts.IffDebug IffDynamic = consts.IffDynamic IffLoopback = consts.IffLoopback IffMaster = consts.IffMaster IffMulticast = consts.IffMulticast IffNoarp = consts.IffNoarp IffNotrailers = consts.IffNotrailers IffPointopoint = consts.IffPointopoint IffPortsel = consts.IffPortsel IffPromisc = consts.IffPromisc IffRunning = consts.IffRunning IffSlave = consts.IffSlave IffUp = consts.IffUp IpprotoEsp = consts.IpprotoEsp IpprotoIcmp = consts.IpprotoIcmp IpprotoIcmpv6 = consts.IpprotoIcmpv6 IpprotoIp = consts.IpprotoIp IpprotoIpv6 = consts.IpprotoIpv6 IpprotoRaw = consts.IpprotoRaw IpprotoTcp = consts.IpprotoTcp IpprotoUdp = consts.IpprotoUdp Ipv6Checksum = consts.Ipv6Checksum Ipv6MulticastHops = consts.Ipv6MulticastHops Ipv6MulticastIf = consts.Ipv6MulticastIf Ipv6MulticastLoop = consts.Ipv6MulticastLoop Ipv6Pktinfo = consts.Ipv6Pktinfo Ipv6Recvdstopts = consts.Ipv6Recvdstopts Ipv6Recvhoplimit = consts.Ipv6Recvhoplimit Ipv6Recvhopopts = consts.Ipv6Recvhopopts Ipv6Recvpktinfo = consts.Ipv6Recvpktinfo Ipv6Recvrthdr = consts.Ipv6Recvrthdr Ipv6Recvtclass = consts.Ipv6Recvtclass Ipv6Tclass = consts.Ipv6Tclass Ipv6UnicastHops = consts.Ipv6UnicastHops Ipv6V6only = consts.Ipv6V6only IpMulticastIf = consts.IpMulticastIf IpMulticastLoop = consts.IpMulticastLoop IpMulticastTtl = consts.IpMulticastTtl IpTos = consts.IpTos IpTtl = consts.IpTtl MapAnonymous = consts.MapAnonymous MapFixed = consts.MapFixed MapPrivate = consts.MapPrivate McastBlockSource = consts.McastBlockSource McastJoinGroup = consts.McastJoinGroup McastJoinSourceGroup = consts.McastJoinSourceGroup McastLeaveGroup = consts.McastLeaveGroup McastLeaveSourceGroup = consts.McastLeaveSourceGroup McastUnblockSource = consts.McastUnblockSource MclCurrent = consts.MclCurrent MclFuture = consts.MclFuture MfdCloexec = consts.MfdCloexec MsgCtrunc = consts.MsgCtrunc MsgDontroute = consts.MsgDontroute MsgEor = consts.MsgEor MsgOob = consts.MsgOob MsgPeek = consts.MsgPeek MsgTrunc = consts.MsgTrunc MsgWaitall = consts.MsgWaitall MsAsync = consts.MsAsync MsInvalidate = consts.MsInvalidate MsSync = consts.MsSync NetlinkInetDiag = consts.NetlinkInetDiag NetlinkNetfilter = consts.NetlinkNetfilter NetlinkRoute = consts.NetlinkRoute NetlinkXfrm = consts.NetlinkXfrm NiDgram = consts.NiDgram NiNamereqd = consts.NiNamereqd NiNofqdn = consts.NiNofqdn NiNumerichost = consts.NiNumerichost NiNumericserv = consts.NiNumericserv OAccmode = consts.OAccmode OAppend = consts.OAppend OCloexec = consts.OCloexec OCreat = consts.OCreat ODsync = consts.ODsync OExcl = consts.OExcl ONoctty = consts.ONoctty ONofollow = consts.ONofollow ONonblock = consts.ONonblock ORdonly = consts.ORdonly ORdwr = consts.ORdwr OSync = consts.OSync OTrunc = consts.OTrunc OWronly = consts.OWronly PacketIgnoreOutgoing = consts.PacketIgnoreOutgoing Pollerr = consts.Pollerr Pollhup = consts.Pollhup Pollin = consts.Pollin Pollnval = consts.Pollnval Pollout = consts.Pollout Pollpri = consts.Pollpri Pollrdband = consts.Pollrdband Pollrdnorm = consts.Pollrdnorm Pollwrband = consts.Pollwrband Pollwrnorm = consts.Pollwrnorm ProtExec = consts.ProtExec ProtNone = consts.ProtNone ProtRead = consts.ProtRead ProtWrite = consts.ProtWrite PrGetDumpable = consts.PrGetDumpable PrSetDumpable = consts.PrSetDumpable PrSetNoNewPrivs = consts.PrSetNoNewPrivs RtmgrpNeigh = consts.RtmgrpNeigh RtScopeHost = consts.RtScopeHost RtScopeLink = consts.RtScopeLink RtScopeNowhere = consts.RtScopeNowhere RtScopeSite = consts.RtScopeSite RtScopeUniverse = consts.RtScopeUniverse ROk = consts.ROk SeekCur = consts.SeekCur SeekEnd = consts.SeekEnd SeekSet = consts.SeekSet ShutRd = consts.ShutRd ShutRdwr = consts.ShutRdwr ShutWr = consts.ShutWr Sigabrt = consts.Sigabrt Sigalrm = consts.Sigalrm Sigbus = consts.Sigbus Sigchld = consts.Sigchld Sigcont = consts.Sigcont Sigfpe = consts.Sigfpe Sighup = consts.Sighup Sigill = consts.Sigill Sigint = consts.Sigint Sigio = consts.Sigio Sigkill = consts.Sigkill Sigpipe = consts.Sigpipe Sigprof = consts.Sigprof Sigpwr = consts.Sigpwr Sigquit = consts.Sigquit Sigrtmax = consts.Sigrtmax Sigrtmin = consts.Sigrtmin Sigsegv = consts.Sigsegv Sigstkflt = consts.Sigstkflt Sigstop = consts.Sigstop Sigsys = consts.Sigsys Sigterm = consts.Sigterm Sigtrap = consts.Sigtrap Sigtstp = consts.Sigtstp Sigttin = consts.Sigttin Sigttou = consts.Sigttou Sigurg = consts.Sigurg Sigusr1 = consts.Sigusr1 Sigusr2 = consts.Sigusr2 Sigvtalrm = consts.Sigvtalrm Sigwinch = consts.Sigwinch Sigxcpu = consts.Sigxcpu Sigxfsz = consts.Sigxfsz Siocgifaddr = consts.Siocgifaddr Siocgifbrdaddr = consts.Siocgifbrdaddr Siocgifdstaddr = consts.Siocgifdstaddr Siocgifnetmask = consts.Siocgifnetmask SockCloexec = consts.SockCloexec SockDgram = consts.SockDgram SockNonblock = consts.SockNonblock SockRaw = consts.SockRaw SockSeqpacket = consts.SockSeqpacket SockStream = consts.SockStream SolPacket = consts.SolPacket SolSocket = consts.SolSocket SolUdp = consts.SolUdp SoBindtodevice = consts.SoBindtodevice SoBroadcast = consts.SoBroadcast SoDebug = consts.SoDebug SoDontroute = consts.SoDontroute SoError = consts.SoError SoKeepalive = consts.SoKeepalive SoLinger = consts.SoLinger SoOobinline = consts.SoOobinline SoPasscred = consts.SoPasscred SoPeercred = consts.SoPeercred SoRcvbuf = consts.SoRcvbuf SoRcvlowat = consts.SoRcvlowat SoRcvtimeo = consts.SoRcvtimeo SoReuseaddr = consts.SoReuseaddr SoSndbuf = consts.SoSndbuf SoSndlowat = consts.SoSndlowat SoSndtimeo = consts.SoSndtimeo SoType = consts.SoType StderrFileno = consts.StderrFileno StdinFileno = consts.StdinFileno StdoutFileno = consts.StdoutFileno StMandlock = consts.StMandlock StNoatime = consts.StNoatime StNodev = consts.StNodev StNodiratime = consts.StNodiratime StNoexec = consts.StNoexec StNosuid = consts.StNosuid StRdonly = consts.StRdonly StRelatime = consts.StRelatime StSynchronous = consts.StSynchronous SIfblk = consts.SIfblk SIfchr = consts.SIfchr SIfdir = consts.SIfdir SIfifo = consts.SIfifo SIflnk = consts.SIflnk SIfmt = consts.SIfmt SIfreg = consts.SIfreg SIfsock = consts.SIfsock SIrgrp = consts.SIrgrp SIroth = consts.SIroth SIrusr = consts.SIrusr SIrwxg = consts.SIrwxg SIrwxo = consts.SIrwxo SIrwxu = consts.SIrwxu SIsgid = consts.SIsgid SIsuid = consts.SIsuid SIsvtx = consts.SIsvtx SIwgrp = consts.SIwgrp SIwoth = consts.SIwoth SIwusr = consts.SIwusr SIxgrp = consts.SIxgrp SIxoth = consts.SIxoth SIxusr = consts.SIxusr TcpNodelay = consts.TcpNodelay TcpUserTimeout = consts.TcpUserTimeout UdpGro = consts.UdpGro UdpSegment = consts.UdpSegment VmaddrCidAny = consts.VmaddrCidAny VmaddrCidHost = consts.VmaddrCidHost VmaddrCidLocal = consts.VmaddrCidLocal VmaddrPortAny = consts.VmaddrPortAny Wcontinued = consts.Wcontinued Wexited = consts.Wexited Wnohang = consts.Wnohang Wnowait = consts.Wnowait Wstopped = consts.Wstopped Wuntraced = consts.Wuntraced WOk = consts.WOk XOk = consts.XOk Sc2CharTerm = consts.Sc2CharTerm Sc2CBind = consts.Sc2CBind Sc2CDev = consts.Sc2CDev Sc2CVersion = consts.Sc2CVersion Sc2FortDev = consts.Sc2FortDev Sc2FortRun = consts.Sc2FortRun Sc2Localedef = consts.Sc2Localedef Sc2SwDev = consts.Sc2SwDev Sc2Upe = consts.Sc2Upe Sc2Version = consts.Sc2Version ScAioListioMax = consts.ScAioListioMax ScAioMax = consts.ScAioMax ScAioPrioDeltaMax = consts.ScAioPrioDeltaMax ScArgMax = consts.ScArgMax ScAsynchronousIo = consts.ScAsynchronousIo ScAtexitMax = consts.ScAtexitMax ScAvphysPages = consts.ScAvphysPages ScBcBaseMax = consts.ScBcBaseMax ScBcDimMax = consts.ScBcDimMax ScBcScaleMax = consts.ScBcScaleMax ScBcStringMax = consts.ScBcStringMax ScChildMax = consts.ScChildMax ScClkTck = consts.ScClkTck ScCollWeightsMax = consts.ScCollWeightsMax ScDelaytimerMax = consts.ScDelaytimerMax ScExprNestMax = consts.ScExprNestMax ScFsync = consts.ScFsync ScGetgrRSizeMax = consts.ScGetgrRSizeMax ScGetpwRSizeMax = consts.ScGetpwRSizeMax ScIovMax = consts.ScIovMax ScJobControl = consts.ScJobControl ScLineMax = consts.ScLineMax ScLoginNameMax = consts.ScLoginNameMax ScMappedFiles = consts.ScMappedFiles ScMemlock = consts.ScMemlock ScMemlockRange = consts.ScMemlockRange ScMemoryProtection = consts.ScMemoryProtection ScMessagePassing = consts.ScMessagePassing ScMqOpenMax = consts.ScMqOpenMax ScMqPrioMax = consts.ScMqPrioMax ScNgroupsMax = consts.ScNgroupsMax ScNprocessorsConf = consts.ScNprocessorsConf ScNprocessorsOnln = consts.ScNprocessorsOnln ScOpenMax = consts.ScOpenMax ScPagesize = consts.ScPagesize ScPageSize = consts.ScPageSize ScPassMax = consts.ScPassMax ScPhysPages = consts.ScPhysPages ScPrioritizedIo = consts.ScPrioritizedIo ScPriorityScheduling = consts.ScPriorityScheduling ScRealtimeSignals = consts.ScRealtimeSignals ScReDupMax = consts.ScReDupMax ScRtsigMax = consts.ScRtsigMax ScSavedIds = consts.ScSavedIds ScSemaphores = consts.ScSemaphores ScSemNsemsMax = consts.ScSemNsemsMax ScSemValueMax = consts.ScSemValueMax ScSigqueueMax = consts.ScSigqueueMax ScStreamMax = consts.ScStreamMax ScSynchronizedIo = consts.ScSynchronizedIo ScThreads = consts.ScThreads ScThreadAttrStackaddr = consts.ScThreadAttrStackaddr ScThreadAttrStacksize = consts.ScThreadAttrStacksize ScThreadDestructorIterations = consts.ScThreadDestructorIterations ScThreadKeysMax = consts.ScThreadKeysMax ScThreadPriorityScheduling = consts.ScThreadPriorityScheduling ScThreadPrioInherit = consts.ScThreadPrioInherit ScThreadPrioProtect = consts.ScThreadPrioProtect ScThreadSafeFunctions = consts.ScThreadSafeFunctions ScThreadStackMin = consts.ScThreadStackMin ScThreadThreadsMax = consts.ScThreadThreadsMax ScTimers = consts.ScTimers ScTimerMax = consts.ScTimerMax ScTtyNameMax = consts.ScTtyNameMax ScTznameMax = consts.ScTznameMax ScVersion = consts.ScVersion ScXbs5Ilp32Off32 = consts.ScXbs5Ilp32Off32 ScXbs5Ilp32Offbig = consts.ScXbs5Ilp32Offbig ScXbs5Lp64Off64 = consts.ScXbs5Lp64Off64 ScXbs5LpbigOffbig = consts.ScXbs5LpbigOffbig ScXopenCrypt = consts.ScXopenCrypt ScXopenEnhI18n = consts.ScXopenEnhI18n ScXopenLegacy = consts.ScXopenLegacy ScXopenRealtime = consts.ScXopenRealtime ScXopenRealtimeThreads = consts.ScXopenRealtimeThreads ScXopenShm = consts.ScXopenShm ScXopenUnix = consts.ScXopenUnix ScXopenVersion = consts.ScXopenVersion ScXopenXcuVersion = consts.ScXopenXcuVersion )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ErrnoException ¶
ErrnoException wraps android.system.ErrnoException.
func NewErrnoException ¶
NewErrnoException creates a new android.system.ErrnoException instance.
func (*ErrnoException) GetMessage ¶
func (m *ErrnoException) GetMessage() (string, error)
GetMessage calls android.system.ErrnoException.getMessage.
func (*ErrnoException) RethrowAsIOException ¶
func (m *ErrnoException) RethrowAsIOException() (*jni.Object, error)
RethrowAsIOException calls android.system.ErrnoException.rethrowAsIOException.
func (*ErrnoException) RethrowAsSocketException ¶
func (m *ErrnoException) RethrowAsSocketException() (*jni.Object, error)
RethrowAsSocketException calls android.system.ErrnoException.rethrowAsSocketException.
type Int64Ref ¶
Int64Ref wraps android.system.Int64Ref.
func NewInt64Ref ¶
NewInt64Ref creates a new android.system.Int64Ref instance.
type Os ¶
Os wraps android.system.Os.
func (*Os) Connect2_1 ¶
Connect2_1 calls android.system.Os.connect.
func (*Os) Gai_strerror ¶
Gai_strerror calls android.system.Os.gai_strerror.
func (*Os) Getpeername ¶
Getpeername calls android.system.Os.getpeername.
func (*Os) Getsockname ¶
Getsockname calls android.system.Os.getsockname.
func (*Os) GetsockoptTimeval ¶
GetsockoptTimeval calls android.system.Os.getsockoptTimeval.
func (*Os) If_indextoname ¶
If_indextoname calls android.system.Os.if_indextoname.
func (*Os) If_nametoindex ¶
If_nametoindex calls android.system.Os.if_nametoindex.
func (*Os) Memfd_create ¶
Memfd_create calls android.system.Os.memfd_create.
func (*Os) Mmap ¶
func (m *Os) Mmap( arg0 int64, arg1 int64, arg2 int32, arg3 int32, arg4 *jni.Object, arg5 int64, ) (int64, error)
Mmap calls android.system.Os.mmap.
func (*Os) Posix_fallocate ¶
Posix_fallocate calls android.system.Os.posix_fallocate.
func (*Os) Pread ¶
func (m *Os) Pread( arg0 *jni.Object, arg1 *jni.Object, arg2 int32, arg3 int32, arg4 int64, ) (int32, error)
Pread calls android.system.Os.pread.
func (*Os) Pwrite ¶
func (m *Os) Pwrite( arg0 *jni.Object, arg1 *jni.Object, arg2 int32, arg3 int32, arg4 int64, ) (int32, error)
Pwrite calls android.system.Os.pwrite.
func (*Os) Readv ¶
func (m *Os) Readv( arg0 *jni.Object, arg1 *jni.Object, arg2 *jni.Object, arg3 *jni.Object, ) (int32, error)
Readv calls android.system.Os.readv.
func (*Os) Recvfrom ¶
func (m *Os) Recvfrom( arg0 *jni.Object, arg1 *jni.Object, arg2 int32, arg3 int32, arg4 int32, arg5 *jni.Object, ) (int32, error)
Recvfrom calls android.system.Os.recvfrom.
func (*Os) Removexattr ¶
Removexattr calls android.system.Os.removexattr.
func (*Os) Sendfile ¶
func (m *Os) Sendfile( arg0 *jni.Object, arg1 *jni.Object, arg2 *jni.Object, arg3 int64, ) (int64, error)
Sendfile calls android.system.Os.sendfile.
func (*Os) Sendto6_1 ¶
func (m *Os) Sendto6_1( arg0 *jni.Object, arg1 *jni.Object, arg2 int32, arg3 int32, arg4 int32, arg5 *jni.Object, ) (int32, error)
Sendto6_1 calls android.system.Os.sendto.
func (*Os) Sendto7 ¶
func (m *Os) Sendto7( arg0 *jni.Object, arg1 *jni.Object, arg2 int32, arg3 int32, arg4 int32, arg5 *jni.Object, arg6 int32, ) (int32, error)
Sendto7 calls android.system.Os.sendto.
func (*Os) SetsockoptInt ¶
SetsockoptInt calls android.system.Os.setsockoptInt.
func (*Os) SetsockoptTimeval ¶
SetsockoptTimeval calls android.system.Os.setsockoptTimeval.
func (*Os) Socketpair ¶
func (m *Os) Socketpair( arg0 int32, arg1 int32, arg2 int32, arg3 *jni.Object, arg4 *jni.Object, ) error
Socketpair calls android.system.Os.socketpair.
func (*Os) Tcsendbreak ¶
Tcsendbreak calls android.system.Os.tcsendbreak.
type OsConstants ¶
OsConstants wraps android.system.OsConstants.
func (*OsConstants) ErrnoName ¶
func (m *OsConstants) ErrnoName(arg0 int32) (string, error)
ErrnoName calls android.system.OsConstants.errnoName.
func (*OsConstants) GaiName ¶
func (m *OsConstants) GaiName(arg0 int32) (string, error)
GaiName calls android.system.OsConstants.gaiName.
func (*OsConstants) S_ISBLK ¶
func (m *OsConstants) S_ISBLK(arg0 int32) (bool, error)
S_ISBLK calls android.system.OsConstants.S_ISBLK.
func (*OsConstants) S_ISCHR ¶
func (m *OsConstants) S_ISCHR(arg0 int32) (bool, error)
S_ISCHR calls android.system.OsConstants.S_ISCHR.
func (*OsConstants) S_ISDIR ¶
func (m *OsConstants) S_ISDIR(arg0 int32) (bool, error)
S_ISDIR calls android.system.OsConstants.S_ISDIR.
func (*OsConstants) S_ISFIFO ¶
func (m *OsConstants) S_ISFIFO(arg0 int32) (bool, error)
S_ISFIFO calls android.system.OsConstants.S_ISFIFO.
func (*OsConstants) S_ISLNK ¶
func (m *OsConstants) S_ISLNK(arg0 int32) (bool, error)
S_ISLNK calls android.system.OsConstants.S_ISLNK.
func (*OsConstants) S_ISREG ¶
func (m *OsConstants) S_ISREG(arg0 int32) (bool, error)
S_ISREG calls android.system.OsConstants.S_ISREG.
func (*OsConstants) S_ISSOCK ¶
func (m *OsConstants) S_ISSOCK(arg0 int32) (bool, error)
S_ISSOCK calls android.system.OsConstants.S_ISSOCK.
func (*OsConstants) WCOREDUMP ¶
func (m *OsConstants) WCOREDUMP(arg0 int32) (bool, error)
WCOREDUMP calls android.system.OsConstants.WCOREDUMP.
func (*OsConstants) WEXITSTATUS ¶
func (m *OsConstants) WEXITSTATUS(arg0 int32) (int32, error)
WEXITSTATUS calls android.system.OsConstants.WEXITSTATUS.
func (*OsConstants) WIFEXITED ¶
func (m *OsConstants) WIFEXITED(arg0 int32) (bool, error)
WIFEXITED calls android.system.OsConstants.WIFEXITED.
func (*OsConstants) WIFSIGNALED ¶
func (m *OsConstants) WIFSIGNALED(arg0 int32) (bool, error)
WIFSIGNALED calls android.system.OsConstants.WIFSIGNALED.
func (*OsConstants) WIFSTOPPED ¶
func (m *OsConstants) WIFSTOPPED(arg0 int32) (bool, error)
WIFSTOPPED calls android.system.OsConstants.WIFSTOPPED.
type StructCmsghdr ¶
StructCmsghdr wraps android.system.StructCmsghdr.
func NewStructCmsghdr ¶
NewStructCmsghdr creates a new android.system.StructCmsghdr instance.
type StructMsghdr ¶
StructMsghdr wraps android.system.StructMsghdr.
type StructPollfd ¶
StructPollfd wraps android.system.StructPollfd.
func NewStructPollfd ¶
func NewStructPollfd(vm *jni.VM) (*StructPollfd, error)
NewStructPollfd creates a new android.system.StructPollfd instance.
func (*StructPollfd) ToString ¶
func (m *StructPollfd) ToString() (string, error)
ToString calls android.system.StructPollfd.toString.
type StructStat ¶
StructStat wraps android.system.StructStat.
func NewStructStat ¶
func NewStructStat(vm *jni.VM, arg0 int64, arg1 int64, arg2 int32, arg3 int64, arg4 int32, arg5 int32, arg6 int64, arg7 int64, arg8 *jni.Object, arg9 *jni.Object, arg10 *jni.Object, arg11 int64, arg12 int64) (*StructStat, error)
NewStructStat creates a new android.system.StructStat instance.
func (*StructStat) ToString ¶
func (m *StructStat) ToString() (string, error)
ToString calls android.system.StructStat.toString.
type StructStatVfs ¶
StructStatVfs wraps android.system.StructStatVfs.
func NewStructStatVfs ¶
func NewStructStatVfs(vm *jni.VM, arg0 int64, arg1 int64, arg2 int64, arg3 int64, arg4 int64, arg5 int64, arg6 int64, arg7 int64, arg8 int64, arg9 int64, arg10 int64) (*StructStatVfs, error)
NewStructStatVfs creates a new android.system.StructStatVfs instance.
func (*StructStatVfs) ToString ¶
func (m *StructStatVfs) ToString() (string, error)
ToString calls android.system.StructStatVfs.toString.
type StructTimespec ¶
StructTimespec wraps android.system.StructTimespec.
func NewStructTimespec ¶
NewStructTimespec creates a new android.system.StructTimespec instance.
func (*StructTimespec) CompareTo1 ¶
func (m *StructTimespec) CompareTo1(arg0 *jni.Object) (int32, error)
CompareTo1 calls android.system.StructTimespec.compareTo.
func (*StructTimespec) CompareTo1_1 ¶
func (m *StructTimespec) CompareTo1_1(arg0 *jni.Object) (int32, error)
CompareTo1_1 calls android.system.StructTimespec.compareTo.
func (*StructTimespec) Equals ¶
func (m *StructTimespec) Equals(arg0 *jni.Object) (bool, error)
Equals calls android.system.StructTimespec.equals.
func (*StructTimespec) HashCode ¶
func (m *StructTimespec) HashCode() (int32, error)
HashCode calls android.system.StructTimespec.hashCode.
func (*StructTimespec) ToString ¶
func (m *StructTimespec) ToString() (string, error)
ToString calls android.system.StructTimespec.toString.
type StructTimeval ¶
StructTimeval wraps android.system.StructTimeval.
func (*StructTimeval) Equals ¶
func (m *StructTimeval) Equals(arg0 *jni.Object) (bool, error)
Equals calls android.system.StructTimeval.equals.
func (*StructTimeval) FromMillis ¶
func (m *StructTimeval) FromMillis(arg0 int64) (*jni.Object, error)
FromMillis calls android.system.StructTimeval.fromMillis.
func (*StructTimeval) HashCode ¶
func (m *StructTimeval) HashCode() (int32, error)
HashCode calls android.system.StructTimeval.hashCode.
func (*StructTimeval) ToMillis ¶
func (m *StructTimeval) ToMillis() (int64, error)
ToMillis calls android.system.StructTimeval.toMillis.
func (*StructTimeval) ToString ¶
func (m *StructTimeval) ToString() (string, error)
ToString calls android.system.StructTimeval.toString.
type StructUtsname ¶
StructUtsname wraps android.system.StructUtsname.
func NewStructUtsname ¶
func NewStructUtsname(vm *jni.VM, arg0 string, arg1 string, arg2 string, arg3 string, arg4 string) (*StructUtsname, error)
NewStructUtsname creates a new android.system.StructUtsname instance.
func (*StructUtsname) ToString ¶
func (m *StructUtsname) ToString() (string, error)
ToString calls android.system.StructUtsname.toString.
type VmSocketAddress ¶
VmSocketAddress wraps android.system.VmSocketAddress.
func NewVmSocketAddress ¶
NewVmSocketAddress creates a new android.system.VmSocketAddress instance.
func (*VmSocketAddress) GetSvmCid ¶
func (m *VmSocketAddress) GetSvmCid() (int32, error)
GetSvmCid calls android.system.VmSocketAddress.getSvmCid.
func (*VmSocketAddress) GetSvmPort ¶
func (m *VmSocketAddress) GetSvmPort() (int32, error)
GetSvmPort calls android.system.VmSocketAddress.getSvmPort.