Home
last modified time | relevance | path

Searched refs:listen_address (Results 1 – 3 of 3) sorted by relevance

/system/bt/vendor_libs/test_vendor_lib/model/devices/
Dserver_port_factory.cc36 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/
Dtest_channel_transport.cc33 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/
Dhci_hal_host_test.cc82 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()