Home
last modified time | relevance | path

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

12

/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.cpp271 for (const auto& socket : sockets_) { in Reap() local
357 for (const auto& socket : sockets_) { in DumpState() local
490 for (const auto& socket : sockets_) { in Start() local
Dsnapuserd_transition.cpp71 auto socket = socket_desc.Create(kSnapuserdSocketLabel); in LaunchFirstStageSnapuserd() local
Dproperty_service.cpp257 SocketConnection(int socket, const ucred& cred) : socket_(socket), cred_(cred) {} in SocketConnection()
390 SocketConnection* socket, std::string* error) { in SendControlMessage()
482 SocketConnection* socket, std::string* error) { in HandlePropertySet()
542 SocketConnection socket(s, cr); in handle_property_set_fd() local
Dservice_parser.cpp413 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.cc58 socket_t* socket; member
132 socket_t* socket = NULL; in sco_socket_establish_locked() local
307 static void socket_read_ready_cb(UNUSED_ATTR socket_t* socket, void* context) { in socket_read_ready_cb()
/system/bt/test/stub/
Dosi.cc430 bool socket_listen(const socket_t* socket, port_t port) { in socket_listen()
434 socket_t* socket_accept(const socket_t* socket) { in socket_accept()
446 ssize_t socket_bytes_available(const socket_t* socket) { in socket_bytes_available()
450 ssize_t socket_read(const socket_t* socket, void* buf, size_t count) { in socket_read()
454 ssize_t socket_write(const socket_t* socket, const void* buf, size_t count) { in socket_write()
458 ssize_t socket_write_and_transfer_fd(const socket_t* socket, const void* buf, in socket_write_and_transfer_fd()
463 void socket_free(socket_t* socket) { mock_function_count_map[__func__]++; } in socket_free()
464 void socket_register(socket_t* socket, reactor_t* reactor, void* context, in socket_register()
468 void socket_unregister(socket_t* socket) { in socket_unregister()
/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/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/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/5/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/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/server/aidl_api/netd_aidl_interface/7/android/net/
DINetd.aidl61 void ipSecSetEncapSocketOwner(in ParcelFileDescriptor socket, int newUid); in ipSecSetEncapSocketOwner()
65 …void ipSecApplyTransportModeTransform(in ParcelFileDescriptor socket, int transformId, int directi… in ipSecApplyTransportModeTransform()
66 void ipSecRemoveTransportModeTransform(in ParcelFileDescriptor socket); in ipSecRemoveTransportModeTransform()
/system/netd/server/aidl_api/netd_aidl_interface/6/android/net/
DINetd.aidl61 void ipSecSetEncapSocketOwner(in ParcelFileDescriptor socket, int newUid); in ipSecSetEncapSocketOwner()
65 …void ipSecApplyTransportModeTransform(in ParcelFileDescriptor socket, int transformId, int directi… in ipSecApplyTransportModeTransform()
66 void ipSecRemoveTransportModeTransform(in ParcelFileDescriptor socket); in ipSecRemoveTransportModeTransform()
/system/netd/server/binder/android/net/
DINetd.aidl250 void ipSecSetEncapSocketOwner(in ParcelFileDescriptor socket, int newUid); in ipSecSetEncapSocketOwner()
344 in ParcelFileDescriptor socket, in ipSecApplyTransportModeTransform()
358 in ParcelFileDescriptor socket); in ipSecRemoveTransportModeTransform()
/system/netd/server/aidl_api/netd_aidl_interface/current/android/net/
DINetd.aidl61 void ipSecSetEncapSocketOwner(in ParcelFileDescriptor socket, int newUid); in ipSecSetEncapSocketOwner()
65 …void ipSecApplyTransportModeTransform(in ParcelFileDescriptor socket, int transformId, int directi… in ipSecApplyTransportModeTransform()
66 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

12