Searched refs:listen_address (Results 1 – 3 of 3) sorted by relevance
/system/bt/vendor_libs/test_vendor_lib/model/devices/ |
D | server_port_factory.cc | 36 struct sockaddr_in listen_address; in SetUp() local 38 memset(&listen_address, 0, sockaddr_in_size); in SetUp() 47 listen_address.sin_family = AF_INET; in SetUp() 48 listen_address.sin_port = htons(port); in SetUp() 49 listen_address.sin_addr.s_addr = htonl(INADDR_ANY); in SetUp() 51 if (bind(listen_fd_, reinterpret_cast<sockaddr*>(&listen_address), sockaddr_in_size) < 0) { in SetUp()
|
/system/bt/vendor_libs/test_vendor_lib/model/setup/ |
D | test_channel_transport.cc | 33 struct sockaddr_in listen_address {}; in SetUp() struct 35 memset(&listen_address, 0, sockaddr_in_size); in SetUp() 49 listen_address.sin_family = AF_INET; in SetUp() 50 listen_address.sin_port = htons(port); in SetUp() 51 listen_address.sin_addr.s_addr = htonl(INADDR_ANY); in SetUp() 53 if (bind(listen_fd_, reinterpret_cast<sockaddr*>(&listen_address), sockaddr_in_size) < 0) { in SetUp()
|
/system/bt/gd/hal/ |
D | hci_hal_host_test.cc | 82 struct sockaddr_in listen_address; in FakeRootcanalDesktopHciServer() local 84 memset(&listen_address, 0, sockaddr_in_size); in FakeRootcanalDesktopHciServer() 92 listen_address.sin_family = AF_INET; in FakeRootcanalDesktopHciServer() 93 listen_address.sin_port = htons(HciHalHostRootcanalConfig::Get()->GetPort()); in FakeRootcanalDesktopHciServer() 94 listen_address.sin_addr.s_addr = htonl(INADDR_ANY); in FakeRootcanalDesktopHciServer() 96 if (bind(listen_fd_, reinterpret_cast<sockaddr*>(&listen_address), sockaddr_in_size) < 0) { in FakeRootcanalDesktopHciServer()
|