/external/kernel-headers/original/uapi/asm-mips/asm/ |
sockios.h | 2 * Socket-level I/O control calls. 15 /* Socket-level I/O control calls. */
|
/external/kernel-headers/original/uapi/linux/ |
netlink_diag.h | 49 #define NDIAG_SHOW_MEMINFO 0x00000001 /* show memory info of a socket */ 50 #define NDIAG_SHOW_GROUPS 0x00000002 /* show groups of a netlink socket */
|
if_pppol2tp.h | 2 * Linux PPP over L2TP (PPPoL2TP) Socket Implementation (RFC 2661) 21 /* Structure used to connect() the socket to a particular tunnel UDP 22 * socket over IPv4. 27 int fd; /* FD of UDP socket to use */ 35 /* Structure used to connect() the socket to a particular tunnel UDP 36 * socket over IPv6. 41 int fd; /* FD of UDP socket to use */ 55 int fd; /* FD of UDP or IP socket to use */ 66 int fd; /* FD of UDP or IP socket to use */ 74 /* Socket options [all...] |
/external/okhttp/okhttp-ws/ |
README.md | 4 RFC6455-compliant web socket implementation. 14 Start the web socket by calling `enqueue` on `WebSocketCall` with the `WebSocketListener`.
|
/libcore/luni/src/main/java/java/net/ |
DatagramSocketImpl.java | 24 * The abstract superclass for datagram and multicast socket implementations. 29 * File descriptor that is used to address this socket. 34 * The number of the local port to which this socket is bound. 39 * Constructs an unbound datagram socket implementation. 46 * Binds the datagram socket to the given local host/port. Sockets must be 60 * Closes this socket. 65 * This method allocates the socket descriptor in the underlying operating 69 * if an error occurs while creating the socket. 74 * Gets the {@code FileDescriptor} of this datagram socket, which is invalid 75 * if the socket is closed or not bound [all...] |
SocketOptions.java | 22 * Defines an interface for socket implementations to get and set socket 31 * Number of seconds to wait when closing a socket if there is still some buffered data to be 37 * <p>If this option is set to 0, the TCP socket is closed forcefully and the call to 40 * If this option is disabled, closing a socket will return immediately and the close will be 44 * seconds to wait. If all data could be sent during this time, the socket is closed normally. 65 * This boolean option specifies whether data is sent immediately on this socket or buffered. 68 * This could lead to low packet efficiency. When set to {@code Boolean.FALSE} the the socket 78 * This is an IPv4-only socket option whose functionality is subsumed by 84 * This option does not correspond to any Unix socket option and is not implemented on Android [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/linux/can/ |
raw.h | 22 /* for socket options affecting the socket (not the global system) */
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/can/ |
raw.h | 20 /* for socket options affecting the socket (not the global system) */
|
/system/bt/btif/src/ |
btif_sock_sco.c | 26 #include <sys/socket.h> 34 #include "osi/include/socket.h" 37 // This module provides a socket abstraction for SCO connections to a higher 52 // socket_read_ready_cb() - local host closed SCO socket 57 socket_t *socket; member in struct:__anon69204 75 static void sco_socket_free_locked(sco_socket_t *socket); 80 static void socket_read_ready_cb(socket_t *socket, void *context); 144 LOG_ERROR("%s unable to allocate socket pair: %s", __func__, strerror(errno)); 150 LOG_ERROR("%s unable to allocate new SCO socket.", __func__); 156 LOG_ERROR("%s unable to create SCO socket: %d", __func__, status) 160 socket_t *socket = socket_new_from_fd(pair[1]); local [all...] |
/system/bt/hci/src/ |
hci_inject.c | 33 #include "osi/include/socket.h" 44 socket_t *socket; member in struct:__anon69264 59 static void accept_ready(socket_t *socket, void *context); 60 static void read_ready(socket_t *socket, void *context); 118 static void accept_ready(socket_t *socket, UNUSED_ATTR void *context) { 119 assert(socket != NULL); 120 assert(socket == listen_socket); 122 socket = socket_accept(socket); 123 if (!socket) [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
winsock2.h | 850 typedef SOCKET (WSAAPI *LPFN_ACCEPT)(SOCKET s,struct sockaddr *addr,int *addrlen); 851 typedef int (WSAAPI *LPFN_BIND)(SOCKET s,const struct sockaddr *name,int namelen); 852 typedef int (WSAAPI *LPFN_CLOSESOCKET)(SOCKET s); 853 typedef int (WSAAPI *LPFN_CONNECT)(SOCKET s,const struct sockaddr *name,int namelen); 854 typedef int (WSAAPI *LPFN_IOCTLSOCKET)(SOCKET s,__LONG32 cmd,u_long *argp); 855 typedef int (WSAAPI *LPFN_GETPEERNAME)(SOCKET s,struct sockaddr *name,int *namelen); 856 typedef int (WSAAPI *LPFN_GETSOCKNAME)(SOCKET s,struct sockaddr *name,int *namelen); 857 typedef int (WSAAPI *LPFN_GETSOCKOPT)(SOCKET s,int level,int optname,char *optval,int *optlen); 862 typedef int (WSAAPI *LPFN_LISTEN)(SOCKET s,int backlog) [all...] |
ws2spi.h | 38 typedef SOCKET (WSPAPI *LPWSPACCEPT)(SOCKET s,struct sockaddr *addr,LPINT addrlen,LPCONDITIONPROC lpfnCondition,DWORD_PTR dwCallbackData,LPINT lpErrno); 40 typedef int (WSPAPI *LPWSPASYNCSELECT)(SOCKET s,HWND hWnd,unsigned int wMsg,__LONG32 lEvent,LPINT lpErrno); 41 typedef int (WSPAPI *LPWSPBIND)(SOCKET s,const struct sockaddr *name,int namelen,LPINT lpErrno); 44 typedef int (WSPAPI *LPWSPCLOSESOCKET)(SOCKET s,LPINT lpErrno); 45 typedef int (WSPAPI *LPWSPCONNECT)(SOCKET s,const struct sockaddr *name,int namelen,LPWSABUF lpCallerData,LPWSABUF lpCalleeData,LPQOS lpSQOS,LPQOS lpGQOS,LPINT lpErrno); 46 typedef int (WSPAPI *LPWSPDUPLICATESOCKET)(SOCKET s,DWORD dwProcessId,LPWSAPROTOCOL_INFOW lpProtocolInfo,LPINT lpErrno); 47 typedef int (WSPAPI *LPWSPENUMNETWORKEVENTS)(SOCKET s,WSAEVENT hEventObject,LPWSANETWORKEVENTS lpNetworkEvents,LPINT lpErrno); 48 typedef int (WSPAPI *LPWSPEVENTSELECT)(SOCKET s,WSAEVENT hEventObject,__LONG32 lNetworkEvents,LPINT lpErrno); 49 typedef WINBOOL (WSPAPI *LPWSPGETOVERLAPPEDRESULT)(SOCKET s,LPWSAOVERLAPPED lpOverlapped,LPDWORD lpcbTransfer,WINBOOL fWait,LPDWORD lpdwFlags,LPINT lpErrno) [all...] |
/libcore/luni/src/main/java/javax/net/ssl/ |
X509KeyManager.java | 20 import java.net.Socket; 39 * @param socket 40 * the socket for the connection, or {@code null} if 41 * the alias selected does not depend on a specific socket. 46 Socket socket); 57 * @param socket 58 * the socket for the connection, or {@code null} if 59 * the alias selected does not depend on a specific socket. 64 Socket socket) [all...] |
/libcore/luni/src/test/java/libcore/java/net/ |
OldSocketTestCase.java | 50 private static final String osDoesNotSupportOperationString = "The socket does not support the operation"; 52 private static final String osDoesNotSupportOptionString = "The socket option is not supported"; 54 private static final String osDoesNotSupportOptionArgumentString = "The socket option arguments are invalid"; 57 * Answer whether the OS supports the given socket option. 87 * If the exception is "socket does not support the operation" exception and 105 + "\" instead of correct exception for unsupported socket option: " 114 * This method should be called at the end of a socket option test's code 122 fail("Failed to throw exception for unsupported socket option: " 128 * Answer a string for the socket option given. 139 return "Socket timeout" [all...] |
OldUnixSocketTest.java | 27 import java.net.Socket; 36 Socket pingClient = new Socket(); 42 Socket worker = pingServer.accept(); 87 Socket theSocket = new Socket(); 106 Socket socket = new Socket("127.0.0.1", port, false); local 107 OutputStream o = socket.getOutputStream() [all...] |
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/share/ |
JPDADebuggeeSynchronizer.java | 34 import java.net.Socket; 52 protected Socket clientSocket = null; 162 * Returns socket address for connecting to the server. 164 * @return socket address 173 * Binds server to listen socket port. 180 logWriter.println("[SYNC] Binding socket on: " + serverAddress); 182 logWriter.println("[SYNC] Bound socket on: " + serverAddress); 186 "[SYNC] Exception in binding for socket sync connection", e); 197 logWriter.println("[SYNC] Accepting socket connection"); 199 logWriter.println("[SYNC] Accepted socket connection") [all...] |
/external/apache-http/src/org/apache/http/impl/io/ |
SocketInputBuffer.java | 36 import java.net.Socket; 44 * {@link Socket} bound session input buffer. 59 private final Socket socket; field in class:SocketInputBuffer 62 final Socket socket, 66 if (socket == null) { 67 throw new IllegalArgumentException("Socket may not be null"); 69 this.socket = socket; [all...] |
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
ServerSocketChannelTest.java | 38 ssc.socket().bind(null); 50 assertNull(ssc.socket().getLocalSocketAddress()); 52 ServerSocket socket = ssc.socket(); local 53 assertFalse(socket.isBound()); 54 assertFalse(socket.isClosed()); 55 assertEquals(-1, socket.getLocalPort()); 56 assertNull(socket.getLocalSocketAddress()); 57 assertNull(socket.getInetAddress()); 58 assertTrue(socket.getReuseAddress()) [all...] |
/external/apache-http/src/org/apache/http/conn/ |
MultihomePlainSocketFactory.java | 37 import java.net.Socket; 50 * Socket factory that implements a simple multi-home fail-over on connect failure, 52 * the {@link #connectSocket(Socket, String, int, InetAddress, int, HttpParams)} 53 * method cannot be reliably interrupted by closing the socket returned by the 71 * @return the one and only plain socket factory 86 public Socket createSocket() { 87 return new Socket(); 91 * Attempts to connects the socket to any of the {@link InetAddress}es the 95 * @param sock socket to connect to any of the given addresses 105 public Socket connectSocket(Socket sock, String host, int port, [all...] |
/external/apache-http/src/org/apache/http/impl/conn/ |
DefaultClientConnection.java | 36 import java.net.Socket; 78 /** The unconnected socket */ 79 private volatile Socket socket; field in class:DefaultClientConnection 108 public final Socket getSocket() { 109 return this.socket; 113 public void opening(Socket sock, HttpHost target) throws IOException { 115 this.socket = sock; 118 // Check for shutdown after assigning socket, so that 134 bind(this.socket, params) [all...] |
/external/libnl/lib/ |
socket.c | 2 * lib/socket.c Netlink Socket 14 * @defgroup socket Socket 113 * Allocate new netlink socket 115 * @return Newly allocated netlink socket or NULL. 129 * Allocate new socket with custom callbacks 135 *@return Newly allocted socket handle or NULL. 146 * Free a netlink socket. 147 * @arg sk Netlink socket [all...] |
/device/asus/flo/sepolicy/ |
qmux.te | 8 # Create sockets under each /dev/socket/qmux_* directory.
|
/device/htc/flounder/sepolicy/ |
qmuxd.te | 8 # Create sockets under each /dev/socket/qmux_* directory.
|
/device/lge/hammerhead/sepolicy/ |
bluetooth_loader.te | 12 # Talk to init over the property socket
|
time.te | 15 allow time self:socket *;
|