Home
last modified time | relevance | path

Searched refs:ice_ufrag (Results 1 – 25 of 30) sorted by relevance

12

/external/webrtc/webrtc/p2p/base/
Dtransportdescription.h80 const std::string& ice_ufrag, in TransportDescription()
87 ice_ufrag(ice_ufrag), in TransportDescription()
93 TransportDescription(const std::string& ice_ufrag, in TransportDescription()
95 : ice_ufrag(ice_ufrag), in TransportDescription()
101 ice_ufrag(from.ice_ufrag), in TransportDescription()
114 ice_ufrag = from.ice_ufrag;
143 std::string ice_ufrag; member
Dportallocator.cc18 const std::string& ice_ufrag, in PortAllocatorSession() argument
25 ice_ufrag_(ice_ufrag), in PortAllocatorSession()
27 RTC_DCHECK(!ice_ufrag.empty()); in PortAllocatorSession()
35 const std::string& ice_ufrag, in CreateSession() argument
37 return CreateSessionInternal(content_name, component, ice_ufrag, ice_pwd); in CreateSession()
Dtransportdescriptionfactory.cc32 desc->ice_ufrag = rtc::CreateRandomString(ICE_UFRAG_LENGTH); in CreateOffer()
35 desc->ice_ufrag = current_description->ice_ufrag; in CreateOffer()
66 desc->ice_ufrag = rtc::CreateRandomString(ICE_UFRAG_LENGTH); in CreateAnswer()
69 desc->ice_ufrag = current_description->ice_ufrag; in CreateAnswer()
Dtransportdescriptionfactory_unittest.cc35 const std::string& opt, const std::string& ice_ufrag, in CheckDesc() argument
39 if (ice_ufrag.empty() && ice_pwd.empty()) { in CheckDesc()
41 desc->ice_ufrag.size()); in CheckDesc()
45 EXPECT_EQ(ice_ufrag, desc->ice_ufrag); in CheckDesc()
100 EXPECT_NE(org_desc->ice_ufrag, restart_desc->ice_ufrag); in VerifyUfragAndPasswordChanged()
102 restart_desc->ice_ufrag.size()); in VerifyUfragAndPasswordChanged()
165 old_desc->ice_ufrag, old_desc->ice_pwd, digest_alg); in TEST_F()
193 old_desc->ice_ufrag, old_desc->ice_pwd, ""); in TEST_F()
Dtransport.cc27 if (desc.ice_ufrag.empty() && desc.ice_pwd.empty()) in VerifyIceParams()
30 if (desc.ice_ufrag.length() < ICE_UFRAG_MIN_LENGTH || in VerifyIceParams()
31 desc.ice_ufrag.length() > ICE_UFRAG_MAX_LENGTH) { in VerifyIceParams()
62 return IceCredentialsChanged(old_desc.ice_ufrag, old_desc.ice_pwd, in IceCredentialsChanged()
63 new_desc.ice_ufrag, new_desc.ice_pwd); in IceCredentialsChanged()
344 ch->SetIceCredentials(local_description_->ice_ufrag, in ApplyLocalTransportDescription()
351 ch->SetRemoteIceCredentials(remote_description_->ice_ufrag, in ApplyRemoteTransportDescription()
Dportallocator.h116 const std::string& ice_ufrag,
145 const std::string& ice_ufrag() const { return ice_ufrag_; } in ice_ufrag() function
193 const std::string& ice_ufrag,
242 const std::string& ice_ufrag,
Ddtlstransportchannel.h170 void SetIceCredentials(const std::string& ice_ufrag, in SetIceCredentials() argument
172 channel_->SetIceCredentials(ice_ufrag, ice_pwd); in SetIceCredentials()
174 void SetRemoteIceCredentials(const std::string& ice_ufrag, in SetRemoteIceCredentials() argument
176 channel_->SetRemoteIceCredentials(ice_ufrag, ice_pwd); in SetRemoteIceCredentials()
Dp2ptransportchannel.h42 IceParameters(const std::string& ice_ufrag, const std::string& ice_pwd) in IceParameters()
43 : ufrag(ice_ufrag), pwd(ice_pwd) {} in IceParameters()
80 void SetIceCredentials(const std::string& ice_ufrag,
82 void SetRemoteIceCredentials(const std::string& ice_ufrag,
Dtransportchannelimpl.h52 virtual void SetIceCredentials(const std::string& ice_ufrag,
56 virtual void SetRemoteIceCredentials(const std::string& ice_ufrag,
Dfaketransportcontroller.h58 const std::string& ice_ufrag() const { return ice_ufrag_; } in ice_ufrag() function
90 void SetIceCredentials(const std::string& ice_ufrag, in SetIceCredentials() argument
92 ice_ufrag_ = ice_ufrag; in SetIceCredentials()
95 void SetRemoteIceCredentials(const std::string& ice_ufrag, in SetRemoteIceCredentials() argument
97 remote_ice_ufrag_ = ice_ufrag; in SetRemoteIceCredentials()
Dp2ptransportchannel.cc337 void P2PTransportChannel::SetIceCredentials(const std::string& ice_ufrag, in SetIceCredentials() argument
340 ice_ufrag_ = ice_ufrag; in SetIceCredentials()
346 void P2PTransportChannel::SetRemoteIceCredentials(const std::string& ice_ufrag, in SetRemoteIceCredentials() argument
350 IceParameters new_ice(ice_ufrag, ice_pwd); in SetRemoteIceCredentials()
359 if (candidate.username() == ice_ufrag && candidate.password().empty()) { in SetRemoteIceCredentials()
365 conn->MaybeSetRemoteIceCredentials(ice_ufrag, ice_pwd); in SetRemoteIceCredentials()
416 IceCredentialsChanged(allocator_sessions_.back()->ice_ufrag(), in MaybeStartGathering()
Dtransport_unittest.cc73 EXPECT_EQ(kIceUfrag1, channel_->ice_ufrag()); in TEST_F()
Dport.cc1282 void Connection::MaybeSetRemoteIceCredentials(const std::string& ice_ufrag, in MaybeSetRemoteIceCredentials() argument
1284 if (remote_candidate_.username() == ice_ufrag && in MaybeSetRemoteIceCredentials()
Dport.h565 void MaybeSetRemoteIceCredentials(const std::string& ice_ufrag,
/external/webrtc/webrtc/p2p/client/
Dfakeportallocator.h89 const std::string& ice_ufrag, in FakePortAllocatorSession() argument
91 : PortAllocatorSession(content_name, component, ice_ufrag, ice_pwd, in FakePortAllocatorSession()
171 const std::string& ice_ufrag, in CreateSessionInternal() argument
174 worker_thread_, factory_, content_name, component, ice_ufrag, ice_pwd); in CreateSessionInternal()
Dhttpportallocator.h55 const std::string& ice_ufrag,
101 const std::string& ice_ufrag,
Dhttpportallocator.cc107 const std::string& ice_ufrag, in HttpPortAllocatorSessionBase() argument
114 ice_ufrag, ice_pwd), in HttpPortAllocatorSessionBase()
Dbasicportallocator.h77 const std::string& ice_ufrag,
100 const std::string& ice_ufrag,
Dbasicportallocator.cc135 const std::string& ice_ufrag, const std::string& ice_pwd) { in CreateSessionInternal() argument
137 this, content_name, component, ice_ufrag, ice_pwd); in CreateSessionInternal()
146 const std::string& ice_ufrag, in BasicPortAllocatorSession() argument
149 ice_ufrag, ice_pwd, allocator->flags()), in BasicPortAllocatorSession()
/external/webrtc/talk/session/media/
Dmediasession_unittest.cc322 EXPECT_EQ(current_audio_ufrag, ti_audio->description.ice_ufrag); in TestTransportInfo()
326 ti_audio->description.ice_ufrag.size()); in TestTransportInfo()
338 EXPECT_EQ(ti_audio->description.ice_ufrag, in TestTransportInfo()
339 ti_video->description.ice_ufrag); in TestTransportInfo()
344 EXPECT_EQ(current_video_ufrag, ti_video->description.ice_ufrag); in TestTransportInfo()
348 ti_video->description.ice_ufrag.size()); in TestTransportInfo()
360 EXPECT_EQ(ti_audio->description.ice_ufrag, in TestTransportInfo()
361 ti_data->description.ice_ufrag); in TestTransportInfo()
366 EXPECT_EQ(current_data_ufrag, ti_data->description.ice_ufrag); in TestTransportInfo()
370 ti_data->description.ice_ufrag.size()); in TestTransportInfo()
/external/webrtc/talk/app/webrtc/
Djsepsessiondescription.cc139 updated_candidate.set_username(transport_info->description.ice_ufrag); in AddCandidate()
Dwebrtcsdp_unittest.cc888 EXPECT_EQ(transport1.description.ice_ufrag, in CompareSessionDescription()
889 transport2.description.ice_ufrag); in CompareSessionDescription()
948 const char ice_ufrag[] = "a=ice-ufrag"; in RemoveCandidateUfragPwd() local
952 rtc::replace_substrs(ice_ufrag, strlen(ice_ufrag), in RemoveCandidateUfragPwd()
1001 const std::string& ice_ufrag, in SetIceUfragPwd() argument
1007 transport_info.description.ice_ufrag = ice_ufrag; in SetIceUfragPwd()
Dwebrtcsdp.cc1298 if (!transport_info->description.ice_ufrag.empty()) { in BuildMediaDescription()
1300 os << kSdpDelimiterColon << transport_info->description.ice_ufrag; in BuildMediaDescription()
1914 &(session_td->ice_ufrag), error)) { in ParseSessionDescription()
2211 session_td.ice_ufrag, in ParseMediaDescription()
2532 if (!GetValue(line, kAttributeIceUfrag, &transport->ice_ufrag, error)) { in ParseContent()
2690 (*it).username() == transport->ice_ufrag); in ParseContent()
2691 (*it).set_username(transport->ice_ufrag); in ParseContent()
Dwebrtcsession.cc239 if (tinfo->description.ice_ufrag.empty() || in VerifyIceUfragPwdPresent()
524 if (cricket::IceCredentialsChanged(old_transport_desc->ice_ufrag, in CheckForRemoteIceRestart()
526 new_transport_desc->ice_ufrag, in CheckForRemoteIceRestart()
Dpeerconnection_unittest.cc580 IceUfragPwdPair(transport_desc->ice_ufrag, transport_desc->ice_pwd); in VerifyLocalIceUfragAndPassword()
583 EXPECT_NE(ufrag_pwd.first, transport_desc->ice_ufrag); in VerifyLocalIceUfragAndPassword()
587 EXPECT_EQ(ufrag_pwd.first, transport_desc->ice_ufrag); in VerifyLocalIceUfragAndPassword()

12