Home
last modified time | relevance | path

Searched defs:socket (Results 1 – 23 of 23) sorted by relevance

/system/bt/osi/src/
Dsocket.c84 void socket_free(socket_t *socket) { in socket_free()
93 bool socket_listen(const socket_t *socket, port_t port) { in socket_listen()
113 socket_t *socket_accept(const socket_t *socket) { in socket_accept()
129 ssize_t socket_read(const socket_t *socket, void *buf, size_t count) { in socket_read()
139 ssize_t socket_write(const socket_t *socket, const void *buf, size_t count) { in socket_write()
149 ssize_t socket_write_and_transfer_fd(const socket_t *socket, const void *buf, size_t count, int fd)… in socket_write_and_transfer_fd()
183 ssize_t socket_bytes_available(const socket_t *socket) { in socket_bytes_available()
192 void socket_register(socket_t *socket, reactor_t *reactor, void *context, socket_cb read_cb, socket… in socket_register()
208 void socket_unregister(socket_t *socket) { in socket_unregister()
219 socket_t *socket = (void *)context; in internal_read_ready() local
[all …]
/system/core/libsysutils/src/
DNetlinkListener.cpp34 NetlinkListener::NetlinkListener(int socket) : in NetlinkListener()
40 NetlinkListener::NetlinkListener(int socket, int format) : in NetlinkListener()
46 int socket = cli->getSocket(); in onDataAvailable() local
DSocketClient.cpp16 SocketClient::SocketClient(int socket, bool owned) { in SocketClient()
20 SocketClient::SocketClient(int socket, bool owned, bool useCmdNum) { in SocketClient()
24 void SocketClient::init(int socket, bool owned, bool useCmdNum) { in init()
DFrameworkClient.cpp11 FrameworkClient::FrameworkClient(int socket) { in FrameworkClient()
/system/core/libcutils/
Duevent.c32 ssize_t uevent_kernel_multicast_recv(int socket, void *buffer, size_t length) in uevent_kernel_multicast_recv()
47 ssize_t uevent_kernel_multicast_uid_recv(int socket, void *buffer, size_t length, uid_t *uid) in uevent_kernel_multicast_uid_recv()
52 ssize_t uevent_kernel_recv(int socket, void *buffer, size_t length, bool require_group, uid_t *uid) in uevent_kernel_recv()
/system/bt/hci/src/
Dhci_inject.c45 socket_t *socket; member
127 static void accept_ready(socket_t *socket, UNUSED_ATTR void *context) { in accept_ready()
148 static void read_ready(UNUSED_ATTR socket_t *socket, void *context) { in read_ready()
/system/bt/btif/src/
Dbtif_sock_sco.c60 socket_t *socket; member
163 socket_t *socket = socket_new_from_fd(pair[1]); in sco_socket_establish_locked() local
311 static void socket_read_ready_cb(UNUSED_ATTR socket_t *socket, void *context) { in socket_read_ready_cb()
/system/connectivity/shill/
Dicmp.h59 int socket() { return socket_; } in socket() function
Darp_client.h60 virtual int socket() const { return socket_; } in socket() function
Dicmp.cc36 int socket = sockets_->Socket(AF_INET, SOCK_RAW, IPPROTO_ICMP); in Start() local
Deap_listener.cc69 int socket = sockets_->Socket(PF_PACKET, SOCK_DGRAM, htons(ETH_P_PAE)); in CreateSocket() local
Darp_client.cc69 int socket = sockets_->Socket(PF_PACKET, SOCK_DGRAM, htons(ETHERTYPE_ARP)); in CreateSocket() local
Dconnection_health_checker_unittest.cc161 const Sockets* socket() { in socket() function in shill::ConnectionHealthCheckerTest
/system/core/adb/
Djdwp_service.cpp130 int socket; member
216 jdwp_process_alloc( int socket ) in jdwp_process_alloc()
257 jdwp_process_event( int socket, unsigned events, void* _proc ) in jdwp_process_event()
564 asocket socket; member
636 asocket socket; member
Dtransport.cpp321 asocket socket; member
348 device_tracker_close( asocket* socket ) in device_tracker_close()
363 device_tracker_enqueue( asocket* socket, apacket* p ) in device_tracker_enqueue()
381 static void device_tracker_ready(asocket* socket) { in device_tracker_ready()
Dsysdeps_win32.cpp181 SOCKET socket; member
/system/core/logd/
DLogListener.cpp62 int socket = cli->getSocket(); in onDataAvailable() local
/system/core/fastboot/
Dudp.cpp114 UdpTransport(std::unique_ptr<Socket> socket) : socket_(std::move(socket)) {} in UdpTransport()
141 std::unique_ptr<UdpTransport> UdpTransport::NewTransport(std::unique_ptr<Socket> socket, in NewTransport()
Dtcp.cpp81 std::unique_ptr<TcpTransport> TcpTransport::NewTransport(std::unique_ptr<Socket> socket, in NewTransport()
/system/weaved/buffet/
Dsocket_stream.cc160 void SocketStream::TlsConnect(std::unique_ptr<Stream> socket, in TlsConnect()
/system/connectivity/shill/net/
Drtnl_handler.cc428 int socket = sockets_->Socket(PF_INET, SOCK_DGRAM, 0); in GetInterfaceIndex() local
Dnetlink_manager.cc375 int socket = file_descriptor(); in GetFamily() local
/system/connectivity/shill/vpn/
Dopenvpn_management_server.cc85 int socket = sockets->Socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); in Start() local