Home
last modified time | relevance | path

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

/external/chromium/third_party/libjingle/source/talk/p2p/client/
Dsessionsendtask.h64 ASSERT(stanza->HasAttr(buzz::QN_TYPE)); in Send()
65 if (stanza->Attr(buzz::QN_TYPE) == "set") { in Send()
68 ASSERT((stanza->Attr(buzz::QN_TYPE) == "result") || in Send()
69 (stanza->Attr(buzz::QN_TYPE) == "error")); in Send()
92 if (stanza_->Attr(buzz::QN_TYPE) == buzz::STR_SET) { in ProcessStart()
108 if (next->Attr(buzz::QN_TYPE) == buzz::STR_RESULT) { in ProcessResponse()
121 if (stanza->Attr(buzz::QN_TYPE) == buzz::STR_RESULT || in HandleStanza()
122 stanza->Attr(buzz::QN_TYPE) == buzz::STR_ERROR) { in HandleStanza()
/external/chromium/third_party/libjingle/source/talk/xmpp/
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()
Dxmppengineimpl_iq.cc65 const std::string& type = element->Attr(QN_TYPE); in SendIq()
123 error_element->AddAttr(QN_TYPE, type, 1); in AecImpl()
209 error_element.AddAttr(QN_TYPE, "error"); in SendStanzaError()
219 else if (name == QN_TYPE) in SendStanzaError()
255 std::string type = element->Attr(QN_TYPE); in HandleIqResponse()
Dxmpptask.cc113 result->AddAttr(QN_TYPE, type); in MakeIq()
123 result->AddAttr(QN_TYPE, STR_RESULT); in MakeIqResult()
160 if (stanza->Attr(QN_TYPE) != type) in MatchRequestIq()
Dxmppengineimpl.cc352 std::string type = stanza->Attr(QN_TYPE); in IncomingStanza()
Dconstants.h280 extern const QName QN_TYPE;
Dconstants.cc310 const QName QN_TYPE(true, STR_EMPTY, "type"); variable
/external/chromium/third_party/libjingle/source/talk/examples/call/
Dfriendinvitesendtask.cc40 iq->AddAttr(QN_TYPE, STR_SET); in Send()
52 presence->AddAttr(QN_TYPE, STR_SUBSCRIBE); in Send()
Dpresencepushtask.cc88 if (stanza->Attr(QN_TYPE) == STR_ERROR) in HandlePresence()
100 if (!stanza->HasAttr(QN_TYPE)) { in HandleMucPresence()
113 if (stanza->Attr(QN_TYPE) == STR_ERROR) { in HandleMucPresence()
131 if (stanza->Attr(QN_TYPE) == STR_UNAVAILABLE) { in FillStatus()
Dpresenceouttask.cc63 presence->AddAttr(QN_TYPE, "probe"); in SendProbe()
85 result->AddAttr(QN_TYPE, STR_UNAVAILABLE); in TranslateStatus()
Ddiscoitemsquerytask.cc69 if (stanza->Attr(QN_TYPE) != STR_ERROR) { in ProcessResponse()
Dcallclient.cc508 stanza->AddAttr(buzz::QN_TYPE, "chat"); in SendChat()
/external/chromium/third_party/libjingle/source/talk/p2p/base/
Dp2ptransport.cc125 if (elem->HasAttr(buzz::QN_TYPE)) in ParseCandidate()
126 candidate->set_type(elem->Attr(buzz::QN_TYPE)); in ParseCandidate()
186 elem->SetAttr(buzz::QN_TYPE, candidate.type()); in WriteCandidate()
Dsessionmanager.cc237 iq->SetAttr(buzz::QN_TYPE, "error"); in CreateErrorMessage()
242 error->SetAttr(buzz::QN_TYPE, type); in CreateErrorMessage()
Dsessionmessages.cc147 return (session->HasAttr(buzz::QN_TYPE) && in IsGingleMessage()
154 stanza->Attr(buzz::QN_TYPE) == buzz::STR_SET && in IsSessionMessage()
163 std::string type_string = session->Attr(buzz::QN_TYPE); in ParseGingleSessionMessage()
229 session->AddAttr(buzz::QN_TYPE, ToGingleString(msg.type)); in WriteGingleAction()
258 stanza->SetAttr(buzz::QN_TYPE, buzz::STR_SET); in WriteSessionMessage()
Dsession.cc697 ASSERT(error->HasAttr(buzz::QN_TYPE)); in OnFailedSend()
698 error_type = error->Attr(buzz::QN_TYPE); in OnFailedSend()
1086 ack->SetAttr(buzz::QN_TYPE, "result"); in SendAcknowledgementMessage()
/external/chromium/third_party/libjingle/source/talk/session/phone/
Dmediasessionclient.cc797 elem->AddAttr(buzz::QN_TYPE, "AS"); in CreateBandwidthElem()