Searched refs:sockaddr_in_size (Results 1 – 3 of 3) sorted by relevance
/system/bt/vendor_libs/test_vendor_lib/model/devices/ |
D | server_port_factory.cc | 37 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/ |
D | test_channel_transport.cc | 34 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/ |
D | hci_hal_host_rootcanal_test.cc | 78 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()
|