Home
last modified time | relevance | path

Searched refs:content_name (Results 1 – 25 of 69) sorted by relevance

123

/external/chromium_org/third_party/libjingle/source/talk/p2p/base/
Dsession_unittest.cc223 std::string JingleEmptyContentXml(const std::string& content_name, in JingleEmptyContentXml() argument
227 " name=\"" + content_name + "\"" in JingleEmptyContentXml()
239 std::string JingleContentXml(const std::string& content_name, in JingleContentXml() argument
251 " name=\"" + content_name + "\"" in JingleContentXml()
261 std::string JingleTransportContentXml(const std::string& content_name, in JingleTransportContentXml() argument
265 " name=\"" + content_name + "\"" in JingleTransportContentXml()
354 std::string Jingle2TransportInfoXml(const std::string& content_name, in Jingle2TransportInfoXml() argument
361 content_name, kTransportType, in Jingle2TransportInfoXml()
366 std::string Jingle4TransportInfoXml(const std::string& content_name, in Jingle4TransportInfoXml() argument
376 content_name, kTransportType, in Jingle4TransportInfoXml()
[all …]
Dsessiondescription.cc71 bool ContentGroup::HasContentName(const std::string& content_name) const { in HasContentName()
73 content_name) != content_names_.end()); in HasContentName()
76 void ContentGroup::AddContentName(const std::string& content_name) { in AddContentName() argument
77 if (!HasContentName(content_name)) { in AddContentName()
78 content_names_.push_back(content_name); in AddContentName()
82 bool ContentGroup::RemoveContentName(const std::string& content_name) { in RemoveContentName() argument
84 content_names_.begin(), content_names_.end(), content_name); in RemoveContentName()
168 if (GetTransportInfoByName(transport_info.content_name) != NULL) { in AddTransportInfo()
178 if (transport_info->content_name == name) { in RemoveTransportInfoByName()
190 if (iter->content_name == name) { in GetTransportInfoByName()
[all …]
Dtransportinfo.h47 TransportInfo(const std::string& content_name, in TransportInfo()
49 : content_name(content_name), in TransportInfo()
52 std::string content_name; member
Dportallocator.cc34 PortAllocatorSession::PortAllocatorSession(const std::string& content_name, in PortAllocatorSession() argument
39 : content_name_(content_name), in PortAllocatorSession()
59 const std::string& content_name, in CreateSession() argument
74 content_name, component, ice_ufrag, ice_pwd); in CreateSession()
83 new PortAllocatorSessionProxy(content_name, component, flags_); in CreateSession()
87 return CreateSessionInternal(content_name, component, ice_ufrag, ice_pwd); in CreateSession()
Dsessionmessages.cc262 const std::string& content_name) { in GetCandidateTranslator() argument
263 CandidateTranslatorMap::const_iterator map = translators.find(content_name); in GetCandidateTranslator()
274 const std::string& content_name, in GetParserAndTranslator() argument
286 *translator = GetCandidateTranslator(translators, content_name); in GetParserAndTranslator()
293 const std::string& content_name, in GetParserAndTranslator() argument
301 *translator = GetCandidateTranslator(translators, content_name); in GetParserAndTranslator()
303 return BadWrite("unknown content name: " + content_name, error); in GetParserAndTranslator()
311 const std::string& content_name, in ParseGingleCandidate() argument
317 NS_GINGLE_P2P, content_name, in ParseGingleCandidate()
334 const std::string& content_name, in ParseGingleCandidates() argument
[all …]
Dsession.cc84 new TransportChannelProxy(content_name(), name, component); in CreateChannel()
459 sdesc, iter->second->content_name(), &tdesc); in PushdownLocalTransportDescription()
485 sdesc, iter->second->content_name(), &tdesc); in PushdownRemoteTransportDescription()
497 TransportChannel* BaseSession::CreateChannel(const std::string& content_name, in CreateChannel() argument
503 TransportProxy* transproxy = GetOrCreateTransportProxy(content_name); in CreateChannel()
507 TransportChannel* BaseSession::GetChannel(const std::string& content_name, in GetChannel() argument
509 TransportProxy* transproxy = GetTransportProxy(content_name); in GetChannel()
516 void BaseSession::DestroyChannel(const std::string& content_name, in DestroyChannel() argument
518 TransportProxy* transproxy = GetTransportProxy(content_name); in DestroyChannel()
524 const std::string& content_name) { in GetOrCreateTransportProxy() argument
[all …]
Dsession.h96 const std::string& content_name, in TransportProxy() argument
100 content_name_(content_name), in TransportProxy()
113 std::string content_name() const { return content_name_; } in content_name() function
368 virtual Transport* GetTransport(const std::string& content_name);
376 virtual TransportChannel* CreateChannel(const std::string& content_name,
381 virtual TransportChannel* GetChannel(const std::string& content_name,
388 virtual void DestroyChannel(const std::string& content_name,
408 TransportProxy* GetTransportProxy(const std::string& content_name);
411 void DestroyTransportProxy(const std::string& content_name);
413 TransportProxy* GetOrCreateTransportProxy(const std::string& content_name);
[all …]
Dfakesession.h62 const std::string& content_name, in FakeTransportChannel() argument
64 : TransportChannelImpl(content_name, component), in FakeTransportChannel()
336 const std::string& content_name,
339 content_name, "test_type", NULL),
380 new FakeTransportChannel(this, content_name(), component); in CreateTransportChannel()
449 FakeTransport* GetTransport(const std::string& content_name) { in GetTransport() argument
451 BaseSession::GetTransport(content_name)); in GetTransport()
466 const std::string& content_name, in CreateChannel() argument
472 return BaseSession::CreateChannel(content_name, channel_name, component); in CreateChannel()
491 virtual Transport* CreateTransport(const std::string& content_name) { in CreateTransport() argument
[all …]
Dportallocator.h71 PortAllocatorSession(const std::string& content_name,
82 std::string content_name() const { return content_name_; } in content_name() function
127 const std::string& content_name,
171 const std::string& content_name,
Dtransportchannel.h60 explicit TransportChannel(const std::string& content_name, int component) in TransportChannel() argument
61 : content_name_(content_name), in TransportChannel()
70 const std::string& content_name() const { return content_name_; } in content_name() function
Drawtransport.cc45 const std::string& content_name, in RawTransport() argument
48 content_name, NS_GINGLE_RAW, allocator) { in RawTransport()
122 return new RawTransportChannel(content_name(), component, this, in CreateTransportChannel()
Dsessiondescription.h83 bool HasContentName(const std::string& content_name) const;
84 void AddContentName(const std::string& content_name);
85 bool RemoveContentName(const std::string& content_name);
Dtransportchannelimpl.h46 explicit TransportChannelImpl(const std::string& content_name, int component) in TransportChannelImpl() argument
47 : TransportChannel(content_name, component) {} in TransportChannelImpl()
/external/chromium_org/third_party/libjingle/source/talk/session/tunnel/
Dsecuretunnelsessionclient.cc151 std::string content_name; in OnIncomingTunnel() local
154 &content_name, &content)) { in OnIncomingTunnel()
273 const std::string& content_name, ContentDescription* content) { in NewSecureTunnelSessionDescription() argument
275 sdesc->AddContent(content_name, NS_SECURE_TUNNEL, content); in NewSecureTunnelSessionDescription()
291 std::string content_name; in CreateAnswer() local
293 if (!FindSecureTunnelContent(offer, &content_name, &offer_tunnel)) in CreateAnswer()
301 content_name, in CreateAnswer()
352 std::string content_name; in OnAccept() local
355 &content_name, &remote_tunnel)) { in OnAccept()
394 content_name, "tcp", ICE_CANDIDATE_COMPONENT_DEFAULT)); in OnAccept()
Dtunnelsessionclient.cc255 const std::string& content_name, ContentDescription* content) { in NewTunnelSessionDescription() argument
257 sdesc->AddContent(content_name, NS_TUNNEL, content); in NewTunnelSessionDescription()
276 std::string content_name; in OnIncomingTunnel() local
279 &content_name, &content)) { in OnIncomingTunnel()
305 std::string content_name; in CreateAnswer() local
307 if (!FindTunnelContent(offer, &content_name, &offer_tunnel)) in CreateAnswer()
311 content_name, new TunnelContentDescription(offer_tunnel->description)); in CreateAnswer()
312 const TransportInfo* tinfo = offer->GetTransportInfoByName(content_name); in CreateAnswer()
320 answer->AddTransportInfo(TransportInfo(content_name, *tdesc)); in CreateAnswer()
/external/chromium_org/third_party/libjingle/source/talk/p2p/client/
Dfakeportallocator.h25 const std::string& content_name, in FakePortAllocatorSession() argument
29 : PortAllocatorSession(content_name, component, ice_ufrag, ice_pwd, in FakePortAllocatorSession()
91 const std::string& content_name, in CreateSessionInternal() argument
96 worker_thread_, factory_, content_name, component, ice_ufrag, ice_pwd); in CreateSessionInternal()
Dhttpportallocator.h64 const std::string& content_name,
110 const std::string& content_name,
159 const std::string& content_name,
168 const std::string& content_name,
Dhttpportallocator.cc123 const std::string& content_name, in HttpPortAllocatorSessionBase() argument
131 : BasicPortAllocatorSession(allocator, content_name, component, in HttpPortAllocatorSessionBase()
247 const std::string& content_name, in CreateSessionInternal() argument
250 return new HttpPortAllocatorSession(this, content_name, component, in CreateSessionInternal()
260 const std::string& content_name, in HttpPortAllocatorSession() argument
268 : HttpPortAllocatorSessionBase(allocator, content_name, component, in HttpPortAllocatorSession()
/external/chromium_org/third_party/libjingle/source/talk/session/media/
Dmediamessages.cc66 buzz::XmlElement* CreateVideoViewElem(const std::string& content_name, in CreateVideoViewElem() argument
68 return CreateViewElem(content_name, type); in CreateVideoViewElem()
71 buzz::XmlElement* CreateNoneVideoViewElem(const std::string& content_name) { in CreateNoneVideoViewElem() argument
72 return CreateVideoViewElem(content_name, STR_JINGLE_DRAFT_VIEW_TYPE_NONE); in CreateNoneVideoViewElem()
75 buzz::XmlElement* CreateStaticVideoViewElem(const std::string& content_name, in CreateStaticVideoViewElem() argument
78 CreateVideoViewElem(content_name, STR_JINGLE_DRAFT_VIEW_TYPE_STATIC); in CreateStaticVideoViewElem()
192 bool WriteJingleViewRequest(const std::string& content_name, in WriteJingleViewRequest() argument
197 elems->push_back(CreateNoneVideoViewElem(content_name)); in WriteJingleViewRequest()
202 elems->push_back(CreateStaticVideoViewElem(content_name, *view)); in WriteJingleViewRequest()
Dchannelmanager.h111 BaseSession* session, const std::string& content_name, bool rtcp);
117 BaseSession* session, const std::string& content_name, bool rtcp,
122 BaseSession* session, const std::string& content_name,
257 BaseSession* session, const std::string& content_name, bool rtcp);
260 BaseSession* session, const std::string& content_name, bool rtcp,
264 BaseSession* session, const std::string& content_name,
Dmediasession.cc543 if (bundle_group.HasContentName(it->content_name) && in UpdateTransportInfoForBundle()
544 it->content_name != selected_content_name) { in UpdateTransportInfoForBundle()
555 const std::string& content_name, in GetCryptosByName() argument
561 const ContentInfo* content = sdesc->GetContentByName(content_name); in GetCryptosByName()
603 const std::string& content_name) { in IsRtpContent() argument
605 ContentInfo* content = sdesc->GetContentByName(content_name); in IsRtpContent()
1021 const std::string& content_name, in GetTransportDescription() argument
1026 current_description->GetTransportInfoByName(content_name); in GetTransportDescription()
1036 const std::string& content_name, in IsDtlsActive() argument
1042 current_description->GetContentByName(content_name); in IsDtlsActive()
[all …]
Dchannelmanager.cc321 BaseSession* session, const std::string& content_name, bool rtcp) { in CreateVoiceChannel() argument
324 session, content_name, rtcp)); in CreateVoiceChannel()
328 BaseSession* session, const std::string& content_name, bool rtcp) { in CreateVoiceChannel_w() argument
337 session, content_name, rtcp); in CreateVoiceChannel_w()
367 BaseSession* session, const std::string& content_name, bool rtcp, in CreateVideoChannel() argument
371 content_name, rtcp, voice_channel)); in CreateVideoChannel()
375 BaseSession* session, const std::string& content_name, bool rtcp, in CreateVideoChannel_w() argument
388 session, content_name, rtcp, voice_channel); in CreateVideoChannel_w()
418 BaseSession* session, const std::string& content_name, in CreateDataChannel() argument
421 Bind(&ChannelManager::CreateDataChannel_w, this, session, content_name, in CreateDataChannel()
[all …]
/external/chromium_org/remoting/jingle_glue/
Dchromium_port_allocator.cc28 const std::string& content_name,
54 const std::string& content_name, in ChromiumPortAllocatorSession() argument
63 content_name, in ChromiumPortAllocatorSession()
179 const std::string& content_name, in CreateSessionInternal() argument
184 this, content_name, component, ice_username_fragment, ice_password, in CreateSessionInternal()
/external/chromium_org/remoting/client/plugin/
Dpepper_port_allocator.cc34 const std::string& content_name,
74 const std::string& content_name, in PepperPortAllocatorSession() argument
83 content_name, in PepperPortAllocatorSession()
328 const std::string& content_name, in CreateSessionInternal() argument
333 this, content_name, component, ice_username_fragment, ice_password, in CreateSessionInternal()
/external/chromium_org/content/renderer/p2p/
Dport_allocator.cc90 const std::string& content_name, in CreateSessionInternal() argument
95 this, content_name, component, ice_username_fragment, ice_password); in CreateSessionInternal()
100 const std::string& content_name, in P2PPortAllocatorSession() argument
105 allocator, content_name, component, in P2PPortAllocatorSession()

123