Home
last modified time | relevance | path

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

12

/external/chromium_org/third_party/libjingle/source/talk/p2p/base/
Dtransportdescription.h107 const std::string& ice_pwd, in TransportDescription()
115 ice_pwd(ice_pwd), in TransportDescription()
122 const std::string& ice_pwd) in TransportDescription()
125 ice_pwd(ice_pwd), in TransportDescription()
132 ice_pwd(from.ice_pwd), in TransportDescription()
146 ice_pwd = from.ice_pwd;
176 std::string ice_pwd; member
Dportallocator.cc37 const std::string& ice_pwd, in PortAllocatorSession() argument
47 password_(flags_ & PORTALLOCATOR_ENABLE_SHARED_UFRAG ? ice_pwd : "") { in PortAllocatorSession()
62 const std::string& ice_pwd) { in CreateSession() argument
70 std::string key_str = ice_ufrag + ":" + ice_pwd; in CreateSession()
74 content_name, component, ice_ufrag, ice_pwd); in CreateSession()
87 return CreateSessionInternal(content_name, component, ice_ufrag, ice_pwd); in CreateSession()
Dtransportdescriptionfactory.cc65 desc->ice_pwd = talk_base::CreateRandomString(ICE_PWD_LENGTH); in CreateOffer()
68 desc->ice_pwd = current_description->ice_pwd; in CreateOffer()
118 desc->ice_pwd = talk_base::CreateRandomString(ICE_PWD_LENGTH); in CreateAnswer()
121 desc->ice_pwd = current_description->ice_pwd; in CreateAnswer()
Dtransportdescriptionfactory_unittest.cc50 const std::string& ice_pwd, const std::string& dtls_alg) { in CheckDesc() argument
54 if (ice_ufrag.empty() && ice_pwd.empty()) { in CheckDesc()
58 desc->ice_pwd.size()); in CheckDesc()
61 EXPECT_EQ(ice_pwd, desc->ice_pwd); in CheckDesc()
114 EXPECT_NE(org_desc->ice_pwd, restart_desc->ice_pwd); in VerifyUfragAndPasswordChanged()
119 restart_desc->ice_pwd.size()); in VerifyUfragAndPasswordChanged()
202 old_desc->ice_ufrag, old_desc->ice_pwd, digest_alg); in TEST_F()
307 old_desc->ice_ufrag, old_desc->ice_pwd, ""); in TEST_F()
Ddtlstransportchannel.h206 const std::string& ice_pwd) { in SetIceCredentials() argument
207 channel_->SetIceCredentials(ice_ufrag, ice_pwd); in SetIceCredentials()
210 const std::string& ice_pwd) { in SetRemoteIceCredentials() argument
211 channel_->SetRemoteIceCredentials(ice_ufrag, ice_pwd); in SetRemoteIceCredentials()
Drawtransportchannel.h75 const std::string& ice_pwd) {} in SetIceCredentials() argument
77 const std::string& ice_pwd) {} in SetRemoteIceCredentials() argument
105 virtual void SetIcePwd(const std::string& ice_pwd) {} in SetIcePwd() argument
Dtransportchannelimpl.h64 const std::string& ice_pwd) = 0;
68 const std::string& ice_pwd) = 0;
Dfakesession.h87 const std::string& ice_pwd() const { return ice_pwd_; } in ice_pwd() function
112 const std::string& ice_pwd) { in SetIceCredentials() argument
114 ice_pwd_ = ice_pwd; in SetIceCredentials()
117 const std::string& ice_pwd) { in SetRemoteIceCredentials() argument
119 remote_ice_pwd_ = ice_pwd; in SetRemoteIceCredentials()
Dportallocator.h130 const std::string& ice_pwd);
174 const std::string& ice_pwd) = 0;
Dp2ptransportchannel.h86 const std::string& ice_pwd);
88 const std::string& ice_pwd);
Dp2ptransportchannel.cc256 const std::string& ice_pwd) { in SetIceCredentials() argument
262 ice_restart = (ice_ufrag_ != ice_ufrag) || (ice_pwd_!= ice_pwd); in SetIceCredentials()
266 ice_pwd_ = ice_pwd; in SetIceCredentials()
275 const std::string& ice_pwd) { in SetRemoteIceCredentials() argument
280 (remote_ice_pwd_!= ice_pwd); in SetRemoteIceCredentials()
284 remote_ice_pwd_ = ice_pwd; in SetRemoteIceCredentials()
Dtransport.cc99 if (desc.ice_ufrag.empty() && desc.ice_pwd.empty()) in VerifyIceParams()
106 if (desc.ice_pwd.length() < ICE_PWD_MIN_LENGTH || in VerifyIceParams()
107 desc.ice_pwd.length() > ICE_PWD_MAX_LENGTH) { in VerifyIceParams()
787 local_description_->ice_pwd); in ApplyLocalTransportDescription_w()
794 remote_description_->ice_pwd); in ApplyRemoteTransportDescription_w()
Ddtlstransportchannel_unittest.cc544 EXPECT_EQ(kIcePwd1, channel1->ice_pwd()); in TEST_F()
563 EXPECT_EQ(kIcePwd1, channel1->ice_pwd()); in TEST_F()
/external/chromium_org/third_party/libjingle/source/talk/p2p/client/
Dfakeportallocator.h28 const std::string& ice_pwd) in FakePortAllocatorSession() argument
29 : PortAllocatorSession(content_name, component, ice_ufrag, ice_pwd, in FakePortAllocatorSession()
94 const std::string& ice_pwd) { in CreateSessionInternal() argument
96 worker_thread_, factory_, content_name, component, ice_ufrag, ice_pwd); in CreateSessionInternal()
Dhttpportallocator.h67 const std::string& ice_pwd) = 0;
113 const std::string& ice_pwd,
161 const std::string& ice_ufrag, const std::string& ice_pwd);
171 const std::string& ice_pwd,
Dhttpportallocator.cc126 const std::string& ice_pwd, in HttpPortAllocatorSessionBase() argument
132 ice_ufrag, ice_pwd), in HttpPortAllocatorSessionBase()
249 const std::string& ice_ufrag, const std::string& ice_pwd) { in CreateSessionInternal() argument
251 ice_ufrag, ice_pwd, stun_hosts(), in CreateSessionInternal()
263 const std::string& ice_pwd, in HttpPortAllocatorSession() argument
269 ice_ufrag, ice_pwd, stun_hosts, in HttpPortAllocatorSession()
Dconnectivitychecker_unittest.cc90 const std::string& ice_ufrag, const std::string& ice_pwd, in FakeHttpPortAllocatorSession() argument
99 ice_pwd, in FakeHttpPortAllocatorSession()
148 const std::string& ice_ufrag, const std::string& ice_pwd) { in CreateSessionInternal() argument
157 ice_pwd, in CreateSessionInternal()
Dbasicportallocator.h100 const std::string& ice_pwd);
122 const std::string& ice_pwd);
Dconnectivitychecker.h121 const std::string& ice_pwd, in TestHttpPortAllocatorSession() argument
127 allocator, content_name, component, ice_ufrag, ice_pwd, stun_hosts, in TestHttpPortAllocatorSession()
Dbasicportallocator.cc232 const std::string& ice_ufrag, const std::string& ice_pwd) { in CreateSessionInternal() argument
234 ice_ufrag, ice_pwd); in CreateSessionInternal()
243 const std::string& ice_pwd) in BasicPortAllocatorSession() argument
245 ice_ufrag, ice_pwd, allocator->flags()), in BasicPortAllocatorSession()
Dconnectivitychecker.cc50 const std::string& ice_pwd) { in CreateSessionInternal() argument
52 ice_ufrag, ice_pwd, in CreateSessionInternal()
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/
Djsepsessiondescription.cc134 updated_candidate.set_password(transport_info->description.ice_pwd); in AddCandidate()
Dpeerconnection_unittest.cc322 IceUfragPwdPair(transport_desc->ice_ufrag, transport_desc->ice_pwd); in VerifyLocalIceUfragAndPassword()
326 EXPECT_NE(ufrag_pwd.second, transport_desc->ice_pwd); in VerifyLocalIceUfragAndPassword()
330 EXPECT_EQ(ufrag_pwd.second, transport_desc->ice_pwd); in VerifyLocalIceUfragAndPassword()
Dwebrtcsdp_unittest.cc809 EXPECT_EQ(transport1.description.ice_pwd, in CompareSessionDescription()
810 transport2.description.ice_pwd); in CompareSessionDescription()
866 const char ice_pwd[] = "a=ice-pwd"; in RemoveCandidateUfragPwd() local
870 talk_base::replace_substrs(ice_pwd, strlen(ice_pwd), in RemoveCandidateUfragPwd()
/external/chromium_org/third_party/libjingle/source/talk/session/media/
Dmediasession_unittest.cc279 EXPECT_EQ(current_audio_pwd, ti_audio->description.ice_pwd); in TestTransportInfo()
284 ti_audio->description.ice_pwd.size()); in TestTransportInfo()
296 EXPECT_EQ(ti_audio->description.ice_pwd, in TestTransportInfo()
297 ti_video->description.ice_pwd); in TestTransportInfo()
301 EXPECT_EQ(current_video_pwd, ti_video->description.ice_pwd); in TestTransportInfo()
306 ti_video->description.ice_pwd.size()); in TestTransportInfo()
318 EXPECT_EQ(ti_audio->description.ice_pwd, in TestTransportInfo()
319 ti_data->description.ice_pwd); in TestTransportInfo()
323 EXPECT_EQ(current_data_pwd, ti_data->description.ice_pwd); in TestTransportInfo()
328 ti_data->description.ice_pwd.size()); in TestTransportInfo()

12