Searched refs:transport_ (Results 1 – 7 of 7) sorted by relevance
/system/bt/vendor_libs/test_vendor_lib/test/ |
D | hci_transport_unittest.cc | 60 transport_.CloseHciFd(); in ~HciTransportTest() 69 transport_.CloseVendorFd(); in CommandCallback() 79 transport_.CloseVendorFd(); in MultiCommandCallback() 86 HciTransport transport_; member in test_vendor_lib::HciTransportTest 93 ASSERT_TRUE(transport_.SetUp()); in SetUpTransport() 112 transport_.GetVendorFd(), true, in StartWatchingOnThread() 113 base::MessageLoopForIO::WATCH_READ_WRITE, &watcher_, &transport_)); in StartWatchingOnThread() 118 transport_.RegisterCommandHandler(std::bind( in TEST_F() 121 WriteStubCommand(transport_.GetHciFd()); in TEST_F() 127 transport_.RegisterCommandHandler(std::bind( in TEST_F() [all …]
|
/system/bt/vendor_libs/test_vendor_lib/src/ |
D | vendor_manager.cc | 60 if (!transport_.SetUp()) { in Run() 80 controller_.RegisterHandlersWithHciTransport(transport_); in Run() 83 std::bind(&HciTransport::PostDelayedEventResponse, &transport_, in Run() 109 transport_.GetVendorFd(), true, in StartWatchingOnThread() 111 &transport_)) { in StartWatchingOnThread() 142 transport_.CloseHciFd(); in CloseHciFd() 146 return transport_.GetHciFd(); in GetHciFd()
|
/system/core/fastboot/ |
D | tcp_test.cpp | 103 transport_ = tcp::internal::Connect(std::unique_ptr<Socket>(mock_), &error); in SetUp() 104 ASSERT_NE(nullptr, transport_); in SetUp() 110 return transport_->Write(message.data(), message.length()) == in Write() 117 return transport_->Read(&buffer[0], buffer.length()) == in Read() 125 std::unique_ptr<Transport> transport_; member in TcpTest 202 EXPECT_EQ(-1, transport_->Read(buffer, sizeof(buffer))); in TEST_F() 210 EXPECT_EQ(-1, transport_->Read(buffer, sizeof(buffer))); in TEST_F() 216 EXPECT_EQ(-1, transport_->Write("foo", 3)); in TEST_F() 220 EXPECT_EQ(0, transport_->Close()); in TEST_F() 225 EXPECT_EQ(-1, transport_->Read(buffer, sizeof(buffer))); in TEST_F() [all …]
|
D | udp_test.cpp | 323 transport_ = Connect(std::unique_ptr<Socket>(mock_socket_), &error); in InitializeTransport() 324 return transport_ != nullptr && error.empty(); in InitializeTransport() 329 return transport_->Write(message.data(), message.length()) == in Write() 336 return transport_->Read(&buffer[0], buffer.length()) == in Read() 344 std::unique_ptr<Transport> transport_; member in UdpTest 495 EXPECT_EQ(-1, transport_->Read(buffer, 3)); in TEST_F() 528 EXPECT_EQ(0, transport_->Close()); in TEST_F() 529 EXPECT_EQ(-1, transport_->Write("foo", 3)); in TEST_F() 530 EXPECT_EQ(-1, transport_->Read(buffer, sizeof(buffer))); in TEST_F()
|
/system/weaved/buffet/ |
D | http_transport_client.cc | 76 : transport_{brillo::http::Transport::CreateDefault()} { in HttpTransportClient() 77 transport_->SetDefaultTimeout( 88 brillo::http::Request request(url, weave::EnumToString(method), transport_); in SendRequest() 97 transport_->RunCallbackAsync( in SendRequest()
|
D | http_transport_client.h | 44 std::shared_ptr<brillo::http::Transport> transport_;
|
/system/bt/vendor_libs/test_vendor_lib/include/ |
D | vendor_manager.h | 83 HciTransport transport_; variable
|