Searched refs:QN_TYPE (Results 1 – 18 of 18) sorted by relevance
/external/webrtc/webrtc/libjingle/xmpp/ |
D | rostermoduleimpl.cc | 145 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 …]
|
D | xmpplogintask.cc | 257 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()
|
D | iqtask.cc | 41 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()
|
D | xmppengineimpl_iq.cc | 48 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()
|
D | mucroomconfigtask.cc | 38 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()
|
D | xmpptask.cc | 97 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()
|
D | pingtask.cc | 37 if (stanza->Attr(buzz::QN_TYPE) != buzz::STR_RESULT && in HandleStanza() 38 stanza->Attr(buzz::QN_TYPE) != buzz::STR_ERROR) { in HandleStanza()
|
D | presencereceivetask.cc | 57 if (stanza->Attr(QN_TYPE) == STR_ERROR) { in HandlePresence() 70 if (stanza->Attr(QN_TYPE) == STR_UNAVAILABLE) { in DecodeStatus()
|
D | presenceouttask.cc | 50 presence->AddAttr(QN_TYPE, "probe"); in SendProbe() 73 result->AddAttr(QN_TYPE, STR_UNAVAILABLE); in TranslateStatus()
|
D | xmppengine_unittest.cc | 32 using buzz::QN_TYPE; 254 roster_get.AddAttr(QN_TYPE, "get"); in TEST_F() 279 roster_get.AddAttr(QN_TYPE, "get"); in TEST_F()
|
D | chatroommoduleimpl.cc | 310 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()
|
D | jingleinfotask.cc | 46 if (stanza->Attr(QN_TYPE) != STR_RESULT) in HandleStanza()
|
D | mucroomlookuptask.cc | 87 external_id_elem->SetAttr(QN_TYPE, type); in MakeExternalIdQuery()
|
D | pubsub_task.cc | 61 if (stanza->Attr(buzz::QN_TYPE) == buzz::STR_ERROR) { in ProcessResponse()
|
D | xmppengineimpl.cc | 311 std::string type = stanza->Attr(QN_TYPE); in IncomingStanza()
|
D | constants.h | 278 extern const StaticQName QN_TYPE;
|
D | rostermodule_unittest.cc | 336 presence_input.AddAttr(QN_TYPE, "unavailable"); in TEST_F()
|
D | constants.cc | 316 const StaticQName QN_TYPE = { STR_EMPTY, "type" }; variable
|