Home | History | Annotate | Download | only in net

Lines Matching defs:Os

26 import android.system.Os;
67 Os.ioctlInt(myFd, OsConstants.FIONREAD, avail);
174 Os.ioctlInt(myFd, OsConstants.TIOCOUTQ, pending);
231 * Creates a socket in the underlying OS.
256 fd = Os.socket(OsConstants.AF_UNIX, osType, 0);
276 Os.close(fd);
317 Os.listen(fd, backlog);
336 s.fd = Os.accept(fd, null /* address */);
408 Os.shutdown(fd, OsConstants.SHUT_RD);
426 Os.shutdown(fd, OsConstants.SHUT_WR);
457 StructTimeval timeval = Os.getsockoptTimeval(fd, OsConstants.SOL_SOCKET,
465 toReturn = Os.getsockoptInt(fd, OsConstants.SOL_SOCKET, osOpt);
469 Os.getsockoptLinger(fd, OsConstants.SOL_SOCKET, OsConstants.SO_LINGER);
477 toReturn = Os.getsockoptInt(fd, OsConstants.IPPROTO_TCP,
516 Os.setsockoptLinger(fd, OsConstants.SOL_SOCKET, OsConstants.SO_LINGER, linger);
526 Os
533 Os.setsockoptInt(fd, OsConstants.SOL_SOCKET, osOpt, intValue);
536 Os.setsockoptInt(fd, OsConstants.IPPROTO_TCP, OsConstants.TCP_NODELAY,
593 * Retrieves the socket name from the OS.