Home
last modified time | relevance | path

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

/system/bt/vendor_libs/test_vendor_lib/model/devices/
Dserver_port_factory.cc37 socklen_t sockaddr_in_size = sizeof(struct sockaddr_in); in SetUp() local
38 memset(&listen_address, 0, sockaddr_in_size); in SetUp()
51 if (bind(listen_fd_, reinterpret_cast<sockaddr*>(&listen_address), sockaddr_in_size) < 0) { in SetUp()
78 socklen_t sockaddr_in_size = sizeof(struct sockaddr_in); in Accept() local
79 memset(&test_channel_address, 0, sockaddr_in_size); in Accept()
81 …pt_fd = accept(listen_fd_, reinterpret_cast<sockaddr*>(&test_channel_address), &sockaddr_in_size)); in Accept()
/system/bt/vendor_libs/test_vendor_lib/model/setup/
Dtest_channel_transport.cc34 socklen_t sockaddr_in_size = sizeof(struct sockaddr_in); in SetUp() local
35 memset(&listen_address, 0, sockaddr_in_size); 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_rootcanal_test.cc78 socklen_t sockaddr_in_size = sizeof(struct sockaddr_in); in FakeRootcanalDesktopHciServer() local
79 memset(&listen_address, 0, sockaddr_in_size); in FakeRootcanalDesktopHciServer()
91 if (bind(listen_fd_, reinterpret_cast<sockaddr*>(&listen_address), sockaddr_in_size) < 0) { in FakeRootcanalDesktopHciServer()