Home
last modified time | relevance | path

Searched refs:stun_servers (Results 1 – 13 of 13) sorted by relevance

/external/webrtc/webrtc/p2p/base/
Dstunport_unittest.cc59 ServerAddresses stun_servers; in CreateStunPort() local
60 stun_servers.insert(server_addr); in CreateStunPort()
61 CreateStunPort(stun_servers); in CreateStunPort()
64 void CreateStunPort(const ServerAddresses& stun_servers) { in CreateStunPort() argument
68 rtc::CreateRandomString(22), stun_servers, std::string())); in CreateStunPort()
87 ServerAddresses stun_servers; in CreateSharedStunPort() local
88 stun_servers.insert(server_addr); in CreateSharedStunPort()
89 stun_port_->set_server_addresses(stun_servers); in CreateSharedStunPort()
245 ServerAddresses stun_servers; in TEST_F() local
246 stun_servers.insert(kStunAddr1); in TEST_F()
[all …]
Dportallocator.h179 const ServerAddresses& stun_servers,
Dp2ptransportchannel_unittest.cc153 ServerAddresses stun_servers; in P2PTransportChannelTestBase() local
154 stun_servers.insert(kStunAddr); in P2PTransportChannelTestBase()
157 stun_servers, kRelayUdpIntAddr, kRelayTcpIntAddr, kRelaySslTcpIntAddr)); in P2PTransportChannelTestBase()
160 stun_servers, kRelayUdpIntAddr, kRelayTcpIntAddr, kRelaySslTcpIntAddr)); in P2PTransportChannelTestBase()
832 ServerAddresses stun_servers; in ConfigureEndpoints() local
833 stun_servers.insert(kStunAddr); in ConfigureEndpoints()
836 stun_servers, in ConfigureEndpoints()
841 stun_servers, in ConfigureEndpoints()
Dport_unittest.cc482 ServerAddresses stun_servers; in CreateStunPort() local
483 stun_servers.insert(kStunAddr); in CreateStunPort()
486 username_, password_, stun_servers, in CreateStunPort()
/external/webrtc/talk/app/webrtc/
Dpeerconnectionfactory_unittest.cc120 void VerifyStunServers(cricket::ServerAddresses stun_servers) { in VerifyStunServers() argument
121 EXPECT_EQ(stun_servers, raw_port_allocator_->stun_servers()); in VerifyStunServers()
189 cricket::ServerAddresses stun_servers; in TEST_F() local
191 stun_servers.insert(stun1); in TEST_F()
192 VerifyStunServers(stun_servers); in TEST_F()
219 cricket::ServerAddresses stun_servers; in TEST_F() local
221 stun_servers.insert(stun1); in TEST_F()
222 VerifyStunServers(stun_servers); in TEST_F()
329 cricket::ServerAddresses stun_servers; in TEST_F() local
331 stun_servers.insert(stun1); in TEST_F()
[all …]
Dpeerconnection.cc222 cricket::ServerAddresses* stun_servers, in ParseIceServerUrl() argument
238 RTC_DCHECK(stun_servers != nullptr); in ParseIceServerUrl()
313 stun_servers->insert(rtc::SocketAddress(address, port)); in ParseIceServerUrl()
531 cricket::ServerAddresses* stun_servers, in ParseIceServers() argument
540 if (!ParseIceServerUrl(server, url, stun_servers, turn_servers)) { in ParseIceServers()
546 if (!ParseIceServerUrl(server, server.uri, stun_servers, turn_servers)) { in ParseIceServers()
603 cricket::ServerAddresses stun_servers; in Initialize() local
605 if (!ParseIceServers(configuration.servers, &stun_servers, &turn_servers)) { in Initialize()
608 port_allocator_->SetIceServers(stun_servers, turn_servers); in Initialize()
1131 cricket::ServerAddresses stun_servers; in SetConfiguration() local
[all …]
Dpeerconnectioninterface_unittest.cc597 EXPECT_EQ(1u, port_allocator_->stun_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()
1737 EXPECT_EQ(1u, port_allocator_->stun_servers().size()); in TEST_F()
1739 port_allocator_->stun_servers().begin()->hostname()); in TEST_F()
Dpeerconnection.h62 cricket::ServerAddresses* stun_servers,
Dwebrtcsession_unittest.cc382 cricket::ServerAddresses stun_servers; in WebRtcSessionTest() local
383 stun_servers.insert(stun_socket_addr_); in WebRtcSessionTest()
386 stun_servers, in WebRtcSessionTest()
/external/webrtc/webrtc/p2p/client/
Dbasicportallocator.cc90 const ServerAddresses& stun_servers) in BasicPortAllocator() argument
93 stun_servers_(stun_servers) { in BasicPortAllocator()
100 const ServerAddresses& stun_servers, in BasicPortAllocator() argument
106 stun_servers_(stun_servers) { in BasicPortAllocator()
246 PortConfiguration* config = new PortConfiguration(allocator_->stun_servers(), in GetPortConfigurations()
1095 const ServerAddresses& stun_servers = udp_port_->server_addresses(); in OnReadPacket() local
1100 stun_servers.find(remote_addr) != stun_servers.end()) { in OnReadPacket()
1129 stun_servers.insert(stun_address); in PortConfiguration()
1132 PortConfiguration::PortConfiguration(const ServerAddresses& stun_servers, in PortConfiguration() argument
1135 : stun_servers(stun_servers), in PortConfiguration()
[all …]
Dbasicportallocator.h32 const ServerAddresses& stun_servers);
34 const ServerAddresses& stun_servers,
41 const ServerAddresses& stun_servers, in SetIceServers() argument
43 stun_servers_ = stun_servers; in SetIceServers()
63 const ServerAddresses& stun_servers() const { in stun_servers() function
206 ServerAddresses stun_servers; member
218 PortConfiguration(const ServerAddresses& stun_servers,
Dfakeportallocator.h154 const ServerAddresses& stun_servers, in SetIceServers() argument
156 stun_servers_ = stun_servers; in SetIceServers()
162 const ServerAddresses& stun_servers() const { return stun_servers_; } in stun_servers() function
Dportallocator_unittest.cc101 cricket::ServerAddresses stun_servers; in PortAllocatorTest() local
102 stun_servers.insert(kStunAddr); in PortAllocatorTest()
107 stun_servers, in PortAllocatorTest()
364 ServerAddresses stun_servers; in ResetWithStunServer() local
366 stun_servers.insert(stun_server); in ResetWithStunServer()
369 &network_manager_, nat_socket_factory_.get(), stun_servers)); in ResetWithStunServer()
394 EXPECT_EQ(kStunAddr, *allocator().stun_servers().begin()); in TEST_F()