Home
last modified time | relevance | path

Searched refs:FirstNamed (Results 1 – 25 of 49) sorted by relevance

12

/external/chromium_org/third_party/libjingle/source/talk/xmpp/
Dmucroomdiscoverytask.cc42 const XmlElement* query = stanza->FirstNamed(QN_DISCO_INFO_QUERY); in HandleResult()
50 const XmlElement* identity = query->FirstNamed(QN_DISCO_IDENTITY); in HandleResult()
60 identity->FirstNamed(QN_GOOGLE_MUC_HANGOUT_CONVERSATION_ID); in HandleResult()
66 for (const XmlElement* feature = query->FirstNamed(QN_DISCO_FEATURE); in HandleResult()
71 const XmlElement* data_x = query->FirstNamed(QN_XDATA_X); in HandleResult()
73 for (const XmlElement* field = data_x->FirstNamed(QN_XDATA_FIELD); in HandleResult()
Dpubsubtasks.cc49 const XmlElement* event_elem = stanza->FirstNamed(QN_PUBSUB_EVENT); in IsPubSubEventItemsElem()
54 const XmlElement* items_elem = event_elem->FirstNamed(QN_PUBSUB_EVENT_ITEMS); in IsPubSubEventItemsElem()
126 const XmlElement* event_elem = stanza->FirstNamed(QN_PUBSUB_EVENT); in ParseEventItemsElem()
129 event_elem->FirstNamed(QN_PUBSUB_EVENT_ITEMS); in ParseEventItemsElem()
132 items_elem->FirstNamed(QN_PUBSUB_EVENT_ITEM); in ParseEventItemsElem()
138 items_elem->FirstNamed(QN_PUBSUB_EVENT_RETRACT); in ParseEventItemsElem()
149 const XmlElement* pubsub_elem = stanza->FirstNamed(QN_PUBSUB); in ParsePubSubItemsElem()
151 const XmlElement* items_elem = pubsub_elem->FirstNamed(QN_PUBSUB_ITEMS); in ParsePubSubItemsElem()
153 for (const XmlElement* item_elem = items_elem->FirstNamed(QN_PUBSUB_ITEM); in ParsePubSubItemsElem()
Dpresencereceivetask.cc91 const XmlElement * status_elem = stanza->FirstNamed(QN_STATUS); in DecodeStatus()
108 const XmlElement * priority = stanza->FirstNamed(QN_PRIORITY); in DecodeStatus()
116 const XmlElement * show = stanza->FirstNamed(QN_SHOW); in DecodeStatus()
131 const XmlElement * caps = stanza->FirstNamed(QN_CAPS_C); in DecodeStatus()
142 const XmlElement* delay = stanza->FirstNamed(kQnDelayX); in DecodeStatus()
151 const XmlElement* nick = stanza->FirstNamed(QN_NICKNAME); in DecodeStatus()
Djingleinfotask.cc109 const XmlElement * query = stanza->FirstNamed(QN_JINGLE_INFO_QUERY); in ProcessStart()
112 const XmlElement *stun = query->FirstNamed(QN_JINGLE_INFO_STUN); in ProcessStart()
114 for (const XmlElement *server = stun->FirstNamed(QN_JINGLE_INFO_SERVER); in ProcessStart()
124 const XmlElement *relay = query->FirstNamed(QN_JINGLE_INFO_RELAY); in ProcessStart()
127 for (const XmlElement *server = relay->FirstNamed(QN_JINGLE_INFO_SERVER); in ProcessStart()
Dmucroomlookuptask.cc136 const XmlElement* query_elem = stanza->FirstNamed(QN_SEARCH_QUERY); in HandleResult()
142 const XmlElement* item_elem = query_elem->FirstNamed(QN_SEARCH_ITEM); in HandleResult()
156 item_elem->FirstNamed(QN_SEARCH_ROOM_NAME); in HandleResult()
162 item_elem->FirstNamed(QN_SEARCH_ROOM_DOMAIN); in HandleResult()
168 item_elem->FirstNamed(QN_SEARCH_HANGOUT_ID); in HandleResult()
Dpubsubclient.cc102 const XmlElement* pubsub = stanza->FirstNamed(QN_PUBSUB); in GetItemFromStanza()
104 const XmlElement* publish = pubsub->FirstNamed(QN_PUBSUB_PUBLISH); in GetItemFromStanza()
106 return publish->FirstNamed(QN_PUBSUB_ITEM); in GetItemFromStanza()
Dpubsub_task.cc54 stanza->FirstNamed(QN_PUBSUB_EVENT); in HandleStanza()
62 const buzz::XmlElement* pubsub_item = stanza->FirstNamed(QN_PUBSUB); in HandleStanza()
79 OnPubsubError(stanza->FirstNamed(buzz::QN_ERROR)); in ProcessResponse()
Drostermoduleimpl.cc260 for (status_element = element = raw_xml_->FirstNamed(QN_STATUS); in status()
296 XmlElement* con = raw_xml_->FirstNamed(QN_GOOGLE_PSTN_CONFERENCE_STATUS); in connection_status()
317 XmlElement* muc_user_x = raw_xml_->FirstNamed(QN_MUC_USER_X); in google_user_id()
319 XmlElement* muc_user_item = muc_user_x->FirstNamed(QN_MUC_USER_ITEM); in google_user_id()
333 XmlElement* nickname = raw_xml_->FirstNamed(QN_NICKNAME); in nickname()
447 XmlElement *group_element = raw_xml_->FirstNamed(QN_ROSTER_GROUP); in GetGroupCount()
480 XmlElement * group_element = raw_xml_->FirstNamed(QN_ROSTER_GROUP); in GetGroup()
863 const XmlElement * roster_query = stanza->FirstNamed(QN_ROSTER_QUERY); in HandleStanza()
1022 const XmlElement* result_data = stanza->FirstNamed(QN_ROSTER_QUERY); in InternalRosterItems()
1028 for (const XmlElement* roster_item = result_data->FirstNamed(QN_ROSTER_ITEM); in InternalRosterItems()
Dhangoutpubsubclient.cc101 item.elem->FirstNamed(QN_PRESENTER_PRESENTER); in ParseStateItem()
103 item.elem->FirstNamed(QN_PRESENTER_PRESENTATION_ITEM); in ParseStateItem()
298 item->FirstNamed(QN_GOOGLE_MUC_AUDIO_MUTE); in GetAudioMuteNickFromItem()
309 item->FirstNamed(QN_GOOGLE_MUC_MEDIA_BLOCK); in GetBlockeeNickFromItem()
/external/chromium_org/third_party/libjingle/source/talk/examples/call/
Dmucinviterecvtask.cc81 xstanza = stanza->FirstNamed(QN_MUC_USER_X); in HandleStanza()
83 invite = xstanza->FirstNamed(QN_MUC_USER_INVITE); in HandleStanza()
89 invite->FirstNamed(QN_GOOGLE_MUC_USER_AVAILABLE_MEDIA); in HandleStanza()
91 for (const XmlElement* entry = avail->FirstNamed(QN_GOOGLE_MUC_USER_ENTRY); in HandleStanza()
100 entry->FirstNamed(QN_GOOGLE_MUC_USER_TYPE), in HandleStanza()
106 entry->FirstNamed(QN_GOOGLE_MUC_USER_STATUS), in HandleStanza()
Dpresencepushtask.cc102 const XmlElement* elem = stanza->FirstNamed(QN_MUC_USER_X); in HandleMucPresence()
106 if (elem->FirstNamed(QN_MUC_USER_ITEM) && in HandleMucPresence()
115 const XmlElement* elem = stanza->FirstNamed(QN_ERROR); in HandleMucPresence()
136 const XmlElement * status = stanza->FirstNamed(QN_STATUS); in FillStatus()
153 const XmlElement * priority = stanza->FirstNamed(QN_PRIORITY); in FillStatus()
161 const XmlElement * show = stanza->FirstNamed(QN_SHOW); in FillStatus()
183 const XmlElement * caps = stanza->FirstNamed(QN_CAPS_C); in FillStatus()
201 const XmlElement* delay = stanza->FirstNamed(kQnDelayX); in FillStatus()
210 const XmlElement* nick = stanza->FirstNamed(QN_NICKNAME); in FillStatus()
/external/chromium_org/third_party/webrtc/libjingle/xmllite/
Dxmlelement_unittest.cc192 element->FirstNamed(QName("", "firstname"))); in TEST()
194 element->FirstNamed(QName("test-foo", "firstname"))); in TEST()
196 element->FirstNamed(QName("test-foo", "middlename"))); in TEST()
198 element->FirstNamed(QName("test-foo", "middlename"))); in TEST()
202 element->FirstNamed(QName("test-foo", "lastname"))); in TEST()
203 EXPECT_EQ("John", element->FirstNamed(QName("test-foo", "firstname"))-> in TEST()
205 EXPECT_EQ("Y.", element->FirstNamed(QName("test-foo", "middlename"))-> in TEST()
207 EXPECT_EQ("Lennon", element->FirstNamed(QName("test-foo", "lastname"))-> in TEST()
209 EXPECT_TRUE(NULL == element->FirstNamed(QName("test-foo", "firstname"))-> in TEST()
Dxmlelement.h170 XmlElement* FirstNamed(const StaticQName& name);
171 const XmlElement* FirstNamed(const StaticQName& name) const { in FirstNamed() function
172 return const_cast<XmlElement *>(this)->FirstNamed(name); in FirstNamed()
175 XmlElement* FirstNamed(const QName& name);
176 const XmlElement* FirstNamed(const QName& name) const { in FirstNamed() function
177 return const_cast<XmlElement *>(this)->FirstNamed(name); in FirstNamed()
/external/chromium_org/third_party/libjingle/source/talk/xmllite/
Dxmlelement_unittest.cc209 element->FirstNamed(QName("", "firstname"))); in TEST()
211 element->FirstNamed(QName("test-foo", "firstname"))); in TEST()
213 element->FirstNamed(QName("test-foo", "middlename"))); in TEST()
215 element->FirstNamed(QName("test-foo", "middlename"))); in TEST()
219 element->FirstNamed(QName("test-foo", "lastname"))); in TEST()
220 EXPECT_EQ("John", element->FirstNamed(QName("test-foo", "firstname"))-> in TEST()
222 EXPECT_EQ("Y.", element->FirstNamed(QName("test-foo", "middlename"))-> in TEST()
224 EXPECT_EQ("Lennon", element->FirstNamed(QName("test-foo", "lastname"))-> in TEST()
226 EXPECT_TRUE(NULL == element->FirstNamed(QName("test-foo", "firstname"))-> in TEST()
Dxmlelement.h187 XmlElement* FirstNamed(const StaticQName& name);
188 const XmlElement* FirstNamed(const StaticQName& name) const { in FirstNamed() function
189 return const_cast<XmlElement *>(this)->FirstNamed(name); in FirstNamed()
192 XmlElement* FirstNamed(const QName& name);
193 const XmlElement* FirstNamed(const QName& name) const { in FirstNamed() function
194 return const_cast<XmlElement *>(this)->FirstNamed(name); in FirstNamed()
/external/chromium_org/remoting/signaling/
Djingle_info_request.cc60 stanza->FirstNamed(buzz::QN_JINGLE_INFO_QUERY); in OnResponse()
68 const buzz::XmlElement* stun = query->FirstNamed(buzz::QN_JINGLE_INFO_STUN); in OnResponse()
71 stun->FirstNamed(buzz::QN_JINGLE_INFO_SERVER); in OnResponse()
88 const buzz::XmlElement* relay = query->FirstNamed(buzz::QN_JINGLE_INFO_RELAY); in OnResponse()
92 relay->FirstNamed(buzz::QN_JINGLE_INFO_SERVER); in OnResponse()
/external/chromium_org/third_party/libjingle/source/talk/session/media/
Dmediamessages.cc142 return action_elem->FirstNamed(QN_JINGLE_DRAFT_VIEW) != NULL; in IsJingleViewRequest()
155 view_elem->FirstNamed(QN_JINGLE_DRAFT_PARAMS); in ParseStaticVideoView()
172 action_elem->FirstNamed(QN_JINGLE_DRAFT_VIEW); in ParseJingleViewRequest()
227 parent_elem->FirstNamed(QN_JINGLE_DRAFT_SSRC); in ParseSsrcs()
244 parent_elem->FirstNamed(QN_JINGLE_DRAFT_SSRC_GROUP); in ParseSsrcGroups()
282 parent_elem->FirstNamed(QN_JINGLE_RTP_HDREXT); in ParseJingleRtpHeaderExtensions()
297 desc_elem->FirstNamed(QN_JINGLE_DRAFT_STREAMS); in HasJingleStreams()
305 desc_elem->FirstNamed(QN_JINGLE_DRAFT_STREAMS); in ParseJingleStreams()
310 streams_elem->FirstNamed(QN_JINGLE_DRAFT_STREAM); in ParseJingleStreams()
Dmediasessionclient.cc298 const buzz::XmlElement* ssrc_elem = parent_elem->FirstNamed(name); in ParseGingleSsrc()
338 for (const buzz::XmlElement* encryption = desc->FirstNamed(QN_ENCRYPTION); in ParseGingleEncryption()
341 if (encryption->FirstNamed(usage) != NULL) { in ParseGingleEncryption()
345 for (const buzz::XmlElement* crypto = encryption->FirstNamed(QN_CRYPTO); in ParseGingleEncryption()
379 content_elem->FirstNamed(QN_GINGLE_AUDIO_PAYLOADTYPE); in ParseGingleAudioContent()
413 content_elem->FirstNamed(QN_GINGLE_VIDEO_PAYLOADTYPE); in ParseGingleVideoContent()
437 for (const buzz::XmlElement* param = element->FirstNamed(QN_PARAMETER); in ParsePayloadTypeParameters()
451 for (const buzz::XmlElement* param = element->FirstNamed(QN_JINGLE_RTCP_FB); in ParseFeedbackParams()
482 content_elem->FirstNamed(QN_ENCRYPTION); in ParseJingleEncryption()
491 for (const buzz::XmlElement* crypto = encryption->FirstNamed(QN_CRYPTO); in ParseJingleEncryption()
[all …]
Dmediasessionclient_unittest.cc1186 return stanza->FirstNamed(cricket::QN_JINGLE); in ActionFromStanza()
1194 return action_->FirstNamed(cricket::QN_JINGLE_CONTENT); in ContentFromAction()
1200 return action_->FirstNamed(cricket::QN_JINGLE_CONTENT) in NextContent()
1206 content->FirstNamed(cricket::QN_JINGLE_RTP_CONTENT); in PayloadTypeFromContent()
1210 return content_desc->FirstNamed(cricket::QN_JINGLE_RTP_PAYLOADTYPE); in PayloadTypeFromContent()
1220 element->FirstNamed(cricket::QN_JINGLE_RTCP_FB); in ParsePayloadTypeFeedbackParameters()
1246 payload_type->FirstNamed(cricket::QN_PARAMETER), "bitrate"); in AudioCodecFromPayloadType()
1272 payload_type->FirstNamed(cricket::QN_PARAMETER); in VideoCodecFromPayloadType()
1311 content->FirstNamed(cricket::QN_JINGLE_RTP_CONTENT); in EncryptionFromContent()
1315 return content_desc->FirstNamed(cricket::QN_ENCRYPTION); in EncryptionFromContent()
[all …]
/external/chromium_org/remoting/host/
Dheartbeat_sender.cc128 response->FirstNamed(QName(buzz::NS_CLIENT, kErrorTag)); in ProcessResponse()
130 if (error_element->FirstNamed(QName(buzz::NS_STANZA, kNotFoundTag))) { in ProcessResponse()
167 response->FirstNamed(QName(kChromotingXmlNamespace, kHeartbeatResultTag)); in ProcessResponse()
170 result_element->FirstNamed(QName(kChromotingXmlNamespace, in ProcessResponse()
185 result_element->FirstNamed(QName(kChromotingXmlNamespace, in ProcessResponse()
Dregister_support_host_request.cc123 const XmlElement* result_element = response->FirstNamed(QName( in ParseResponse()
133 result_element->FirstNamed(QName(kChromotingXmlNamespace, kSupportIdTag)); in ParseResponse()
142 result_element->FirstNamed(QName(kChromotingXmlNamespace, in ParseResponse()
/external/chromium_org/remoting/protocol/
Djingle_messages.cc129 stanza->FirstNamed(QName(kJingleNamespace, "jingle")) != NULL; in IsJingleMessage()
163 stanza->FirstNamed(QName(kJingleNamespace, "jingle")); in ParseXml()
203 jingle_tag->FirstNamed(QName(kJingleNamespace, "reason")); in ParseXml()
215 jingle_tag->FirstNamed(QName(kJingleNamespace, "content")); in ParseXml()
229 const XmlElement* description_tag = content_tag->FirstNamed( in ParseXml()
244 const XmlElement* transport_tag = content_tag->FirstNamed( in ParseXml()
249 transport_tag->FirstNamed(qn_candidate); in ParseXml()
/external/chromium_org/jingle/notifier/listener/
Dpush_notifications_listen_task.cc64 const buzz::XmlElement* push_element = stanza->FirstNamed(kQnPush); in ProcessResponse()
68 const buzz::XmlElement* data_element = push_element->FirstNamed(kQnData); in ProcessResponse()
/external/chromium_org/third_party/libjingle/source/talk/p2p/base/
Dsessionmessages.cc129 const buzz::XmlElement* jingle = stanza->FirstNamed(QN_JINGLE); in IsJingleMessage()
137 const buzz::XmlElement* session = stanza->FirstNamed(QN_GINGLE_SESSION); in IsGingleMessage()
203 const buzz::XmlElement* jingle = stanza->FirstNamed(QN_JINGLE); in ParseSessionMessage()
204 const buzz::XmlElement* session = stanza->FirstNamed(QN_GINGLE_SESSION); in ParseSessionMessage()
447 = jingle->FirstNamed(QN_JINGLE_CONTENT); in ParseJingleTransportInfos()
661 = jingle->FirstNamed(QN_JINGLE_CONTENT); in ParseJingleContentInfos()
686 = jingle->FirstNamed(QN_JINGLE_DRAFT_GROUP); in ParseJingleGroupInfos()
696 = pair_elem->FirstNamed(QN_JINGLE_CONTENT); in ParseJingleGroupInfos()
887 = action_elem->FirstNamed(QN_JINGLE_CONTENT); in ParseContentType()
1037 action_elem->FirstNamed(QN_JINGLE_REASON); in ParseSessionTerminate()
[all …]
/external/chromium_org/jingle/notifier/communicator/
Dsingle_login_attempt.cc113 stream_error->FirstNamed(buzz::QN_XSTREAM_SEE_OTHER_HOST); in OnError()
116 stream_error->FirstNamed(buzz::QN_XSTREAM_TEXT); in OnError()

12