Home
last modified time | relevance | path

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

/external/webrtc/p2p/client/
Dbasic_port_allocator.h29 class RTC_EXPORT BasicPortAllocator : public PortAllocator {
33 BasicPortAllocator(rtc::NetworkManager* network_manager,
37 explicit BasicPortAllocator(rtc::NetworkManager* network_manager);
38 BasicPortAllocator(rtc::NetworkManager* network_manager,
40 BasicPortAllocator(rtc::NetworkManager* network_manager,
43 ~BasicPortAllocator() override;
112 BasicPortAllocatorSession(BasicPortAllocator* allocator,
119 virtual BasicPortAllocator* allocator();
262 BasicPortAllocator* allocator_;
Dbasic_port_allocator.cc154 BasicPortAllocator::BasicPortAllocator( in BasicPortAllocator() function in cricket::BasicPortAllocator
168 BasicPortAllocator::BasicPortAllocator(rtc::NetworkManager* network_manager) in BasicPortAllocator() function in cricket::BasicPortAllocator
175 BasicPortAllocator::BasicPortAllocator(rtc::NetworkManager* network_manager, in BasicPortAllocator() function in cricket::BasicPortAllocator
177 : BasicPortAllocator(network_manager, in BasicPortAllocator()
181 BasicPortAllocator::BasicPortAllocator(rtc::NetworkManager* network_manager, in BasicPortAllocator() function in cricket::BasicPortAllocator
191 void BasicPortAllocator::OnIceRegathering(PortAllocatorSession* session, in OnIceRegathering()
206 BasicPortAllocator::~BasicPortAllocator() { in ~BasicPortAllocator()
213 void BasicPortAllocator::SetNetworkIgnoreMask(int network_ignore_mask) { in SetNetworkIgnoreMask()
221 PortAllocatorSession* BasicPortAllocator::CreateSessionInternal( in CreateSessionInternal()
230 &BasicPortAllocator::OnIceRegathering); in CreateSessionInternal()
[all …]
Dbasic_port_allocator_unittest.cc162 std::make_unique<BasicPortAllocator>(&network_manager_, stun_servers); in BasicPortAllocatorTestBase()
199 allocator_.reset(new BasicPortAllocator(&network_manager_)); in ResetWithNoServersOrNat()
400 BasicPortAllocator& allocator() { return *allocator_; } in allocator()
480 allocator_.reset(new BasicPortAllocator( in ResetWithStunServer()
495 std::unique_ptr<BasicPortAllocator> allocator_;
577 allocator_.reset(new BasicPortAllocator(&network_manager_)); in TestIPv6TurnPortPrunesIPv4TurnPort()
618 allocator_.reset(new BasicPortAllocator(&network_manager_)); in TestTurnPortPrunesWithUdpAndTcpPorts()
670 allocator_.reset(new BasicPortAllocator(&network_manager_)); in TestEachInterfaceHasItsOwnTurnPorts()
1637 allocator_.reset(new BasicPortAllocator(&network_manager_)); in TEST_F()
1772 allocator_.reset(new BasicPortAllocator(&network_manager_)); in TEST_F()
/external/webrtc/pc/
Dpeer_connection_rampup_tests.cc187 cricket::BasicPortAllocator* port_allocator = in CreatePeerConnectionWrapper()
188 new cricket::BasicPortAllocator(fake_network_manager); in CreatePeerConnectionWrapper()
191 std::unique_ptr<cricket::BasicPortAllocator>(port_allocator); in CreatePeerConnectionWrapper()
Dpeer_connection_histogram_unittest.cc278 std::unique_ptr<cricket::BasicPortAllocator> port_allocator( in CreatePeerConnectionWithMdns()
279 new cricket::BasicPortAllocator(fake_network)); in CreatePeerConnectionWithMdns()
301 std::make_unique<cricket::BasicPortAllocator>(fake_network); in CreatePeerConnectionWithPrivateLocalAddresses()
314 std::make_unique<cricket::BasicPortAllocator>(fake_network); in CreatePeerConnectionWithPrivateIpv6LocalAddresses()
352 std::make_unique<cricket::BasicPortAllocator>(fake_network); in CreatePeerConnection()
Dpeer_connection_factory.cc268 dependencies.allocator = std::make_unique<cricket::BasicPortAllocator>( in CreatePeerConnection()
Dpeer_connection_bundle_unittest.cc189 std::make_unique<cricket::BasicPortAllocator>(fake_network); in CreatePeerConnection()
Dpeer_connection_ice_unittest.cc125 std::make_unique<cricket::BasicPortAllocator>(fake_network); in CreatePeerConnection()
Dpeer_connection_integrationtest.cc622 new cricket::BasicPortAllocator(fake_network_manager_.get())); in Init()
/external/webrtc/test/peer_scenario/
Dscenario_connection.cc62 std::unique_ptr<cricket::BasicPortAllocator> port_allocator_
98 new cricket::BasicPortAllocator(manager_->network_manager())),
Dpeer_scenario_client.cc236 std::make_unique<cricket::BasicPortAllocator>(manager->network_manager()); in PeerScenarioClient()
/external/webrtc/test/network/
Dnetwork_emulation_pc_unittest.cc81 std::make_unique<cricket::BasicPortAllocator>(network_manager); in CreatePeerConnection()
/external/webrtc/test/pc/e2e/
Dtest_peer_factory.cc252 auto port_allocator = std::make_unique<cricket::BasicPortAllocator>( in CreatePCDependencies()
/external/webrtc/p2p/base/
Dp2p_transport_channel_unittest.cc154 cricket::BasicPortAllocator* CreateBasicPortAllocator( in CreateBasicPortAllocator()
171 cricket::BasicPortAllocator* allocator = in CreateBasicPortAllocator()
172 new cricket::BasicPortAllocator(network_manager); in CreateBasicPortAllocator()
347 std::unique_ptr<BasicPortAllocator> allocator_;
473 BasicPortAllocator* GetAllocator(int endpoint) { in GetAllocator()
4538 BasicPortAllocator* allocator() { return allocator_.get(); } in allocator()
4558 std::unique_ptr<BasicPortAllocator> allocator_;