Home
last modified time | relevance | path

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

12

/external/webrtc/webrtc/p2p/base/
Dtransportdescription.h81 const std::string& ice_pwd, in TransportDescription()
88 ice_pwd(ice_pwd), in TransportDescription()
94 const std::string& ice_pwd) in TransportDescription()
96 ice_pwd(ice_pwd), in TransportDescription()
102 ice_pwd(from.ice_pwd), in TransportDescription()
115 ice_pwd = from.ice_pwd;
144 std::string ice_pwd; member
Dportallocator.cc19 const std::string& ice_pwd, in PortAllocatorSession() argument
26 ice_pwd_(ice_pwd) { in PortAllocatorSession()
28 RTC_DCHECK(!ice_pwd.empty()); in PortAllocatorSession()
36 const std::string& ice_pwd) { in CreateSession() argument
37 return CreateSessionInternal(content_name, component, ice_ufrag, ice_pwd); in CreateSession()
Dtransportdescriptionfactory.cc33 desc->ice_pwd = rtc::CreateRandomString(ICE_PWD_LENGTH); in CreateOffer()
36 desc->ice_pwd = current_description->ice_pwd; in CreateOffer()
67 desc->ice_pwd = rtc::CreateRandomString(ICE_PWD_LENGTH); in CreateAnswer()
70 desc->ice_pwd = current_description->ice_pwd; in CreateAnswer()
Dtransportdescriptionfactory_unittest.cc36 const std::string& ice_pwd, const std::string& dtls_alg) { in CheckDesc() argument
39 if (ice_ufrag.empty() && ice_pwd.empty()) { in CheckDesc()
43 desc->ice_pwd.size()); in CheckDesc()
46 EXPECT_EQ(ice_pwd, desc->ice_pwd); in CheckDesc()
99 EXPECT_NE(org_desc->ice_pwd, restart_desc->ice_pwd); in VerifyUfragAndPasswordChanged()
104 restart_desc->ice_pwd.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()
34 if (desc.ice_pwd.length() < ICE_PWD_MIN_LENGTH || in VerifyIceParams()
35 desc.ice_pwd.length() > ICE_PWD_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()
345 local_description_->ice_pwd); in ApplyLocalTransportDescription()
352 remote_description_->ice_pwd); in ApplyRemoteTransportDescription()
Dportallocator.h117 const std::string& ice_pwd,
146 const std::string& ice_pwd() const { return ice_pwd_; } in ice_pwd() function
194 const std::string& ice_pwd);
243 const std::string& ice_pwd) = 0;
Ddtlstransportchannel.h171 const std::string& ice_pwd) override { in SetIceCredentials() argument
172 channel_->SetIceCredentials(ice_ufrag, ice_pwd); in SetIceCredentials()
175 const std::string& ice_pwd) override { 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()
81 const std::string& ice_pwd) override;
83 const std::string& ice_pwd) override;
Dtransportchannelimpl.h53 const std::string& ice_pwd) = 0;
57 const std::string& ice_pwd) = 0;
Dfaketransportcontroller.h59 const std::string& ice_pwd() const { return ice_pwd_; } in ice_pwd() function
91 const std::string& ice_pwd) override { in SetIceCredentials() argument
93 ice_pwd_ = ice_pwd; in SetIceCredentials()
96 const std::string& ice_pwd) override { in SetRemoteIceCredentials() argument
98 remote_ice_pwd_ = ice_pwd; in SetRemoteIceCredentials()
Dp2ptransportchannel.cc338 const std::string& ice_pwd) { in SetIceCredentials() argument
341 ice_pwd_ = ice_pwd; in SetIceCredentials()
347 const std::string& ice_pwd) { in SetRemoteIceCredentials() argument
350 IceParameters new_ice(ice_ufrag, ice_pwd); in SetRemoteIceCredentials()
360 candidate.set_password(ice_pwd); in SetRemoteIceCredentials()
365 conn->MaybeSetRemoteIceCredentials(ice_ufrag, ice_pwd); in SetRemoteIceCredentials()
417 allocator_sessions_.back()->ice_pwd(), ice_ufrag_, in MaybeStartGathering()
Dtransport_unittest.cc74 EXPECT_EQ(kIcePwd1, channel_->ice_pwd()); in TEST_F()
Dport.h566 const std::string& ice_pwd);
Dport.cc1283 const std::string& ice_pwd) { in MaybeSetRemoteIceCredentials() argument
1286 remote_candidate_.set_password(ice_pwd); in MaybeSetRemoteIceCredentials()
/external/webrtc/webrtc/p2p/client/
Dfakeportallocator.h90 const std::string& ice_pwd) in FakePortAllocatorSession() argument
91 : PortAllocatorSession(content_name, component, ice_ufrag, ice_pwd, in FakePortAllocatorSession()
172 const std::string& ice_pwd) override { in CreateSessionInternal() argument
174 worker_thread_, factory_, content_name, component, ice_ufrag, ice_pwd); in CreateSessionInternal()
Dhttpportallocator.h56 const std::string& ice_pwd) = 0;
102 const std::string& ice_pwd,
Dhttpportallocator.cc108 const std::string& ice_pwd, in HttpPortAllocatorSessionBase() argument
114 ice_ufrag, ice_pwd), in HttpPortAllocatorSessionBase()
Dbasicportallocator.h78 const std::string& ice_pwd) override;
101 const std::string& ice_pwd);
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()
147 const std::string& ice_pwd) in BasicPortAllocatorSession() argument
149 ice_ufrag, ice_pwd, allocator->flags()), in BasicPortAllocatorSession()
/external/webrtc/talk/app/webrtc/
Djsepsessiondescription.cc142 updated_candidate.set_password(transport_info->description.ice_pwd); in AddCandidate()
Dwebrtcsdp_unittest.cc890 EXPECT_EQ(transport1.description.ice_pwd, in CompareSessionDescription()
891 transport2.description.ice_pwd); in CompareSessionDescription()
950 const char ice_pwd[] = "a=ice-pwd"; in RemoveCandidateUfragPwd() local
954 rtc::replace_substrs(ice_pwd, strlen(ice_pwd), in RemoveCandidateUfragPwd()
1002 const std::string& ice_pwd) { in SetIceUfragPwd() argument
1008 transport_info.description.ice_pwd = ice_pwd; in SetIceUfragPwd()
Dwebrtcsdp.cc1304 if (!transport_info->description.ice_pwd.empty()) { in BuildMediaDescription()
1306 os << kSdpDelimiterColon << transport_info->description.ice_pwd; in BuildMediaDescription()
1918 if (!GetValue(line, kAttributeIcePwd, &(session_td->ice_pwd), error)) { in ParseSessionDescription()
2212 session_td.ice_pwd, in ParseMediaDescription()
2536 if (!GetValue(line, kAttributeIcePwd, &transport->ice_pwd, error)) { in ParseContent()
2693 (*it).set_password(transport->ice_pwd); in ParseContent()
Dpeerconnection_unittest.cc580 IceUfragPwdPair(transport_desc->ice_ufrag, transport_desc->ice_pwd); in VerifyLocalIceUfragAndPassword()
584 EXPECT_NE(ufrag_pwd.second, transport_desc->ice_pwd); in VerifyLocalIceUfragAndPassword()
588 EXPECT_EQ(ufrag_pwd.second, transport_desc->ice_pwd); in VerifyLocalIceUfragAndPassword()
Dwebrtcsession.cc240 tinfo->description.ice_pwd.empty()) { in VerifyIceUfragPwdPresent()
525 old_transport_desc->ice_pwd, in CheckForRemoteIceRestart()
527 new_transport_desc->ice_pwd)) { in CheckForRemoteIceRestart()
/external/webrtc/talk/session/media/
Dmediasession_unittest.cc323 EXPECT_EQ(current_audio_pwd, ti_audio->description.ice_pwd); in TestTransportInfo()
328 ti_audio->description.ice_pwd.size()); in TestTransportInfo()
340 EXPECT_EQ(ti_audio->description.ice_pwd, in TestTransportInfo()
341 ti_video->description.ice_pwd); in TestTransportInfo()
345 EXPECT_EQ(current_video_pwd, ti_video->description.ice_pwd); in TestTransportInfo()
350 ti_video->description.ice_pwd.size()); in TestTransportInfo()
362 EXPECT_EQ(ti_audio->description.ice_pwd, in TestTransportInfo()
363 ti_data->description.ice_pwd); in TestTransportInfo()
367 EXPECT_EQ(current_data_pwd, ti_data->description.ice_pwd); in TestTransportInfo()
372 ti_data->description.ice_pwd.size()); in TestTransportInfo()

12