Home
last modified time | relevance | path

Searched refs:cutils_socket_t (Results 1 – 9 of 9) sorted by relevance

/aosp14/system/core/libcutils/
H A Dsockets_test.cpp34 static void TestConnectedSockets(cutils_socket_t server, cutils_socket_t client, in TestConnectedSockets()
78 cutils_socket_t server; in TEST()
99 cutils_socket_t server = socket_inaddr_any_server(0, SOCK_DGRAM); in TEST()
100 cutils_socket_t client = socket_network_client( in TEST()
108 cutils_socket_t server = socket_inaddr_any_server(0, SOCK_STREAM); in TEST()
111 cutils_socket_t client = socket_network_client( in TEST()
113 cutils_socket_t handler = accept(server, nullptr, nullptr); in TEST()
121 cutils_socket_t server = socket_inaddr_any_server(0, SOCK_DGRAM); in TEST()
122 cutils_socket_t client = socket_network_client( in TEST()
133 cutils_socket_t client = socket_network_client( in TEST()
[all …]
H A Dsockets_windows.cpp53 int socket_close(cutils_socket_t sock) { in socket_close()
57 ssize_t socket_send_buffers(cutils_socket_t sock, in socket_send_buffers()
H A Dsockets.cpp34 int socket_get_local_port(cutils_socket_t sock) { in socket_get_local_port()
H A Dsockets_unix.cpp34 ssize_t socket_send_buffers(cutils_socket_t sock, in socket_send_buffers()
/aosp14/system/core/libcutils/include/cutils/
H A Dsockets.h32 typedef SOCKET cutils_socket_t; typedef
39 typedef int cutils_socket_t; typedef
87 cutils_socket_t socket_network_client(const char* host, int port, int type);
95 cutils_socket_t socket_inaddr_any_server(int port, int type);
103 int socket_close(cutils_socket_t sock);
108 int socket_get_local_port(cutils_socket_t sock);
131 ssize_t socket_send_buffers(cutils_socket_t sock,
/aosp14/system/core/libcutils/include_outside_system/cutils/
H A Dsockets.h32 typedef SOCKET cutils_socket_t; typedef
39 typedef int cutils_socket_t; typedef
87 cutils_socket_t socket_network_client(const char* host, int port, int type);
95 cutils_socket_t socket_inaddr_any_server(int port, int type);
103 int socket_close(cutils_socket_t sock);
108 int socket_get_local_port(cutils_socket_t sock);
131 ssize_t socket_send_buffers(cutils_socket_t sock,
/aosp14/system/core/fastboot/
H A Dsocket.cpp38 Socket::Socket(cutils_socket_t sock) : sock_(sock) {} in Socket()
118 UdpSocket(Type type, cutils_socket_t sock);
131 UdpSocket::UdpSocket(Type type, cutils_socket_t sock) : Socket(sock) { in UdpSocket()
176 explicit TcpSocket(cutils_socket_t sock) : Socket(sock) {} in TcpSocket()
245 cutils_socket_t handler = accept(sock_, nullptr, nullptr); in Accept()
255 cutils_socket_t sock = socket_network_client(host.c_str(), port, SOCK_DGRAM); in NewClient()
260 cutils_socket_t sock = socket_network_client(host.c_str(), port, SOCK_STREAM); in NewClient()
275 cutils_socket_t sock = socket_inaddr_any_server(port, SOCK_DGRAM); in NewServer()
280 cutils_socket_t sock = socket_inaddr_any_server(port, SOCK_STREAM); in NewServer()
H A Dsocket.h106 explicit Socket(cutils_socket_t sock);
113 cutils_socket_t sock_ = INVALID_SOCKET;
118 std::function<ssize_t(cutils_socket_t, cutils_socket_buffer_t*, size_t)>
H A Dsocket_test.cpp185 cutils_socket_t /*cutils_sock*/, cutils_socket_buffer_t* sent_buffers, in TEST()
244 cutils_socket_t /*cutils_sock*/, cutils_socket_buffer_t* buffers, in TEST()