Home
last modified time | relevance | path

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

/external/webrtc/talk/app/webrtc/
Dpeerconnectionfactory_unittest.cc114 port_allocator_.reset( in SetUp()
116 raw_port_allocator_ = port_allocator_.get(); in SetUp()
143 rtc::scoped_ptr<cricket::FakePortAllocator> port_allocator_; member in PeerConnectionFactoryTest
186 config, nullptr, std::move(port_allocator_), in TEST_F()
216 config, nullptr, std::move(port_allocator_), in TEST_F()
245 config, nullptr, std::move(port_allocator_), in TEST_F()
266 config, nullptr, std::move(port_allocator_), in TEST_F()
291 config, nullptr, std::move(port_allocator_), in TEST_F()
326 config, nullptr, std::move(port_allocator_), in TEST_F()
Dpeerconnectioninterface_unittest.cc554 port_allocator_ = port_allocator.get(); in CreatePeerConnection()
597 EXPECT_EQ(1u, port_allocator_->stun_servers().size()); in CreatePeerConnectionWithDifferentConfigurations()
598 EXPECT_EQ(0u, port_allocator_->turn_servers().size()); in CreatePeerConnectionWithDifferentConfigurations()
599 EXPECT_EQ("address", port_allocator_->stun_servers().begin()->hostname()); in CreatePeerConnectionWithDifferentConfigurations()
601 port_allocator_->stun_servers().begin()->port()); in CreatePeerConnectionWithDifferentConfigurations()
608 EXPECT_EQ(0u, port_allocator_->stun_servers().size()); in CreatePeerConnectionWithDifferentConfigurations()
609 EXPECT_EQ(1u, port_allocator_->turn_servers().size()); in CreatePeerConnectionWithDifferentConfigurations()
611 port_allocator_->turn_servers()[0].credentials.username); in CreatePeerConnectionWithDifferentConfigurations()
613 port_allocator_->turn_servers()[0].credentials.password); in CreatePeerConnectionWithDifferentConfigurations()
615 port_allocator_->turn_servers()[0].ports[0].address.hostname()); in CreatePeerConnectionWithDifferentConfigurations()
[all …]
Dpeerconnection.cc601 port_allocator_ = std::move(allocator); in Initialize()
608 port_allocator_->SetIceServers(stun_servers, turn_servers); in Initialize()
612 int portallocator_flags = port_allocator_->flags(); in Initialize()
632 port_allocator_->set_flags(portallocator_flags); in Initialize()
634 port_allocator_->set_step_delay(cricket::kMinimumStepDelay); in Initialize()
643 factory_->worker_thread(), port_allocator_.get())); in Initialize()
1130 if (port_allocator_) { in SetConfiguration()
1136 port_allocator_->SetIceServers(stun_servers, turn_servers); in SetConfiguration()
1157 if (uma_observer_ && port_allocator_) { in RegisterUMAObserver()
1158 if (port_allocator_->flags() & cricket::PORTALLOCATOR_ENABLE_IPV6) { in RegisterUMAObserver()
Dwebrtcsession.h163 cricket::PortAllocator* port_allocator() const { return port_allocator_; } in port_allocator()
472 cricket::PortAllocator* const port_allocator_; variable
Dpeerconnection.h357 rtc::scoped_ptr<cricket::PortAllocator> port_allocator_; variable
Dwebrtcsession.cc548 port_allocator_(port_allocator), in WebRtcSession()
/external/webrtc/webrtc/p2p/base/
Dtransportcontroller.h41 PortAllocator* port_allocator() const { return port_allocator_; } in port_allocator()
200 PortAllocator* const port_allocator_ = nullptr; variable
Dtransportcontroller.cc45 port_allocator_(port_allocator) {} in TransportController()