/external/webrtc/p2p/base/ |
D | stun_port_unittest.cc | 73 ServerAddresses stun_servers; in CreateStunPort() local 74 stun_servers.insert(server_addr); in CreateStunPort() 75 CreateStunPort(stun_servers); in CreateStunPort() 78 void CreateStunPort(const ServerAddresses& stun_servers) { in CreateStunPort() argument 81 rtc::CreateRandomString(16), rtc::CreateRandomString(22), stun_servers, in CreateStunPort() 111 ServerAddresses stun_servers; in CreateSharedUdpPort() local 112 stun_servers.insert(server_addr); in CreateSharedUdpPort() 113 stun_port_->set_server_addresses(stun_servers); in CreateSharedUdpPort() 304 ServerAddresses stun_servers; in TEST_F() local 305 stun_servers.insert(kStunAddr1); in TEST_F() [all …]
|
D | port_allocator_unittest.cc | 95 EXPECT_EQ(0UL, allocator_->stun_servers().size()); in TEST_F() 119 EXPECT_EQ(stun_servers_1, allocator_->stun_servers()); in TEST_F() 127 EXPECT_EQ(stun_servers_2, allocator_->stun_servers()); in TEST_F() 184 EXPECT_EQ(stun_servers_1, allocator_->stun_servers()); in TEST_F() 192 EXPECT_EQ(stun_servers_2, allocator_->stun_servers()); in TEST_F() 198 EXPECT_EQ(stun_servers_2, session_1->stun_servers()); in TEST_F() 200 EXPECT_EQ(stun_servers_2, session_2->stun_servers()); in TEST_F() 214 EXPECT_EQ(stun_servers_1, allocator_->stun_servers()); in TEST_F() 223 EXPECT_EQ(stun_servers_2, allocator_->stun_servers()); in TEST_F() 227 EXPECT_EQ(stun_servers_1, session->stun_servers()); in TEST_F()
|
D | port_allocator.cc | 121 const ServerAddresses& stun_servers, in SetConfiguration() argument 129 return SetConfiguration(stun_servers, turn_servers, candidate_pool_size, in SetConfiguration() 135 const ServerAddresses& stun_servers, in SetConfiguration() argument 147 (stun_servers != stun_servers_ || turn_servers != turn_servers_); in SetConfiguration() 148 stun_servers_ = stun_servers; in SetConfiguration()
|
D | regathering_controller_unittest.cc | 65 cricket::ServerAddresses stun_servers; in InitializeAndGatherOnce() local 66 stun_servers.insert(kStunAddr); in InitializeAndGatherOnce() 73 allocator_->SetConfiguration(stun_servers, turn_servers, 0 /* pool size */, in InitializeAndGatherOnce()
|
D | port_allocator.h | 362 bool SetConfiguration(const ServerAddresses& stun_servers, 369 bool SetConfiguration(const ServerAddresses& stun_servers, 377 const ServerAddresses& stun_servers() const { in stun_servers() function
|
D | fake_port_allocator.h | 102 stun_servers_(allocator->stun_servers()), in FakePortAllocatorSession() 150 const ServerAddresses& stun_servers() const { return stun_servers_; } in stun_servers() function
|
D | p2p_transport_channel_unittest.cc | 156 const cricket::ServerAddresses& stun_servers, in CreateBasicPortAllocator() argument 174 allocator->SetConfiguration(stun_servers, turn_servers, 0, webrtc::NO_PRUNE); in CreateBasicPortAllocator() 232 ServerAddresses stun_servers; in P2PTransportChannelTestBase() local 233 stun_servers.insert(kStunAddr); in P2PTransportChannelTestBase() 235 CreateBasicPortAllocator(&ep1_.network_manager_, stun_servers, in P2PTransportChannelTestBase() 238 CreateBasicPortAllocator(&ep2_.network_manager_, stun_servers, in P2PTransportChannelTestBase() 1995 allocator_1->SetConfiguration(allocator_1->stun_servers(), in TEST_F() 1998 allocator_2->SetConfiguration(allocator_2->stun_servers(), in TEST_F() 2038 allocator_1->SetConfiguration(allocator_1->stun_servers(), in TEST_F() 2041 allocator_2->SetConfiguration(allocator_2->stun_servers(), in TEST_F()
|
D | port_unittest.cc | 521 ServerAddresses stun_servers; in CreateStunPort() local 522 stun_servers.insert(kStunAddr); in CreateStunPort() 524 password_, stun_servers, std::string(), in CreateStunPort()
|
/external/webrtc/pc/ |
D | peer_connection_factory_unittest.cc | 128 void VerifyStunServers(cricket::ServerAddresses stun_servers) { in VerifyStunServers() argument 129 EXPECT_EQ(stun_servers, raw_port_allocator_->stun_servers()); in VerifyStunServers() 289 cricket::ServerAddresses stun_servers; in TEST_F() local 291 stun_servers.insert(stun1); in TEST_F() 292 VerifyStunServers(stun_servers); in TEST_F() 320 cricket::ServerAddresses stun_servers; in TEST_F() local 322 stun_servers.insert(stun1); in TEST_F() 323 VerifyStunServers(stun_servers); in TEST_F() 436 cricket::ServerAddresses stun_servers; in TEST_F() local 438 stun_servers.insert(stun1); in TEST_F() [all …]
|
D | ice_server_parsing.cc | 134 cricket::ServerAddresses* stun_servers, in ParseIceServerUrl() argument 151 RTC_DCHECK(stun_servers != nullptr); in ParseIceServerUrl() 215 stun_servers->insert(rtc::SocketAddress(address, port)); in ParseIceServerUrl() 268 cricket::ServerAddresses* stun_servers, in ParseIceServers() argument 278 ParseIceServerUrl(server, url, stun_servers, turn_servers); in ParseIceServers() 286 ParseIceServerUrl(server, server.uri, stun_servers, turn_servers); in ParseIceServers()
|
D | ice_server_parsing.h | 32 cricket::ServerAddresses* stun_servers,
|
D | peer_connection_interface_unittest.cc | 782 EXPECT_EQ(1u, port_allocator_->stun_servers().size()); in CreatePeerConnectionWithDifferentConfigurations() 784 EXPECT_EQ("address", port_allocator_->stun_servers().begin()->hostname()); in CreatePeerConnectionWithDifferentConfigurations() 786 port_allocator_->stun_servers().begin()->port()); in CreatePeerConnectionWithDifferentConfigurations() 794 EXPECT_EQ(0u, port_allocator_->stun_servers().size()); in CreatePeerConnectionWithDifferentConfigurations() 1339 EXPECT_EQ(1UL, session->stun_servers().size()); in TEST_P() 2430 EXPECT_EQ(1u, port_allocator_->stun_servers().size()); in TEST_P() 2432 port_allocator_->stun_servers().begin()->hostname()); in TEST_P() 2501 EXPECT_EQ(1UL, session->stun_servers().size()); in TEST_P()
|
D | peer_connection.cc | 1158 cricket::ServerAddresses stun_servers; in Initialize() local 1162 ParseIceServers(configuration.servers, &stun_servers, &turn_servers); in Initialize() 1178 stun_servers, turn_servers, configuration)); in Initialize() 1182 if (!stun_servers.empty()) { in Initialize() 3940 cricket::ServerAddresses stun_servers; in SetConfiguration() local 3943 ParseIceServers(configuration.servers, &stun_servers, &turn_servers); in SetConfiguration() 3953 if (!stun_servers.empty()) { in SetConfiguration() 3964 stun_servers, turn_servers, modified_config.type, in SetConfiguration() 5649 const cricket::ServerAddresses& stun_servers, in InitializePortAllocator_n() argument 5706 stun_servers, std::move(turn_servers_copy), in InitializePortAllocator_n() [all …]
|
D | peer_connection.h | 846 const cricket::ServerAddresses& stun_servers, 852 const cricket::ServerAddresses& stun_servers,
|
/external/webrtc/p2p/client/ |
D | basic_port_allocator.cc | 176 const ServerAddresses& stun_servers) in BasicPortAllocator() argument 179 stun_servers) {} in BasicPortAllocator() 183 const ServerAddresses& stun_servers) in BasicPortAllocator() argument 187 SetConfiguration(stun_servers, std::vector<RelayServerConfig>(), 0, in BasicPortAllocator() 238 SetConfiguration(stun_servers(), new_turn_servers, candidate_pool_size(), in AddTurnServer() 611 new PortConfiguration(allocator_->stun_servers(), username(), password()); in GetPortConfigurations() 1608 const ServerAddresses& stun_servers = udp_port_->server_addresses(); in OnReadPacket() local 1613 stun_servers.find(remote_addr) != stun_servers.end()) { in OnReadPacket() 1642 stun_servers.insert(stun_address); in PortConfiguration() 1645 PortConfiguration::PortConfiguration(const ServerAddresses& stun_servers, in PortConfiguration() argument [all …]
|
D | basic_port_allocator_unittest.cc | 158 ServerAddresses stun_servers; in BasicPortAllocatorTestBase() local 159 stun_servers.insert(kStunAddr); in BasicPortAllocatorTestBase() 162 std::make_unique<BasicPortAllocator>(&network_manager_, stun_servers); in BasicPortAllocatorTestBase() 476 ServerAddresses stun_servers; in ResetWithStunServer() local 478 stun_servers.insert(stun_server); in ResetWithStunServer() 481 &network_manager_, nat_socket_factory_.get(), stun_servers)); in ResetWithStunServer() 579 allocator_->SetConfiguration(allocator_->stun_servers(), in TestIPv6TurnPortPrunesIPv4TurnPort() 620 allocator_->SetConfiguration(allocator_->stun_servers(), in TestTurnPortPrunesWithUdpAndTcpPorts() 672 allocator_->SetConfiguration(allocator_->stun_servers(), in TestEachInterfaceHasItsOwnTurnPorts() 728 EXPECT_EQ(kStunAddr, *allocator().stun_servers().begin()); in TEST_F() [all …]
|
D | basic_port_allocator.h | 39 const ServerAddresses& stun_servers); 42 const ServerAddresses& stun_servers); 286 ServerAddresses stun_servers; member 299 PortConfiguration(const ServerAddresses& stun_servers,
|