Searched defs:socket (Results 1 - 10 of 10) sorted by relevance

/system/core/libsysutils/src/
H A DFrameworkClient.cpp11 FrameworkClient::FrameworkClient(int socket) { argument
12 mSocket = socket;
H A DNetlinkListener.cpp19 #include <sys/socket.h>
29 NetlinkListener::NetlinkListener(int socket) : argument
30 SocketListener(socket, false) {
35 int socket = cli->getSocket(); local
42 if ((count = recvmsg(socket, &hdr, 0)) < 0) {
H A DSocketClient.cpp12 SocketClient::SocketClient(int socket) { argument
13 mSocket = socket;
/system/core/nexus/
H A DTiwlanEventListener.cpp21 #include <sys/socket.h>
28 TiwlanEventListener::TiwlanEventListener(int socket) : argument
29 SocketListener(socket, false) {
H A DDhcpListener.cpp18 #include <sys/socket.h>
31 DhcpListener::DhcpListener(Controller *c, int socket, IDhcpEventHandlers *handlers) : argument
32 SocketListener(socket, false) {
/system/core/adb/
H A Djdwp_service.c11 when adbd starts, it creates a unix server socket
44 - it attaches the first socket in the pair to a local socket
45 which is itself attached to the transport's remote socket:
48 - it sends the file descriptor of the second socket directly
59 then, the JDWP thread uses this new socket descriptor as its
83 due to the way adb works, this doesn't need a special socket
84 type or fancy handling of socket termination if either the debugger
93 ** for each JDWP process, we record its pid and its connected socket
100 #include <sys/socket
108 int socket; member in struct:JdwpProcess
234 jdwp_process_event( int socket, unsigned events, void* _proc ) argument
526 asocket socket; member in struct:__anon24
600 asocket socket; member in struct:JdwpTracker
[all...]
H A Dsockets.c195 // be sure to hold the socket list lock when calling this
201 ** that belongs to this socket
282 /* if we sent the last packet of a closing socket,
335 ** socket will be placed on the closing socket list.
369 if(s == 0) fatal("cannot allocate socket");
378 //fprintf(stderr, "Created local socket in create_local_socket \n");
420 /* a Remote socket is used to send/receive data to/from a given transport object
424 asocket socket; member in struct:aremotesocket
485 if(s == 0) fatal("cannot allocate socket");
[all...]
H A Dtransport.c181 D("failed to read packet from transport socket on fd %d\n", fd);
212 fatal_errno("cannot enqueue packet on transport socket");
327 // while a client socket is still active.
362 asocket socket; member in struct:device_tracker
389 device_tracker_close( asocket* socket )
391 device_tracker* tracker = (device_tracker*) socket;
392 asocket* peer = socket->peer;
404 device_tracker_enqueue( asocket* socket, apacket* p ) argument
408 device_tracker_close(socket);
418 asocket* peer = tracker->socket
[all...]
H A Dsysdeps_win32.c90 /* used to emulate unix-domain socket pairs */
100 SOCKET socket; member in union:FHRec_::__anon26
112 #define fh_socket u.socket
468 /***** socket-based file descriptors *****/
497 /* gently tell any peer that we're closing the socket */
596 s = socket(AF_INET, type, 0);
598 D("socket_loopback_client: could not create socket\n" );
635 s = socket(AF_INET, type, 0);
686 s = socket(hp->h_addrtype, type, 0);
722 s = socket(AF_INE
[all...]
/system/core/libcutils/
H A Dmq.c27 #include <sys/socket.h>
108 int socket; member in union:OutgoingPacket::__anon88
201 /** Server socket path. */
469 /** Sends a socket to the peer. */
471 int socket = peerProxy->currentPacket->socket; local
491 // Store the socket in the message.
492 *((int *) CMSG_DATA(cmptr)) = peerProxy->currentPacket->socket;
712 // Make the socket non-blocking.
803 closeWithWarning(packet->socket);
1027 int socket = accept(listenerFd->fd, NULL, NULL); local
[all...]

Completed in 126 milliseconds