Home
last modified time | relevance | path

Searched refs:tcptype (Results 1 – 9 of 9) sorted by relevance

/external/webrtc/api/
Dcandidate.h137 const std::string& tcptype() const { return tcptype_; } in tcptype() function
138 void set_tcptype(const std::string& tcptype) { tcptype_ = tcptype; } in set_tcptype() argument
/external/webrtc/test/fuzzers/corpora/
Dsdp.tokens50 "tcptype"
/external/webrtc/p2p/base/
Dtcp_port.cc125 if ((address.tcptype() == TCPTYPE_ACTIVE_STR && in CreateConnection()
127 (address.tcptype().empty() && address.address().port() == 0)) { in CreateConnection()
Dport.cc262 const std::string& tcptype, in AddAddress() argument
269 RTC_DCHECK(!tcptype.empty()); in AddAddress()
279 c.set_tcptype(tcptype); in AddAddress()
Dport.h378 const std::string& tcptype,
Dp2p_transport_channel_unittest.cc795 void VerifySavedTcpCandidates(int endpoint, const std::string& tcptype) { in VerifySavedTcpCandidates() argument
799 EXPECT_EQ(candidate.tcptype(), tcptype); in VerifySavedTcpCandidates()
800 if (candidate.tcptype() == TCPTYPE_ACTIVE_STR) { in VerifySavedTcpCandidates()
802 } else if (candidate.tcptype() == TCPTYPE_PASSIVE_STR) { in VerifySavedTcpCandidates()
805 FAIL() << "Unknown tcptype: " << candidate.tcptype(); in VerifySavedTcpCandidates()
1822 EXPECT_EQ(RemoteCandidate(ep1_ch1())->tcptype(), "passive"); in TEST_F()
1823 EXPECT_EQ(LocalCandidate(ep1_ch1())->tcptype(), "active"); in TEST_F()
1824 EXPECT_EQ(RemoteCandidate(ep2_ch1())->tcptype(), "active"); in TEST_F()
1825 EXPECT_EQ(LocalCandidate(ep2_ch1())->tcptype(), "passive"); in TEST_F()
/external/webrtc/pc/
Dwebrtc_sdp.cc1141 std::string tcptype; in ParseCandidate() local
1144 tcptype = fields[++current_position]; in ParseCandidate()
1147 if (tcptype != cricket::TCPTYPE_ACTIVE_STR && in ParseCandidate()
1148 tcptype != cricket::TCPTYPE_PASSIVE_STR && in ParseCandidate()
1149 tcptype != cricket::TCPTYPE_SIMOPEN_STR) { in ParseCandidate()
1160 tcptype = cricket::TCPTYPE_PASSIVE_STR; in ParseCandidate()
1202 candidate->set_tcptype(tcptype); in ParseCandidate()
1993 !candidate.tcptype().empty()) { in BuildCandidate()
1994 os << kTcpCandidateType << " " << candidate.tcptype() << " "; in BuildCandidate()
Djsep_transport_controller.cc39 (cand.tcptype() == cricket::TCPTYPE_ACTIVE_STR || port == 0)) { in VerifyCandidate()
Dwebrtc_sdp_unittest.cc2426 jcandidate.candidate().tcptype()); in TEST_F()