Home
last modified time | relevance | path

Searched refs:AddAttr (Results 1 – 18 of 18) sorted by relevance

/external/webrtc/webrtc/libjingle/xmpp/
Dpresenceouttask.cc38 presence->AddAttr(QN_TO, j.Str()); in SendDirected()
49 presence->AddAttr(QN_TO, jid.Str()); in SendProbe()
50 presence->AddAttr(QN_TYPE, "probe"); in SendProbe()
73 result->AddAttr(QN_TYPE, STR_UNAVAILABLE); in TranslateStatus()
111 result->AddAttr(QN_NODE, s.caps_node(), 1); in TranslateStatus()
112 result->AddAttr(QN_VER, s.version(), 1); in TranslateStatus()
120 result->AddAttr(QN_EXT, caps, 1); in TranslateStatus()
133 result->AddAttr(kQnStamp, output, 1); in TranslateStatus()
Dxmpptask.cc97 result->AddAttr(QN_TYPE, type); in MakeIq()
99 result->AddAttr(QN_TO, to.Str()); in MakeIq()
101 result->AddAttr(QN_ID, id); in MakeIq()
107 result->AddAttr(QN_TYPE, STR_RESULT); in MakeIqResult()
109 result->AddAttr(QN_TO, query->Attr(QN_FROM)); in MakeIqResult()
111 result->AddAttr(QN_ID, query->Attr(QN_ID)); in MakeIqResult()
Dpubsubtasks.cc50 items_elem->AddAttr(QN_NODE, node); in CreatePubSubItemsElem()
64 publish_elem->AddAttr(QN_NODE, node); in CreatePubSubPublishItemElem()
66 item_elem->AddAttr(QN_ID, itemid); in CreatePubSubPublishItemElem()
82 retract_elem->AddAttr(QN_NODE, node); in CreatePubSubRetractItemElem()
83 retract_elem->AddAttr(QN_NOTIFY, "true"); in CreatePubSubRetractItemElem()
85 item_elem->AddAttr(QN_ID, itemid); in CreatePubSubRetractItemElem()
Drostermoduleimpl.cc691 roster_get.AddAttr(QN_TYPE, "get"); in RequestRosterUpdate()
692 roster_get.AddAttr(QN_ID, engine()->NextId()); in RequestRosterUpdate()
756 roster_add.AddAttr(QN_TYPE, "set"); in RequestRosterChange()
757 roster_add.AddAttr(QN_ID, engine()->NextId()); in RequestRosterChange()
773 roster_add.AddAttr(QN_TYPE, "set"); in RequestRosterRemove()
774 roster_add.AddAttr(QN_ID, engine()->NextId()); in RequestRosterRemove()
776 roster_add.AddAttr(QN_JID, jid.Str(), 1); in RequestRosterRemove()
777 roster_add.AddAttr(QN_SUBSCRIPTION, "remove", 1); in RequestRosterRemove()
854 result.AddAttr(QN_TYPE, "result"); in HandleStanza()
855 result.AddAttr(QN_TO, stanza->Attr(QN_FROM)); in HandleStanza()
[all …]
Dxmppengineimpl_iq.cc105 error_element->AddAttr(QN_CODE, code, 1); in AecImpl()
106 error_element->AddAttr(QN_TYPE, type, 1); in AecImpl()
192 error_element.AddAttr(QN_TYPE, "error"); in SendStanzaError()
204 error_element.AddAttr(name, attribute->Value()); in SendStanzaError()
Dsaslcookiemechanism.h46 el->AddAttr(QN_MECHANISM, mechanism_); in StartSaslAuth()
48 el->AddAttr(QN_GOOGLE_AUTH_SERVICE, token_service_); in StartSaslAuth()
Dxmppengine_unittest.cc254 roster_get.AddAttr(QN_TYPE, "get"); in TEST_F()
255 roster_get.AddAttr(QN_ID, engine()->NextId()); in TEST_F()
279 roster_get.AddAttr(QN_TYPE, "get"); in TEST_F()
280 roster_get.AddAttr(QN_ID, engine()->NextId()); in TEST_F()
Dxmpplogintask.cc257 iq.AddAttr(QN_TYPE, "set"); in Advance()
260 iq.AddAttr(QN_ID, iqId_); in Advance()
291 iq.AddAttr(QN_TYPE, "set"); in Advance()
294 iq.AddAttr(QN_ID, iqId_); in Advance()
Dchatroommoduleimpl.cc276 element.AddAttr(QN_TO, member_jid().Str()); in RequestEnterChatroom()
309 element.AddAttr(QN_TO, member_jid().Str()); in RequestExitChatroom()
310 element.AddAttr(QN_TYPE, "unavailable"); in RequestExitChatroom()
336 element.AddAttr(QN_TO, member_jid().Str()); in RequestConnectionStatusChange()
341 con_status_element->AddAttr(QN_STATUS, GetAttrValueFor(connection_status)); in RequestConnectionStatusChange()
Dsaslplainmechanism.h30 el->AddAttr(QN_MECHANISM, "PLAIN"); in StartSaslAuth()
Ddiscoitemsquerytask.cc27 element->AddAttr(QN_NODE, node); in MakeRequest()
Drostermodule_unittest.cc250 status->AddAttr(QN_STATUS, STR_PSTN_CONFERENCE_STATUS_CONNECTING); in TEST_F()
336 presence_input.AddAttr(QN_TYPE, "unavailable"); in TEST_F()
340 presence_input.AddAttr(QN_XML_LANG, "es", 1); in TEST_F()
Dhangoutpubsubclient.cc62 presenter_elem->AddAttr(QN_NICK, published_nick); in Publish()
67 presentation_item_elem->AddAttr( in Publish()
Dpubsub_task.cc93 items_element->AddAttr(buzz::QN_NODE, pubsub_node); in SubscribeToNode()
Dpubsubstateclient.h125 state_elem->AddAttr(QN_NICK, published_nick); in Publish()
/external/webrtc/webrtc/libjingle/xmllite/
Dxmlelement.h207 void AddAttr(const QName& name, const std::string& value);
208 void AddAttr(const QName& name, const std::string& value, int depth);
Dxmlelement.cc360 void XmlElement::AddAttr(const QName& name, const std::string& value) { in AddAttr() function in buzz::XmlElement
367 void XmlElement::AddAttr(const QName& name, const std::string& value, in AddAttr() function in buzz::XmlElement
373 element->AddAttr(name, value); in AddAttr()
Dxmlbuilder.cc64 pelNew->AddAttr(attName, std::string(*(atts + 1))); in BuildElement()