HomeSort by relevance Sort by last modified time
    Searched refs:transport_ (Results 1 - 25 of 41) sorted by null

1 2

  /external/webrtc/webrtc/p2p/base/
transport_unittest.cc 37 : transport_(new FakeTransport("test content name")), channel_(NULL) {}
39 transport_->DestroyAllChannels();
47 transport_->CreateChannel(component));
50 transport_->DestroyChannel(1);
55 rtc::scoped_ptr<FakeTransport> transport_; member in class:TransportTest
63 transport_->SetIceRole(cricket::ICEROLE_CONTROLLING);
64 transport_->SetIceTiebreaker(99U);
66 ASSERT_TRUE(transport_->SetLocalTransportDescription(local_desc,
69 EXPECT_EQ(cricket::ICEROLE_CONTROLLING, transport_->ice_role());
77 ASSERT_TRUE(transport_->SetRemoteTransportDescription(remote_desc
    [all...]
dtlstransportchannel_unittest.cc 68 ASSERT(!transport_);
72 transport_.reset(new cricket::DtlsTransport<cricket::FakeTransport>(
74 transport_->SetAsync(true);
75 transport_->SetIceRole(role);
76 transport_->SetIceTiebreaker(
82 transport_->CreateChannel(i));
99 cricket::Transport* transport() { return transport_.get(); }
102 cricket::TransportChannelImpl* ch = transport_->GetChannel(component);
176 ASSERT_TRUE(transport_->SetLocalTransportDescription(
178 ASSERT_EQ(expect_success, transport_->SetRemoteTransportDescription
382 rtc::scoped_ptr<cricket::FakeTransport> transport_; variable
    [all...]
  /external/webrtc/webrtc/call/
transport_adapter.cc 19 : transport_(transport), enabled_(0) {
29 return transport_->SendRtp(packet, length, options);
36 return transport_->SendRtcp(packet, length);
transport_adapter.h 33 Transport *transport_; member in class:webrtc::internal::TransportAdapter
  /system/bt/vendor_libs/test_vendor_lib/test/
hci_transport_unittest.cc 60 transport_.CloseHciFd();
69 transport_.CloseVendorFd();
79 transport_.CloseVendorFd();
86 HciTransport transport_; member in class:test_vendor_lib::HciTransportTest
93 ASSERT_TRUE(transport_.SetUp());
112 transport_.GetVendorFd(), true,
113 base::MessageLoopForIO::WATCH_READ_WRITE, &watcher_, &transport_));
118 transport_.RegisterCommandHandler(std::bind(
121 WriteStubCommand(transport_.GetHciFd());
127 transport_.RegisterCommandHandler(std::bind
    [all...]
  /external/webrtc/webrtc/voice_engine/
voice_engine_fixture.h 30 MockTransport transport_; member in class:webrtc::VoiceEngineFixture
voe_network_unittest.cc 38 EXPECT_EQ(0, network_->RegisterExternalTransport(channelID, transport_));
52 0, network_->RegisterExternalTransport(kNonExistingChannel, transport_));
  /system/bt/vendor_libs/test_vendor_lib/src/
vendor_manager.cc 60 if (!transport_.SetUp()) {
80 controller_.RegisterHandlersWithHciTransport(transport_);
83 std::bind(&HciTransport::PostDelayedEventResponse, &transport_,
109 transport_.GetVendorFd(), true,
111 &transport_)) {
142 transport_.CloseHciFd();
146 return transport_.GetHciFd();
  /external/webrtc/webrtc/voice_engine/test/auto_test/fixtures/
before_streaming_fixture.cc 15 transport_(NULL) {
31 delete transport_;
60 transport_->WaitForTransmittedPackets(packet_count);
64 transport_ = new LoopBackTransport(voe_network_, channel_);
65 EXPECT_EQ(0, voe_network_->RegisterExternalTransport(channel_, *transport_));
before_streaming_fixture.h 50 LoopBackTransport* transport_; member in class:BeforeStreamingFixture
  /external/libbrillo/brillo/http/
http_request_unittest.cc 45 transport_ = std::make_shared<MockTransport>();
46 connection_ = std::make_shared<MockConnection>(transport_);
59 testing::Mock::VerifyAndClearExpectations(transport_.get());
60 transport_.reset();
64 std::shared_ptr<MockTransport> transport_; member in class:brillo::http::HttpRequestTest
69 Request request{"http://www.foo.bar", request_type::kPost, transport_};
77 Request request2{"http://www.foo.bar/baz", request_type::kGet, transport_};
83 Request request{"http://www.foo.bar", request_type::kPost, transport_};
89 Request request{"http://www.foo.bar", request_type::kPost, transport_};
95 Request request{"http://www.foo.bar", request_type::kPost, transport_};
    [all...]
http_transport_curl_unittest.cc 33 transport_ = std::make_shared<Transport>(curl_api_);
47 transport_.reset();
53 std::shared_ptr<Transport> transport_; member in class:brillo::http::curl::HttpCurlTransportTest
69 auto connection = transport_->CreateConnection("http://foo.bar/get",
87 auto connection = transport_->CreateConnection(
101 auto connection = transport_->CreateConnection(
117 auto connection = transport_->CreateConnection(
137 auto connection = transport_->CreateConnection(
155 auto connection = transport_->CreateConnection(
168 transport_ = std::make_shared<Transport>(curl_api_)
182 std::shared_ptr<Transport> transport_; member in class:brillo::http::curl::HttpCurlTransportAsyncTest
    [all...]
http_request.cc 110 : transport_(transport), request_url_(url), method_(method) {
112 if (!transport_)
113 transport_ = http::Transport::CreateDefault();
121 DCHECK(transport_) << "Request already sent";
130 DCHECK(transport_) << "Request already sent";
140 transport_.reset(); // Indicate that the response has been received
148 transport_->RunCallbackAsync(
155 transport_.reset(); // Indicate that the request has been dispatched.
160 DCHECK(transport_) << "Request already sent";
169 DCHECK(transport_) << "Request already sent"
    [all...]
http_connection.h 47 : transport_(transport) {}
96 // |transport_| is mainly used to keep the object alive as long as the
99 std::shared_ptr<Transport> transport_; member in class:brillo::http::Connection
http_connection_fake.cc 45 fake::Transport* transport = static_cast<fake::Transport*>(transport_.get());
69 transport_->RunCallbackAsync(FROM_HERE, base::Bind(callback));
  /external/webrtc/webrtc/voice_engine/test/auto_test/standard/
rtp_rtcp_test.cc 66 transport_ = new LoopBackTransport(voe_network_, second_channel_);
68 *transport_));
82 delete transport_;
86 LoopBackTransport* transport_; member in class:RtpRtcpTest
mixing_test.cc 38 transport_ = new LoopBackTransport(voe_network_, 0);
41 delete transport_;
184 EXPECT_EQ(0, voe_network_->RegisterExternalTransport(stream, *transport_));
187 transport_->AddChannel(stream, stream);
219 LoopBackTransport* transport_; member in class:webrtc::MixingTest
  /system/weaved/buffet/
http_transport_client.h 44 std::shared_ptr<brillo::http::Transport> transport_; member in class:buffet::HttpTransportClient
http_transport_client.cc 76 : transport_{brillo::http::Transport::CreateDefault()} {
77 transport_->SetDefaultTimeout(
88 brillo::http::Request request(url, weave::EnumToString(method), transport_);
97 transport_->RunCallbackAsync(
  /system/core/fastboot/
tcp_test.cpp 103 transport_ = tcp::internal::Connect(std::unique_ptr<Socket>(mock_), &error);
104 ASSERT_NE(nullptr, transport_);
108 // Writes |message| to |transport_|, returns true on success.
110 return transport_->Write(message.data(), message.length()) ==
114 // Reads from |transport_|, returns true if it matches |message|.
117 return transport_->Read(&buffer[0], buffer.length()) ==
125 std::unique_ptr<Transport> transport_; member in class:TcpTest
202 EXPECT_EQ(-1, transport_->Read(buffer, sizeof(buffer)));
210 EXPECT_EQ(-1, transport_->Read(buffer, sizeof(buffer)));
216 EXPECT_EQ(-1, transport_->Write("foo", 3))
    [all...]
  /system/bt/vendor_libs/test_vendor_lib/include/
vendor_manager.h 83 HciTransport transport_; member in class:test_vendor_lib::VendorManager
  /external/webrtc/webrtc/modules/rtp_rtcp/source/
nack_rtx_unittest.cc 172 transport_(kTestSsrc + 1),
184 configuration.outgoing_transport = &transport_;
200 transport_.SetSendModule(rtp_rtcp_module_, &rtp_payload_registry_,
251 transport_.expected_sequence_numbers_.size() &&
253 transport_.expected_sequence_numbers_.begin());
260 transport_.DropEveryNthPacket(loss);
287 RtxLoopBackTransport transport_; member in class:webrtc::RtpRtcpRtxNackTest
305 transport_.DropConsecutivePackets(2, kNumPacketsToDrop);
317 EXPECT_FALSE(transport_.expected_sequence_numbers_.empty());
338 EXPECT_EQ(kTestNumberOfRtxPackets, transport_.count_rtx_ssrc_)
    [all...]
rtp_sender_unittest.cc 126 transport_(),
135 rtp_sender_.reset(new RTPSender(false, &fake_clock_, &transport_, nullptr,
146 LoopbackTransportTest transport_; member in class:webrtc::RtpSenderTest
652 EXPECT_EQ(0, transport_.packets_sent_);
660 EXPECT_EQ(1, transport_.packets_sent_);
661 EXPECT_EQ(rtp_length, transport_.last_sent_packet_len_);
663 webrtc::RtpUtility::RtpHeaderParser rtp_parser(transport_.last_sent_packet_,
704 EXPECT_EQ(0, transport_.packets_sent_);
714 EXPECT_EQ(0, transport_.packets_sent_);
719 EXPECT_EQ(1, transport_.packets_sent_)
    [all...]
rtp_rtcp_impl_unittest.cc 106 config.outgoing_transport = &transport_;
114 transport_.SimulateNetworkDelay(kOneWayNetworkDelayMs, clock);
120 SendTransport transport_; member in class:webrtc::__anon27997::RtpRtcpModule
146 return transport_.rtp_packets_sent_;
149 return transport_.last_rtp_header_.sequenceNumber;
152 return transport_.last_nack_list_;
187 sender_.transport_.SetRtpRtcpModule(receiver_.impl_.get());
188 receiver_.transport_.SetRtpRtcpModule(sender_.impl_.get());
355 sender_.transport_.SimulateNetworkDelay(0, &clock_);
356 receiver_.transport_.SimulateNetworkDelay(0, &clock_)
    [all...]
  /external/webrtc/webrtc/modules/rtp_rtcp/test/testAPI/
test_api_video.cc 44 transport_ = new LoopBackTransport();
50 configuration.outgoing_transport = transport_;
62 transport_->SetSendModule(video_module_, &rtp_payload_registry_,
125 delete transport_;
134 LoopBackTransport* transport_; member in class:webrtc::RtpRtcpVideoTest

Completed in 3226 milliseconds

1 2