Home
last modified time | relevance | path

Searched refs:SupportsProtocol (Results 1 – 12 of 12) sorted by relevance

/external/webrtc/webrtc/p2p/client/
Dbasicportallocator.h230 bool SupportsProtocol(const RelayServerConfig& relay,
232 bool SupportsProtocol(RelayType turn_type, ProtocolType type) const;
Dbasicportallocator.cc1161 bool PortConfiguration::SupportsProtocol( in SupportsProtocol() function in cricket::PortConfiguration
1173 bool PortConfiguration::SupportsProtocol(RelayType turn_type, in SupportsProtocol() function in cricket::PortConfiguration
1177 SupportsProtocol(relays[i], type)) in SupportsProtocol()
1187 if (relays[i].type == turn_type && SupportsProtocol(relays[i], type)) { in GetRelayServerAddresses()
/external/webrtc/webrtc/p2p/base/
Dportinterface.h56 virtual bool SupportsProtocol(const std::string& protocol) const = 0;
Drelayport.h63 bool SupportsProtocol(const std::string& protocol) const override { in SupportsProtocol() function
Dtcpport.h58 bool SupportsProtocol(const std::string& protocol) const override { in SupportsProtocol() function
Dport_unittest.cc144 virtual bool SupportsProtocol(const std::string& protocol) const { in SupportsProtocol() function in TestPort
2516 EXPECT_TRUE(udp_port->SupportsProtocol(UDP_PROTOCOL_NAME)); in TEST_F()
2517 EXPECT_FALSE(udp_port->SupportsProtocol(TCP_PROTOCOL_NAME)); in TEST_F()
2521 EXPECT_TRUE(stun_port->SupportsProtocol(UDP_PROTOCOL_NAME)); in TEST_F()
2522 EXPECT_FALSE(stun_port->SupportsProtocol(TCP_PROTOCOL_NAME)); in TEST_F()
2525 EXPECT_TRUE(tcp_port->SupportsProtocol(TCP_PROTOCOL_NAME)); in TEST_F()
2526 EXPECT_TRUE(tcp_port->SupportsProtocol(SSLTCP_PROTOCOL_NAME)); in TEST_F()
2527 EXPECT_FALSE(tcp_port->SupportsProtocol(UDP_PROTOCOL_NAME)); in TEST_F()
2531 EXPECT_TRUE(turn_port->SupportsProtocol(UDP_PROTOCOL_NAME)); in TEST_F()
2532 EXPECT_FALSE(turn_port->SupportsProtocol(TCP_PROTOCOL_NAME)); in TEST_F()
Dstunport.h98 virtual bool SupportsProtocol(const std::string& protocol) const { in SupportsProtocol() function
Dturnport.h112 virtual bool SupportsProtocol(const std::string& protocol) const { in SupportsProtocol() function
Dtcpport.cc128 if (!SupportsProtocol(address.protocol())) { in CreateConnection()
Dstunport.cc257 if (!SupportsProtocol(address.protocol())) { in CreateConnection()
Dp2ptransportchannel.cc765 if (!port->SupportsProtocol(remote_candidate.protocol())) { in CreateConnection()
Dturnport.cc443 if (!SupportsProtocol(address.protocol())) { in CreateConnection()