Home
last modified time | relevance | path

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

1234

/hardware/google/aemu/base/include/aemu/base/sockets/
DSocketUtils.h28 void socketClose(int socket);
34 ssize_t socketRecv(int socket, void* buffer, size_t bufferLen);
41 ssize_t socketSend(int socket, const void* buffer, size_t bufferLen);
45 bool socketSendAll(int socket, const void* buffer, size_t bufferLen);
49 bool socketRecvAll(int socket, void* buffer, size_t bufferLen);
52 void socketShutdownWrites(int socket);
55 void socketShutdownReads(int socket);
58 void socketSetNonBlocking(int socket);
61 void socketSetBlocking(int socket);
64 void socketSetNoDelay(int socket);
[all …]
DScopedSocket.h27 constexpr ScopedSocket(int socket) : mSocket(socket) {} in ScopedSocket() argument
52 void reset(int socket) { in reset() argument
54 mSocket = socket; in reset()
/hardware/google/gfxstream/guest/mesa/src/util/
Dos_socket.c23 int s = socket(AF_UNIX, SOCK_STREAM, 0); in os_socket_listen_abstract()
56 os_socket_recv(int socket, void *buffer, size_t length, int flags) in os_socket_recv() argument
58 return recv(socket, buffer, length, flags); in os_socket_recv()
62 os_socket_send(int socket, const void *buffer, size_t length, int flags) in os_socket_send() argument
64 return send(socket, buffer, length, flags); in os_socket_send()
104 os_socket_recv(int socket, void *buffer, size_t length, int flags) in os_socket_recv() argument
111 os_socket_send(int socket, const void *buffer, size_t length, int flags) in os_socket_send() argument
Dos_socket.h28 ssize_t os_socket_recv(int socket, void *buffer, size_t length, int flags);
29 ssize_t os_socket_send(int socket, const void *buffer, size_t length, int flags);
/hardware/ril/libril/
DRilSapSocket.cpp89 RLOGD("SocketName:%s",current->socket->name); in printList()
90 RLOGD("Socket id:%d",current->socket->id); in printList()
103 if(socketId == current->socket->id) { in getSocketById()
104 sap_socket = current->socket; in getSocketById()
148 RilSapSocket* socket = NULL; in addSocketToList() local
152 socket = new RilSapSocket(socketName, socketid, uimFuncs); in addSocketToList()
156 delete socket; in addSocketToList()
159 listItem->socket = socket; in addSocketToList()
162 RLOGD("Adding socket with id: %d", socket->id); in addSocketToList()
182 if(strcmp(current->socket->name, socketName) == 0) { in SocketExists()
DRilSapSocket.h105 RilSapSocket* socket; member
/hardware/google/gfxstream/guest/mesa/src/vulkan/overlay-layer/
Dmesa-overlay-control.py3 import socket
22 sock = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM)
25 except socket.error as msg:
153 if args.socket:
154 address = '\0' + args.socket
DREADME.rst54 Logging is enabled for the entire lifecycle of the process unless a control socket is specified (se…
65 The command above will open a Unix socket with the abstract path :code:`mesa_overlay`. When a contr…
66 logging must be explicitly enabled through the control socket. :code:`mesa-overlay-control.py` prov…
79 The Unix socket may be used directly if needed. Once a client connects to the socket, the overlay l…
/hardware/google/aemu/base/include/aemu/base/async/
DAsyncSocketAdapter.h27 virtual void onRead(AsyncSocketAdapter* socket) = 0;
30 virtual void onClose(AsyncSocketAdapter* socket, int err) = 0;
33 virtual void onConnected(AsyncSocketAdapter* socket) = 0;
/hardware/google/gfxstream/guest/vulkan/
Dgfxstream_vk_fuchsia.cpp22 zx::socket g_log_socket = zx::socket(ZX_HANDLE_INVALID);
154 auto log_socket = ([]() -> std::optional<zx::socket> { in InitLogger()
159 zx::socket local_socket, remote_socket; in InitLogger()
160 zx_status_t status = zx::socket::create(ZX_SOCKET_DATAGRAM, &local_socket, &remote_socket); in InitLogger()
/hardware/interfaces/automotive/can/1.0/default/
DCanSocket.cpp39 auto sock = netdevice::can::socket(ifname); in open()
49 CanSocket::CanSocket(base::unique_fd socket, ReadCallback rdcb, ErrorCallback errcb) in CanSocket() argument
52 mSocket(std::move(socket)), in CanSocket()
DCanSocket.h56 CanSocket(base::unique_fd socket, ReadCallback rdcb, ErrorCallback errcb);
/hardware/interfaces/automotive/can/1.0/default/libnetdevice/
Dcan.cpp36 base::unique_fd socket(const std::string& ifname) { in socket() function
45 base::unique_fd sock(::socket(PF_CAN, SOCK_RAW, CAN_RAW)); in socket()
/hardware/interfaces/configstore/1.1/default/seccomp_policy/
Dconfigstore@1.1-arm64.policy53 # socket: arg0 == AF_LOCAL
54 socket: arg0 == 1
/hardware/interfaces/automotive/can/1.0/default/libnetdevice/include/libnetdevice/
Dcan.h31 base::unique_fd socket(const std::string& ifname);
/hardware/qcom/sm8150/display/composer/
Dandroid.hardware.graphics.composer@2.4-service-sm8150.rc7 socket pps stream 0660 system system
/hardware/google/pixel-sepolicy/power-libperfmgr/
Dfile_contexts5 /dev/socket/pps u:object_r:pps_so…
/hardware/qcom/sm7250/display/composer/
Dvendor.qti.hardware.display.composer-service.rc7 socket pps stream 0660 system system
/hardware/interfaces/automotive/can/1.0/default/libnl++/
DSocket.cpp31 mFd.reset(socket(AF_NETLINK, SOCK_RAW, protocol)); in Socket()
204 Socket::receive_iterator::receive_iterator(Socket& socket, bool end) in receive_iterator() argument
205 : mSocket(socket), mIsEnd(end) { in receive_iterator()
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-interface/inc/
Dmm_camera_sock.h34 #define SOCKET_H <SYSTEM_HEADER_PREFIX/socket.h>
/hardware/interfaces/tetheroffload/control/1.0/vts/functional/
DOffloadControlTestUtils.cpp27 unique_fd s(socket(AF_NETLINK, SOCK_DGRAM, NETLINK_NETFILTER)); in conntrackSocket()
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/src/
DIPACM_Log.cpp57 if ((*sockfd = socket(AF_UNIX, SOCK_DGRAM, 0)) == IPACM_FAILURE) in create_socket()
/hardware/qcom/sm8150/data/ipacfg-mgr/ipacm/src/
DIPACM_Log.cpp57 if ((*sockfd = socket(AF_UNIX, SOCK_DGRAM, 0)) == IPACM_FAILURE) in create_socket()
/hardware/interfaces/bluetooth/aidl/default/
Dnet_bluetooth_mgmt.cpp104 int fd = socket(PF_BLUETOOTH, SOCK_RAW, BTPROTO_HCI); in waitHciDev()
273 int fd = socket(AF_BLUETOOTH, SOCK_RAW, BTPROTO_HCI); in openHci()
/hardware/interfaces/tv/tuner/aidl/vts/functional/utils/
DIpStreamer.cpp27 mSockfd = socket(AF_INET, SOCK_DGRAM, 0); in ipStreamThreadLoop()

1234