Searched refs:cutils_socket_t (Results 1 – 9 of 9) sorted by relevance
/system/core/libcutils/ |
D | sockets_test.cpp | 34 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() 130 cutils_socket_t server = socket_inaddr_any_server(0, SOCK_STREAM); in TEST() [all …]
|
D | sockets_windows.cpp | 53 int socket_close(cutils_socket_t sock) { in socket_close() 57 ssize_t socket_send_buffers(cutils_socket_t sock, in socket_send_buffers()
|
D | sockets.cpp | 34 int socket_get_local_port(cutils_socket_t sock) { in socket_get_local_port()
|
D | sockets_unix.cpp | 34 ssize_t socket_send_buffers(cutils_socket_t sock, in socket_send_buffers()
|
/system/core/libcutils/include/cutils/ |
D | sockets.h | 32 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,
|
/system/core/libcutils/include_vndk/cutils/ |
D | sockets.h | 32 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,
|
/system/core/fastboot/ |
D | socket.cpp | 34 Socket::Socket(cutils_socket_t sock) : sock_(sock) {} in Socket() 114 UdpSocket(Type type, cutils_socket_t sock); 127 UdpSocket::UdpSocket(Type type, cutils_socket_t sock) : Socket(sock) { in UdpSocket() 172 explicit TcpSocket(cutils_socket_t sock) : Socket(sock) {} in TcpSocket() 241 cutils_socket_t handler = accept(sock_, nullptr, nullptr); in Accept() 251 cutils_socket_t sock = socket_network_client(host.c_str(), port, SOCK_DGRAM); in NewClient() 256 cutils_socket_t sock = socket_network_client(host.c_str(), port, SOCK_STREAM); in NewClient() 271 cutils_socket_t sock = socket_inaddr_any_server(port, SOCK_DGRAM); in NewServer() 276 cutils_socket_t sock = socket_inaddr_any_server(port, SOCK_STREAM); in NewServer()
|
D | socket.h | 106 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)>
|
D | socket_test.cpp | 185 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()
|