Searched refs:socket_get_local_port (Results 1 – 4 of 4) sorted by relevance
/system/core/libcutils/tests/ |
D | sockets_test.cpp | 104 EXPECT_EQ(port, socket_get_local_port(server)); in TEST() 111 EXPECT_EQ(-1, socket_get_local_port(INVALID_SOCKET)); in TEST() 118 "127.0.0.1", socket_get_local_port(server), SOCK_DGRAM); in TEST() 129 "127.0.0.1", socket_get_local_port(server), SOCK_STREAM); in TEST() 140 "::1", socket_get_local_port(server), SOCK_DGRAM); in TEST() 151 "::1", socket_get_local_port(server), SOCK_STREAM); in TEST() 174 "localhost", socket_get_local_port(server), SOCK_STREAM); in TEST()
|
/system/core/libcutils/ |
D | sockets.cpp | 38 int socket_get_local_port(cutils_socket_t sock) { in socket_get_local_port() function
|
/system/core/include/cutils/ |
D | sockets.h | 137 int socket_get_local_port(cutils_socket_t sock);
|
/system/core/fastboot/ |
D | socket.cpp | 70 return socket_get_local_port(sock_); in GetLocalPort()
|