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

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

Completed in 1361 milliseconds