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

12

/external/webrtc/webrtc/p2p/base/
H A Dportallocator.cc19 const std::string& ice_pwd,
26 ice_pwd_(ice_pwd) {
28 RTC_DCHECK(!ice_pwd.empty());
36 const std::string& ice_pwd) {
37 return CreateSessionInternal(content_name, component, ice_ufrag, ice_pwd);
16 PortAllocatorSession(const std::string& content_name, int component, const std::string& ice_ufrag, const std::string& ice_pwd, uint32_t flags) argument
31 CreateSession( const std::string& sid, const std::string& content_name, int component, const std::string& ice_ufrag, const std::string& ice_pwd) argument
H A Dtransportdescription.h81 const std::string& ice_pwd,
88 ice_pwd(ice_pwd),
94 const std::string& ice_pwd)
96 ice_pwd(ice_pwd),
102 ice_pwd(from.ice_pwd),
115 ice_pwd = from.ice_pwd;
79 TransportDescription(const std::vector<std::string>& transport_options, const std::string& ice_ufrag, const std::string& ice_pwd, IceMode ice_mode, ConnectionRole role, const rtc::SSLFingerprint* identity_fingerprint, const Candidates& candidates) argument
93 TransportDescription(const std::string& ice_ufrag, const std::string& ice_pwd) argument
144 std::string ice_pwd; member in struct:cricket::TransportDescription
[all...]
H A Dtransportdescriptionfactory.cc33 desc->ice_pwd = rtc::CreateRandomString(ICE_PWD_LENGTH);
36 desc->ice_pwd = current_description->ice_pwd;
67 desc->ice_pwd = rtc::CreateRandomString(ICE_PWD_LENGTH);
70 desc->ice_pwd = current_description->ice_pwd;
H A Dtransportchannelimpl.h53 const std::string& ice_pwd) = 0;
57 const std::string& ice_pwd) = 0;
H A Dtransportdescriptionfactory_unittest.cc36 const std::string& ice_pwd, const std::string& dtls_alg) {
39 if (ice_ufrag.empty() && ice_pwd.empty()) {
43 desc->ice_pwd.size());
46 EXPECT_EQ(ice_pwd, desc->ice_pwd);
99 EXPECT_NE(org_desc->ice_pwd, restart_desc->ice_pwd);
104 restart_desc->ice_pwd.size());
165 old_desc->ice_ufrag, old_desc->ice_pwd, digest_alg);
193 old_desc->ice_ufrag, old_desc->ice_pwd, "");
34 CheckDesc(const TransportDescription* desc, const std::string& opt, const std::string& ice_ufrag, const std::string& ice_pwd, const std::string& dtls_alg) argument
[all...]
H A Dtransport.cc27 if (desc.ice_ufrag.empty() && desc.ice_pwd.empty())
34 if (desc.ice_pwd.length() < ICE_PWD_MIN_LENGTH ||
35 desc.ice_pwd.length() > ICE_PWD_MAX_LENGTH) {
62 return IceCredentialsChanged(old_desc.ice_ufrag, old_desc.ice_pwd,
63 new_desc.ice_ufrag, new_desc.ice_pwd);
345 local_description_->ice_pwd);
352 remote_description_->ice_pwd);
H A Ddtlstransportchannel.h171 const std::string& ice_pwd) override {
172 channel_->SetIceCredentials(ice_ufrag, ice_pwd);
175 const std::string& ice_pwd) override {
176 channel_->SetRemoteIceCredentials(ice_ufrag, ice_pwd);
H A Dp2ptransportchannel.h42 IceParameters(const std::string& ice_ufrag, const std::string& ice_pwd) argument
43 : ufrag(ice_ufrag), pwd(ice_pwd) {}
81 const std::string& ice_pwd) override;
83 const std::string& ice_pwd) override;
H A Dportallocator.h117 const std::string& ice_pwd,
146 const std::string& ice_pwd() const { return ice_pwd_; } function in class:cricket::PortAllocatorSession
150 // ice_pwd.
194 const std::string& ice_pwd);
243 const std::string& ice_pwd) = 0;
H A Dfaketransportcontroller.h59 const std::string& ice_pwd() const { return ice_pwd_; } function in class:cricket::FakeTransportChannel
91 const std::string& ice_pwd) override {
93 ice_pwd_ = ice_pwd;
96 const std::string& ice_pwd) override {
98 remote_ice_pwd_ = ice_pwd;
H A Dp2ptransportchannel.cc338 const std::string& ice_pwd) {
341 ice_pwd_ = ice_pwd;
347 const std::string& ice_pwd) {
350 IceParameters new_ice(ice_ufrag, ice_pwd);
360 candidate.set_password(ice_pwd);
365 conn->MaybeSetRemoteIceCredentials(ice_ufrag, ice_pwd);
417 allocator_sessions_.back()->ice_pwd(), ice_ufrag_,
337 SetIceCredentials(const std::string& ice_ufrag, const std::string& ice_pwd) argument
346 SetRemoteIceCredentials(const std::string& ice_ufrag, const std::string& ice_pwd) argument
H A Dtransport_unittest.cc74 EXPECT_EQ(kIcePwd1, channel_->ice_pwd());
H A Dport.h566 const std::string& ice_pwd);
H A Dport.cc1283 const std::string& ice_pwd) {
1286 remote_candidate_.set_password(ice_pwd);
1282 MaybeSetRemoteIceCredentials(const std::string& ice_ufrag, const std::string& ice_pwd) argument
/external/webrtc/webrtc/p2p/client/
H A Dhttpportallocator.h56 const std::string& ice_pwd) = 0;
102 const std::string& ice_pwd,
H A Dfakeportallocator.h90 const std::string& ice_pwd)
91 : PortAllocatorSession(content_name, component, ice_ufrag, ice_pwd,
172 const std::string& ice_pwd) override {
174 worker_thread_, factory_, content_name, component, ice_ufrag, ice_pwd);
85 FakePortAllocatorSession(rtc::Thread* worker_thread, rtc::PacketSocketFactory* factory, const std::string& content_name, int component, const std::string& ice_ufrag, const std::string& ice_pwd) argument
H A Dhttpportallocator.cc108 const std::string& ice_pwd,
114 ice_ufrag, ice_pwd),
103 HttpPortAllocatorSessionBase( HttpPortAllocatorBase* allocator, const std::string& content_name, int component, const std::string& ice_ufrag, const std::string& ice_pwd, const std::vector<rtc::SocketAddress>& stun_hosts, const std::vector<std::string>& relay_hosts, const std::string& relay_token, const std::string& user_agent) argument
H A Dbasicportallocator.h78 const std::string& ice_pwd) override;
101 const std::string& ice_pwd);
H A Dbasicportallocator.cc135 const std::string& ice_ufrag, const std::string& ice_pwd) {
137 this, content_name, component, ice_ufrag, ice_pwd);
147 const std::string& ice_pwd)
149 ice_ufrag, ice_pwd, allocator->flags()),
133 CreateSessionInternal( const std::string& content_name, int component, const std::string& ice_ufrag, const std::string& ice_pwd) argument
142 BasicPortAllocatorSession( BasicPortAllocator *allocator, const std::string& content_name, int component, const std::string& ice_ufrag, const std::string& ice_pwd) argument
/external/webrtc/talk/app/webrtc/
H A Djsepsessiondescription.cc142 updated_candidate.set_password(transport_info->description.ice_pwd);
H A Dwebrtcsdp_unittest.cc890 EXPECT_EQ(transport1.description.ice_pwd,
891 transport2.description.ice_pwd);
950 const char ice_pwd[] = "a=ice-pwd"; local
954 rtc::replace_substrs(ice_pwd, strlen(ice_pwd),
1002 const std::string& ice_pwd) {
1008 transport_info.description.ice_pwd = ice_pwd;
1000 SetIceUfragPwd(const std::string& content_name, const std::string& ice_ufrag, const std::string& ice_pwd) argument
H A Dpeerconnection_unittest.cc580 IceUfragPwdPair(transport_desc->ice_ufrag, transport_desc->ice_pwd);
584 EXPECT_NE(ufrag_pwd.second, transport_desc->ice_pwd);
588 EXPECT_EQ(ufrag_pwd.second, transport_desc->ice_pwd);
H A Dwebrtcsession.cc240 tinfo->description.ice_pwd.empty()) {
525 old_transport_desc->ice_pwd,
527 new_transport_desc->ice_pwd)) {
H A Dwebrtcsdp.cc1304 if (!transport_info->description.ice_pwd.empty()) {
1306 os << kSdpDelimiterColon << transport_info->description.ice_pwd;
1918 if (!GetValue(line, kAttributeIcePwd, &(session_td->ice_pwd), error)) {
2212 session_td.ice_pwd,
2536 if (!GetValue(line, kAttributeIcePwd, &transport->ice_pwd, error)) {
2693 (*it).set_password(transport->ice_pwd);
/external/webrtc/talk/session/media/
H A Dmediasession_unittest.cc323 EXPECT_EQ(current_audio_pwd, ti_audio->description.ice_pwd);
328 ti_audio->description.ice_pwd.size());
340 EXPECT_EQ(ti_audio->description.ice_pwd,
341 ti_video->description.ice_pwd);
345 EXPECT_EQ(current_video_pwd, ti_video->description.ice_pwd);
350 ti_video->description.ice_pwd.size());
362 EXPECT_EQ(ti_audio->description.ice_pwd,
363 ti_data->description.ice_pwd);
367 EXPECT_EQ(current_data_pwd, ti_data->description.ice_pwd);
372 ti_data->description.ice_pwd
[all...]

Completed in 597 milliseconds

12