Home
last modified time | relevance | path

Searched refs:socket (Results 1 – 25 of 61) sorted by relevance

123

/system/core/adb/
Djdwp_service.c108 int socket; member
166 if (proc->socket >= 0) { in jdwp_process_free()
167 adb_shutdown(proc->socket); in jdwp_process_free()
168 adb_close(proc->socket); in jdwp_process_free()
169 proc->socket = -1; in jdwp_process_free()
194 jdwp_process_alloc( int socket ) in jdwp_process_alloc() argument
203 proc->socket = socket; in jdwp_process_alloc()
208 proc->fde = fdevent_create( socket, jdwp_process_event, proc ); in jdwp_process_alloc()
234 jdwp_process_event( int socket, unsigned events, void* _proc ) in jdwp_process_event() argument
245 int len = recv( socket, p, size, 0 ); in jdwp_process_event()
[all …]
Dtransport.c362 asocket socket; member
389 device_tracker_close( asocket* socket ) in device_tracker_close() argument
391 device_tracker* tracker = (device_tracker*) socket; in device_tracker_close()
392 asocket* peer = socket->peer; in device_tracker_close()
404 device_tracker_enqueue( asocket* socket, apacket* p ) in device_tracker_enqueue() argument
408 device_tracker_close(socket); in device_tracker_enqueue()
418 asocket* peer = tracker->socket.peer; in device_tracker_send()
427 device_tracker_ready( asocket* socket ) in device_tracker_ready() argument
429 device_tracker* tracker = (device_tracker*) socket; in device_tracker_ready()
454 tracker->socket.enqueue = device_tracker_enqueue; in create_device_tracker()
[all …]
/system/core/libsysutils/src/
DNetlinkListener.cpp29 NetlinkListener::NetlinkListener(int socket) : in NetlinkListener() argument
30 SocketListener(socket, false) { in NetlinkListener()
35 int socket = cli->getSocket(); in onDataAvailable() local
42 if ((count = recvmsg(socket, &hdr, 0)) < 0) { in onDataAvailable()
DSocketClient.cpp13 SocketClient::SocketClient(int socket) in SocketClient() argument
14 : mSocket(socket) in SocketClient()
25 int err = getsockopt(socket, SOL_SOCKET, SO_PEERCRED, &creds, &szCreds); in SocketClient()
DFrameworkClient.cpp11 FrameworkClient::FrameworkClient(int socket) { in FrameworkClient() argument
12 mSocket = socket; in FrameworkClient()
/system/core/rootdir/etc/
Ddbus.conf8 <!-- Only allow socket-credentials-based authentication -->
11 <!-- Only listen on a local socket. (abstract=/path/to/socket
/system/core/nexus/
DTiwlanEventListener.cpp28 TiwlanEventListener::TiwlanEventListener(int socket) : in TiwlanEventListener() argument
29 SocketListener(socket, false) { in TiwlanEventListener()
DDhcpListener.cpp31 DhcpListener::DhcpListener(Controller *c, int socket, IDhcpEventHandlers *handlers) : in DhcpListener() argument
32 SocketListener(socket, false) { in DhcpListener()
DDhcpListener.h31 DhcpListener(Controller *c, int socket, IDhcpEventHandlers *handlers);
/system/extras/tests/fstest/
Dperm_checker.conf97 /dev/socket/ 750 755 root system root system
98 /dev/socket/bluetooth 600 660 root bluetooth bluetooth bluetooth
99 /dev/socket/dbus 660 660 root bluetooth bluetooth bluetooth
100 /dev/socket/dbus_bluetooth 600 660 root bluetooth bluetooth bluetooth
101 /dev/socket/installd 600 660 system system system system
102 /dev/socket/mountd 660 660 root mount root mount
103 /dev/socket/property_service 666 666 root system root system
104 /dev/socket/rild 660 660 root radio root radio
105 /dev/socket/rild-debug 660 660 root radio root radio
106 /dev/socket/usbd 660 660 root mount mount mount
[all …]
/system/bluetooth/tools/
Dsock_shutdown_bug_tcp.c34 fd = socket(PF_INET, SOCK_STREAM, 0); in main()
52 fd = socket(PF_INET, SOCK_STREAM, 0); in main()
Dsock_shutdown_bug_rfcomm.c37 fd = socket(PF_BLUETOOTH, SOCK_STREAM, BTPROTO_RFCOMM); in main()
50 fd = socket(PF_BLUETOOTH, SOCK_STREAM, BTPROTO_RFCOMM); in main()
Dsock_shutdown_bug_l2cap.c36 fd = socket(PF_BLUETOOTH, SOCK_SEQPACKET, BTPROTO_L2CAP); in main()
/system/wlan/ti/sta_dk_4_0_4_32/CUDK/IPC/Linux/
Dipc_user.c63 inet_sock=socket(AF_INET, SOCK_DGRAM, 0); in iw_sockets_open()
66 ipx_sock=socket(AF_IPX, SOCK_DGRAM, 0); in iw_sockets_open()
69 ax25_sock=socket(AF_AX25, SOCK_DGRAM, 0); in iw_sockets_open()
72 ddp_sock=socket(AF_APPLETALK, SOCK_DGRAM, 0); in iw_sockets_open()
Dcu_ipc.c51 if((clnt_sfd = socket(AF_LOCAL, SOCK_DGRAM, 0))<0) in config_ipc_init()
/system/core/libcutils/
Dmq.c108 int socket; member
471 int socket = peerProxy->currentPacket->socket; in peerProxyWriteConnection() local
492 *((int *) CMSG_DATA(cmptr)) = peerProxy->currentPacket->socket; in peerProxyWriteConnection()
803 closeWithWarning(packet->socket); in outgoingPacketFreeSocket()
835 packetA->socket = sockets[0]; in masterConnectPeers()
836 packetB->socket = sockets[1]; in masterConnectPeers()
1027 int socket = accept(listenerFd->fd, NULL, NULL); in masterAcceptConnection() local
1028 if (socket == -1) { in masterAcceptConnection()
1033 LOGD("Accepted connection as fd %d.", socket); in masterAcceptConnection()
1039 int result = getsockopt(socket, SOL_SOCKET, SO_PEERCRED, in masterAcceptConnection()
[all …]
Dsocket_loopback_client.c48 s = socket(AF_INET, type, 0); in socket_loopback_client()
Dsocket_network_client.c54 s = socket(hp->h_addrtype, type, 0); in socket_network_client()
Dsocket_loopback_server.c47 s = socket(AF_INET, type, 0); in socket_loopback_server()
Dsocket_inaddr_any_server.c47 s = socket(AF_INET, type, 0); in socket_inaddr_any_server()
Dsocket_local_server.c100 s = socket(AF_LOCAL, type, 0);
/system/core/rootdir/
Dinit.rc313 socket vold stream 0660 root mount
317 socket netd stream 0660 root system
322 socket rild stream 660 root radio
323 socket rild-debug stream 660 radio system
328 socket zygote stream 666
346 socket dbus stream 660 bluetooth bluetooth
351 socket bluetooth stream 660 bluetooth bluetooth
352 socket dbus_bluetooth stream 660 bluetooth bluetooth
383 socket installd stream 600 system system
389 socket racoon stream 600 system system
[all …]
/system/extras/tests/bionic/libc/common/
Dtest_udp.c77 if ((s=socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP))==-1) in main()
100 if ((s=socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP))==-1) in main()
/system/core/include/sysutils/
DNetlinkListener.h27 NetlinkListener(int socket);
/system/core/init/
Dreadme.txt73 socket <name> <type> <perm> [ <user> [ <group> ] ]
74 Create a unix domain socket named /dev/socket/<name> and pass
245 mkdir /dev/socket
271 socket usbd 666
274 socket zygote 666

123