Home
last modified time | relevance | path

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

/system/bt/osi/src/
Dsocket.cc84 void socket_free(socket_t* socket) { in socket_free()
92 bool socket_listen(const socket_t* socket, port_t port) { in socket_listen()
114 socket_t* socket_accept(const socket_t* socket) { in socket_accept()
130 ssize_t socket_read(const socket_t* socket, void* buf, size_t count) { in socket_read()
140 ssize_t socket_write(const socket_t* socket, const void* buf, size_t count) { in socket_write()
150 ssize_t socket_write_and_transfer_fd(const socket_t* socket, const void* buf, in socket_write_and_transfer_fd()
184 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, in socket_register()
210 void socket_unregister(socket_t* socket) { in socket_unregister()
220 socket_t* socket = static_cast<socket_t*>(context); in internal_read_ready() local
[all …]
/system/core/libsysutils/src/
DNetlinkListener.cpp36 NetlinkListener::NetlinkListener(int socket) : in NetlinkListener()
42 NetlinkListener::NetlinkListener(int socket, int format) : in NetlinkListener()
48 int socket = cli->getSocket(); in onDataAvailable() local
DSocketClient.cpp35 SocketClient::SocketClient(int socket, bool owned) { in SocketClient()
39 SocketClient::SocketClient(int socket, bool owned, bool useCmdNum) { in SocketClient()
43 void SocketClient::init(int socket, bool owned, bool useCmdNum) { in init()
/system/core/init/
Dproto_utils.h31 inline Result<std::string> ReadMessage(int socket) { in ReadMessage()
43 Result<void> SendMessage(int socket, const T& message) { in SendMessage()
Dservice.cpp274 for (const auto& socket : sockets_) { in Reap() local
354 for (const auto& socket : sockets_) { in DumpState() local
483 for (const auto& socket : sockets_) { in Start() local
Dproperty_service.cpp249 SocketConnection(int socket, const ucred& cred) : socket_(socket), cred_(cred) {} in SocketConnection()
382 SocketConnection* socket, std::string* error) { in SendControlMessage()
474 SocketConnection* socket, std::string* error) { in HandlePropertySet()
534 SocketConnection socket(s, cr); in handle_property_set_fd() local
Dservice_parser.cpp380 SocketDescriptor socket; in ParseSocket() local
/system/core/libcutils/
Duevent.cpp35 ssize_t uevent_kernel_multicast_recv(int socket, void* buffer, size_t length) { in uevent_kernel_multicast_recv()
49 ssize_t uevent_kernel_multicast_uid_recv(int socket, void* buffer, size_t length, uid_t* uid) { in uevent_kernel_multicast_uid_recv()
53 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.cc46 socket_t* socket; member
130 static void accept_ready(socket_t* socket, UNUSED_ATTR void* context) { in accept_ready()
150 static void read_ready(UNUSED_ATTR socket_t* socket, void* context) { in read_ready()
/system/bt/btif/src/
Dbtif_sock_sco.cc63 socket_t* socket; member
137 socket_t* socket = NULL; in sco_socket_establish_locked() local
312 static void socket_read_ready_cb(UNUSED_ATTR socket_t* socket, void* context) { in socket_read_ready_cb()
/system/core/fastboot/
Dudp.cpp115 explicit UdpTransport(std::unique_ptr<Socket> socket) : socket_(std::move(socket)) {} in UdpTransport()
142 std::unique_ptr<UdpTransport> UdpTransport::NewTransport(std::unique_ptr<Socket> socket, in NewTransport()
Dtcp.cpp82 std::unique_ptr<TcpTransport> TcpTransport::NewTransport(std::unique_ptr<Socket> socket, in NewTransport()
/system/nvram/hal/
Dfake_nvram.cpp115 bool ProcessCommand(int socket, nvram::NvramManager* nvram_manager) { in ProcessCommand()
/system/core/adb/daemon/
Djdwp_service.cpp183 borrowed_fd socket = -1; member
259 static void jdwp_process_event(int socket, unsigned events, void* _proc) { in jdwp_process_event()
/system/core/adb/
Dtransport.cpp600 asocket socket; member
624 static void device_tracker_close(asocket* socket) { in device_tracker_close()
637 static int device_tracker_enqueue(asocket* socket, apacket::payload_type) { in device_tracker_enqueue()
655 static void device_tracker_ready(asocket* socket) { in device_tracker_ready()
Dsysdeps_win32.cpp128 SOCKET socket; member
/system/netd/server/aidl_api/netd_aidl_interface/1/android/net/
DINetd.aidl21 void ipSecSetEncapSocketOwner(in ParcelFileDescriptor socket, int newUid); in ipSecSetEncapSocketOwner()
25 …void ipSecApplyTransportModeTransform(in ParcelFileDescriptor socket, int transformId, int directi… in ipSecApplyTransportModeTransform()
26 void ipSecRemoveTransportModeTransform(in ParcelFileDescriptor socket); in ipSecRemoveTransportModeTransform()
/system/netd/server/aidl_api/netd_aidl_interface/current/android/net/
DINetd.aidl39 void ipSecSetEncapSocketOwner(in ParcelFileDescriptor socket, int newUid); in ipSecSetEncapSocketOwner()
43 …void ipSecApplyTransportModeTransform(in ParcelFileDescriptor socket, int transformId, int directi… in ipSecApplyTransportModeTransform()
44 void ipSecRemoveTransportModeTransform(in ParcelFileDescriptor socket); in ipSecRemoveTransportModeTransform()
/system/netd/server/binder/android/net/
DINetd.aidl246 void ipSecSetEncapSocketOwner(in ParcelFileDescriptor socket, int newUid); in ipSecSetEncapSocketOwner()
340 in ParcelFileDescriptor socket, in ipSecApplyTransportModeTransform()
354 in ParcelFileDescriptor socket); in ipSecRemoveTransportModeTransform()
/system/netd/server/aidl_api/netd_aidl_interface/4/android/net/
DINetd.aidl39 void ipSecSetEncapSocketOwner(in ParcelFileDescriptor socket, int newUid); in ipSecSetEncapSocketOwner()
43 …void ipSecApplyTransportModeTransform(in ParcelFileDescriptor socket, int transformId, int directi… in ipSecApplyTransportModeTransform()
44 void ipSecRemoveTransportModeTransform(in ParcelFileDescriptor socket); in ipSecRemoveTransportModeTransform()
/system/netd/server/aidl_api/netd_aidl_interface/2/android/net/
DINetd.aidl38 void ipSecSetEncapSocketOwner(in ParcelFileDescriptor socket, int newUid); in ipSecSetEncapSocketOwner()
42 …void ipSecApplyTransportModeTransform(in ParcelFileDescriptor socket, int transformId, int directi… in ipSecApplyTransportModeTransform()
43 void ipSecRemoveTransportModeTransform(in ParcelFileDescriptor socket); in ipSecRemoveTransportModeTransform()
/system/netd/server/aidl_api/netd_aidl_interface/3/android/net/
DINetd.aidl39 void ipSecSetEncapSocketOwner(in ParcelFileDescriptor socket, int newUid); in ipSecSetEncapSocketOwner()
43 …void ipSecApplyTransportModeTransform(in ParcelFileDescriptor socket, int transformId, int directi… in ipSecApplyTransportModeTransform()
44 void ipSecRemoveTransportModeTransform(in ParcelFileDescriptor socket); in ipSecRemoveTransportModeTransform()
/system/netd/libnetdutils/
DSyscalls.cpp52 StatusOr<UniqueFd> socket(int domain, int type, int protocol) const override { in socket() function in android::netdutils::RealSyscalls
/system/bt/gd/hal/
Dhci_hal_host_rootcanal_test.cc226 size_t read_with_retry(int socket, uint8_t* data, size_t length) { in read_with_retry()
/system/netd/server/
DNetdNativeService.cpp597 binder::Status NetdNativeService::ipSecSetEncapSocketOwner(const ParcelFileDescriptor& socket, in ipSecSetEncapSocketOwner()
650 const ParcelFileDescriptor& socket, int32_t transformId, int32_t direction, in ipSecApplyTransportModeTransform()
659 const ParcelFileDescriptor& socket) { in ipSecRemoveTransportModeTransform()