Searched refs:fake_server_socket_ (Results 1 – 1 of 1) sorted by relevance
/system/bt/gd/hal/ |
D | hci_hal_host_rootcanal_test.cc | 146 …fake_server_socket_ = fake_server_->Accept(); // accept() after client is connected to avoid bloc… in SetUp() 154 close(fake_server_socket_); in TearDown() 160 int flags = fcntl(fake_server_socket_, F_GETFL, NULL); in SetFakeServerSocketToBlocking() 161 int ret = fcntl(fake_server_socket_, F_SETFL, flags & ~O_NONBLOCK); in SetFakeServerSocketToBlocking() 169 int fake_server_socket_ = -1; member in bluetooth::hal::__anonb60c79700111::HciHalRootcanalTest 240 write(fake_server_socket_, incoming_packet.data(), incoming_packet.size()); in TEST_F() 250 write(fake_server_socket_, incoming_packet.data(), incoming_packet.size()); in TEST_F() 260 write(fake_server_socket_, incoming_packet.data(), incoming_packet.size()); in TEST_F() 271 write(fake_server_socket_, incoming_packet.data(), incoming_packet.size()); in TEST_F() 272 write(fake_server_socket_, incoming_packet2.data(), incoming_packet2.size()); in TEST_F() [all …]
|