Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/gd/hal/
Dhci_hal_host_test.cc152fake_server_socket_ = fake_server_->Accept(); // accept() after client is connected to avoid bloc… in SetUp()
160 close(fake_server_socket_); in TearDown()
166 int flags = fcntl(fake_server_socket_, F_GETFL, NULL); in SetFakeServerSocketToBlocking()
167 int ret = fcntl(fake_server_socket_, F_SETFL, flags & ~O_NONBLOCK); in SetFakeServerSocketToBlocking()
175 int fake_server_socket_ = -1; member in bluetooth::hal::__anon175626240111::HciHalRootcanalTest
255 write(fake_server_socket_, incoming_packet.data(), incoming_packet.size()); in TEST_F()
265 write(fake_server_socket_, incoming_packet.data(), incoming_packet.size()); in TEST_F()
275 write(fake_server_socket_, incoming_packet.data(), incoming_packet.size()); in TEST_F()
285 write(fake_server_socket_, incoming_packet.data(), incoming_packet.size()); in TEST_F()
296 write(fake_server_socket_, incoming_packet.data(), incoming_packet.size()); in TEST_F()
[all …]