Home
last modified time | relevance | path

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

1234

/external/chromium_org/third_party/libjingle/source/talk/p2p/base/
Dsession_unittest.cc236 std::string JingleEmptyContentXml(const std::string& content_name, in JingleEmptyContentXml() argument
240 " name=\"" + content_name + "\"" in JingleEmptyContentXml()
252 std::string JingleContentXml(const std::string& content_name, in JingleContentXml() argument
264 " name=\"" + content_name + "\"" in JingleContentXml()
274 std::string JingleTransportContentXml(const std::string& content_name, in JingleTransportContentXml() argument
278 " name=\"" + content_name + "\"" in JingleTransportContentXml()
367 std::string Jingle2TransportInfoXml(const std::string& content_name, in Jingle2TransportInfoXml() argument
374 content_name, kTransportType, in Jingle2TransportInfoXml()
379 std::string Jingle4TransportInfoXml(const std::string& content_name, in Jingle4TransportInfoXml() argument
389 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()
439 sdesc, iter->second->content_name(), &tdesc); in PushdownLocalTransportDescription()
463 sdesc, iter->second->content_name(), &tdesc); in PushdownRemoteTransportDescription()
474 TransportChannel* BaseSession::CreateChannel(const std::string& content_name, in CreateChannel() argument
480 TransportProxy* transproxy = GetOrCreateTransportProxy(content_name); in CreateChannel()
484 TransportChannel* BaseSession::GetChannel(const std::string& content_name, in GetChannel() argument
486 TransportProxy* transproxy = GetTransportProxy(content_name); in GetChannel()
493 void BaseSession::DestroyChannel(const std::string& content_name, in DestroyChannel() argument
495 TransportProxy* transproxy = GetTransportProxy(content_name); in DestroyChannel()
501 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()
111 std::string content_name() const { return content_name_; } in content_name() function
353 virtual Transport* GetTransport(const std::string& content_name);
361 virtual TransportChannel* CreateChannel(const std::string& content_name,
366 virtual TransportChannel* GetChannel(const std::string& content_name,
373 virtual void DestroyChannel(const std::string& content_name,
392 TransportProxy* GetTransportProxy(const std::string& content_name);
395 void DestroyTransportProxy(const std::string& content_name);
397 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()
322 const std::string& content_name,
325 content_name, "test_type", NULL),
366 new FakeTransportChannel(this, content_name(), component); in CreateTransportChannel()
435 FakeTransport* GetTransport(const std::string& content_name) { in GetTransport() argument
437 BaseSession::GetTransport(content_name)); in GetTransport()
452 const std::string& content_name, in CreateChannel() argument
458 return BaseSession::CreateChannel(content_name, channel_name, component); in CreateChannel()
477 virtual Transport* CreateTransport(const std::string& content_name) { in CreateTransport() argument
[all …]
Dportallocator.h72 PortAllocatorSession(const std::string& content_name,
83 std::string content_name() const { return content_name_; } in content_name() function
128 const std::string& content_name,
172 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()
/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()
384 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/third_party/libjingle/source/talk/session/tunnel/
Dsecuretunnelsessionclient.cc147 std::string content_name; in OnIncomingTunnel() local
150 &content_name, &content)) { in OnIncomingTunnel()
269 const std::string& content_name, const ContentDescription* content) { in NewSecureTunnelSessionDescription() argument
271 sdesc->AddContent(content_name, NS_SECURE_TUNNEL, content); in NewSecureTunnelSessionDescription()
287 std::string content_name; in CreateAnswer() local
289 if (!FindSecureTunnelContent(offer, &content_name, &offer_tunnel)) in CreateAnswer()
297 content_name, in CreateAnswer()
348 std::string content_name; in OnAccept() local
351 &content_name, &remote_tunnel)) { in OnAccept()
379 VERIFY(channel_->Connect(content_name, "tcp")); in OnAccept()
Dtunnelsessionclient.cc247 const std::string& content_name, const ContentDescription* content) { in NewTunnelSessionDescription() argument
249 sdesc->AddContent(content_name, NS_TUNNEL, content); in NewTunnelSessionDescription()
268 std::string content_name; in OnIncomingTunnel() local
271 &content_name, &content)) { in OnIncomingTunnel()
287 std::string content_name; in CreateAnswer() local
289 if (!FindTunnelContent(offer, &content_name, &offer_tunnel)) in CreateAnswer()
293 content_name, new TunnelContentDescription(offer_tunnel->description)); in CreateAnswer()
/external/chromium/third_party/libjingle/source/talk/p2p/base/
Dsession.h81 TransportProxy(const std::string& content_name, Transport* transport) in TransportProxy() argument
82 : content_name_(content_name), in TransportProxy()
88 std::string content_name() const { return content_name_; } in content_name() function
195 virtual TransportChannel* CreateChannel(const std::string& content_name,
199 virtual TransportChannel* GetChannel(const std::string& content_name,
206 virtual void DestroyChannel(const std::string& content_name,
327 Transport* GetTransport(const std::string& content_name);
355 virtual TransportChannel* CreateChannel(const std::string& content_name,
359 virtual TransportChannel* GetChannel(const std::string& content_name,
363 virtual void DestroyChannel(const std::string& content_name,
[all …]
Dsession.cc258 Transport* Session::GetTransport(const std::string& content_name) { in GetTransport() argument
259 TransportProxy* transproxy = GetTransportProxy(content_name); in GetTransport()
395 TransportProxy* Session::GetTransportProxy(const std::string& content_name) { in GetTransportProxy() argument
396 TransportMap::iterator iter = transports_.find(content_name); in GetTransportProxy()
422 TransportProxy* transproxy = GetTransportProxy(tinfo->content_name); in OnRemoteCandidates()
424 return BadParse("Unknown content name: " + tinfo->content_name, error); in OnRemoteCandidates()
442 cand->name() + " for content: "+ tinfo->content_name, in OnRemoteCandidates()
454 const std::string& content_name) { in GetOrCreateTransportProxy() argument
455 TransportProxy* transproxy = GetTransportProxy(content_name); in GetOrCreateTransportProxy()
477 transproxy = new TransportProxy(content_name, transport); in GetOrCreateTransportProxy()
[all …]
/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.cc126 const std::string& content_name, in HttpPortAllocatorSessionBase() argument
134 : BasicPortAllocatorSession(allocator, content_name, component, in HttpPortAllocatorSessionBase()
250 const std::string& content_name, in CreateSessionInternal() argument
253 return new HttpPortAllocatorSession(this, content_name, component, in CreateSessionInternal()
263 const std::string& content_name, in HttpPortAllocatorSession() argument
271 : HttpPortAllocatorSessionBase(allocator, content_name, component, in HttpPortAllocatorSession()
/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()
177 const std::string& content_name, in CreateSessionInternal() argument
182 this, content_name, component, ice_username_fragment, ice_password, in CreateSessionInternal()
/external/chromium_org/third_party/libjingle/source/talk/session/media/
Dmediamessages.cc73 buzz::XmlElement* CreateVideoViewElem(const std::string& content_name, in CreateVideoViewElem() argument
75 return CreateViewElem(content_name, type); in CreateVideoViewElem()
78 buzz::XmlElement* CreateNoneVideoViewElem(const std::string& content_name) { in CreateNoneVideoViewElem() argument
79 return CreateVideoViewElem(content_name, STR_JINGLE_DRAFT_VIEW_TYPE_NONE); in CreateNoneVideoViewElem()
82 buzz::XmlElement* CreateStaticVideoViewElem(const std::string& content_name, in CreateStaticVideoViewElem() argument
85 CreateVideoViewElem(content_name, STR_JINGLE_DRAFT_VIEW_TYPE_STATIC); in CreateStaticVideoViewElem()
199 bool WriteJingleViewRequest(const std::string& content_name, in WriteJingleViewRequest() argument
204 elems->push_back(CreateNoneVideoViewElem(content_name)); in WriteJingleViewRequest()
209 elems->push_back(CreateStaticVideoViewElem(content_name, *view)); in WriteJingleViewRequest()
Dchannelmanager.h110 BaseSession* session, const std::string& content_name, bool rtcp);
116 BaseSession* session, const std::string& content_name, bool rtcp,
121 BaseSession* session, const std::string& content_name,
255 BaseSession* session, const std::string& content_name, bool rtcp);
258 BaseSession* session, const std::string& content_name, bool rtcp,
262 BaseSession* session, const std::string& content_name,
/external/chromium/third_party/libjingle/source/talk/session/phone/
Dchannelmanager.cc65 CreationParams(BaseSession* session, const std::string& content_name, in CreationParams()
68 content_name(content_name), in CreationParams()
73 std::string content_name; member
294 BaseSession* session, const std::string& content_name, bool rtcp) { in CreateVoiceChannel() argument
295 CreationParams params(session, content_name, rtcp, NULL); in CreateVoiceChannel()
300 BaseSession* session, const std::string& content_name, bool rtcp) { in CreateVoiceChannel_w() argument
311 session, content_name, rtcp); in CreateVoiceChannel_w()
338 BaseSession* session, const std::string& content_name, bool rtcp, in CreateVideoChannel() argument
340 CreationParams params(session, content_name, rtcp, voice_channel); in CreateVideoChannel()
345 BaseSession* session, const std::string& content_name, bool rtcp, in CreateVideoChannel_w() argument
[all …]
Dchannelmanager.h106 BaseSession* session, const std::string& content_name, bool rtcp);
112 BaseSession* session, const std::string& content_name, bool rtcp,
167 BaseSession* session, const std::string& content_name, bool rtcp);
170 BaseSession* session, const std::string& content_name, bool rtcp,

1234