Home
last modified time | relevance | path

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

/external/webrtc/webrtc/libjingle/xmpp/
Drostermoduleimpl.cc145 if (raw_xml_->Attr(QN_TYPE) == "unavailable") in available()
147 else if (raw_xml_->Attr(QN_TYPE) == "error") in available()
159 raw_xml_->ClearAttr(QN_TYPE); in set_available()
161 raw_xml_->SetAttr(QN_TYPE, "unavailable"); in set_available()
163 raw_xml_->SetAttr(QN_TYPE, "error"); in set_available()
606 (element->Attr(QN_TYPE) == STR_EMPTY || in BroadcastPresence()
607 element->Attr(QN_TYPE) == "unavailable")); in BroadcastPresence()
631 if (element.HasAttr(QN_TYPE)) { in SendDirectedPresence()
632 if (element.Attr(QN_TYPE) != STR_EMPTY && in SendDirectedPresence()
633 element.Attr(QN_TYPE) != "unavailable") { in SendDirectedPresence()
[all …]
Dxmpplogintask.cc257 iq.AddAttr(QN_TYPE, "set"); in Advance()
277 element->Attr(QN_TYPE) == "get" || element->Attr(QN_TYPE) == "set") in Advance()
280 if (element->Attr(QN_TYPE) != "result" || element->FirstElement() == NULL || in Advance()
291 iq.AddAttr(QN_TYPE, "set"); in Advance()
306 element->Attr(QN_TYPE) == "get" || element->Attr(QN_TYPE) == "set") in Advance()
309 if (element->Attr(QN_TYPE) != "result") in Advance()
Diqtask.cc41 if (stanza->Attr(buzz::QN_TYPE) != buzz::STR_RESULT && in HandleStanza()
42 stanza->Attr(buzz::QN_TYPE) != buzz::STR_ERROR) { in HandleStanza()
55 bool success = (stanza->Attr(buzz::QN_TYPE) == buzz::STR_RESULT); in ProcessResponse()
Dxmppengineimpl_iq.cc48 const std::string& type = element->Attr(QN_TYPE); in SendIq()
106 error_element->AddAttr(QN_TYPE, type, 1); in AecImpl()
192 error_element.AddAttr(QN_TYPE, "error"); in SendStanzaError()
202 else if (name == QN_TYPE) in SendStanzaError()
238 std::string type = element->Attr(QN_TYPE); in HandleIqResponse()
Dmucroomconfigtask.cc38 x_form->SetAttr(buzz::QN_TYPE, buzz::STR_FORM); in MakeRequest()
43 roomname_field->SetAttr(buzz::QN_TYPE, buzz::STR_TEXT_SINGLE); in MakeRequest()
55 features_field->SetAttr(buzz::QN_TYPE, buzz::STR_LIST_MULTI); in MakeRequest()
Dxmpptask.cc97 result->AddAttr(QN_TYPE, type); in MakeIq()
107 result->AddAttr(QN_TYPE, STR_RESULT); in MakeIqResult()
149 if (stanza->Attr(QN_TYPE) != type) in MatchRequestIq()
Dpingtask.cc37 if (stanza->Attr(buzz::QN_TYPE) != buzz::STR_RESULT && in HandleStanza()
38 stanza->Attr(buzz::QN_TYPE) != buzz::STR_ERROR) { in HandleStanza()
Dpresencereceivetask.cc57 if (stanza->Attr(QN_TYPE) == STR_ERROR) { in HandlePresence()
70 if (stanza->Attr(QN_TYPE) == STR_UNAVAILABLE) { in DecodeStatus()
Dpresenceouttask.cc50 presence->AddAttr(QN_TYPE, "probe"); in SendProbe()
73 result->AddAttr(QN_TYPE, STR_UNAVAILABLE); in TranslateStatus()
Dxmppengine_unittest.cc32 using buzz::QN_TYPE;
254 roster_get.AddAttr(QN_TYPE, "get"); in TEST_F()
279 roster_get.AddAttr(QN_TYPE, "get"); in TEST_F()
Dchatroommoduleimpl.cc310 element.AddAttr(QN_TYPE, "unavailable"); in RequestExitChatroom()
378 const std::string& type = message.Attr(QN_TYPE); in SendMessage()
516 if (presence.HasAttr(QN_TYPE) == false) { in ServerChangeMyPresence()
Djingleinfotask.cc46 if (stanza->Attr(QN_TYPE) != STR_RESULT) in HandleStanza()
Dmucroomlookuptask.cc87 external_id_elem->SetAttr(QN_TYPE, type); in MakeExternalIdQuery()
Dpubsub_task.cc61 if (stanza->Attr(buzz::QN_TYPE) == buzz::STR_ERROR) { in ProcessResponse()
Dxmppengineimpl.cc311 std::string type = stanza->Attr(QN_TYPE); in IncomingStanza()
Dconstants.h278 extern const StaticQName QN_TYPE;
Drostermodule_unittest.cc336 presence_input.AddAttr(QN_TYPE, "unavailable"); in TEST_F()
Dconstants.cc316 const StaticQName QN_TYPE = { STR_EMPTY, "type" }; variable