HomeSort by relevance Sort by last modified time
    Searched refs:stanza (Results 26 - 50 of 66) sorted by null

12 3

  /external/libweave/src/notification/
xmpp_iq_stanza_handler.cc 23 // Builds an XML stanza that looks like this:
90 bool IqStanzaHandler::HandleIqStanza(std::unique_ptr<XmlNode> stanza) {
92 if (!stanza->GetAttribute("type", &type)) {
93 LOG(ERROR) << "IQ stanza missing 'type' attribute";
98 if (!stanza->GetAttribute("id", &id_str)) {
99 LOG(ERROR) << "IQ stanza missing 'id' attribute";
108 LOG(ERROR) << "IQ stanza's 'id' attribute is invalid";
114 FROM_HERE, base::Bind(p->second, base::Passed(std::move(stanza))),
126 BuildIqStanza(id_str, "error", stanza->GetAttributeOrEmpty("from"),
127 stanza->GetAttributeOrEmpty("to"), error_body)
    [all...]
xmpp_channel.h 91 void OnStanza(std::unique_ptr<XmlNode> stanza) override;
96 void HandleStanza(std::unique_ptr<XmlNode> stanza);
97 void HandleMessageStanza(std::unique_ptr<XmlNode> stanza);
xmpp_iq_stanza_handler.h 36 // |type| is the IQ stanza type, one of "get", "set", "query".
39 // |response_callback| is called with result or error XML stanza received
60 // Processes an <iq> stanza is received from the server. This will match the
61 // stanza's 'id' attribute with pending request ID and if found, will
63 // stanza fill be sent back to the server.
66 bool HandleIqStanza(std::unique_ptr<XmlNode> stanza);
xmpp_stream_parser.h 49 virtual void OnStanza(std::unique_ptr<XmlNode> stanza) = 0;
xmpp_iq_stanza_handler_unittest.cc 51 void OnStanza(std::unique_ptr<XmlNode> stanza) override {
52 node_->AddChild(std::move(stanza));
  /external/webrtc/webrtc/libjingle/xmpp/
pubsubclient.h 55 // Signal (this, error stanza)
58 // Signal (this, task_id, item, error stanza)
67 // Signal (this, task_id, error stanza)
92 const XmlElement* stanza);
99 const XmlElement* stanza);
102 const XmlElement* stanza);
pingtask.h 35 virtual bool HandleStanza(const buzz::XmlElement* stanza);
discoitemsquerytask.cc 32 void DiscoItemsQueryTask::HandleResult(const XmlElement* stanza) {
33 const XmlElement* query = stanza->FirstNamed(QN_DISCO_ITEMS_QUERY);
hangoutpubsubclient.h 66 // Signal (node, error stanza)
99 // Signal (task_id, error stanza)
112 // Signal (task_id, mutee_nick, error stanza)
116 // Signal (task_id, blockee_nick, error stanza)
124 const XmlElement* stanza);
126 const XmlElement* stanza);
133 const XmlElement* stanza);
139 const XmlElement* stanza);
145 const XmlElement* stanza);
151 const XmlElement* stanza);
    [all...]
mucroomdiscoverytask.cc 24 void MucRoomDiscoveryTask::HandleResult(const XmlElement* stanza) {
25 const XmlElement* query = stanza->FirstNamed(QN_DISCO_INFO_QUERY);
util_unittest.cc 86 bool XmppTestHandler::HandleStanza(const XmlElement * stanza) {
87 stanza_ << stanza->Str();
xmpppump.cc 60 buzz::XmppReturnStatus XmppPump::SendStanza(const buzz::XmlElement *stanza) {
62 return client_->SendStanza(stanza);
mucroomlookuptask.cc 95 // Construct a stanza to lookup the muc jid for a given hangout id. eg:
118 void MucRoomLookupTask::HandleResult(const XmlElement* stanza) {
119 const XmlElement* query_elem = stanza->FirstNamed(QN_SEARCH_QUERY);
121 SignalError(this, stanza);
127 SignalError(this, stanza);
134 SignalError(this, stanza);
rostermoduleimpl.h 32 //! stanza when being sent.
75 //! Sets the raw presence stanza for the presence update
132 //! Sets the raw presence stanza for the presence update
248 virtual void IqResponse(XmppIqCookie cookie, const XmlElement * stanza);
264 void InternalSubscriptionRequest(const Jid& jid, const XmlElement* stanza,
266 void InternalIncomingPresence(const Jid& jid, const XmlElement* stanza);
267 void InternalIncomingPresenceError(const Jid& jid, const XmlElement* stanza);
268 void InternalRosterItems(const XmlElement* stanza);
xmppengineimpl.cc 280 void XmppEngineImpl::IncomingStanza(const XmlElement* stanza) {
284 if (stanza->Name() == QN_STREAM_ERROR) {
286 SignalStreamError(stanza);
289 login_task_->IncomingStanza(stanza, false);
292 } else if (HandleIqResponse(stanza)) {
297 (*stanza_handlers_[HL_PEEK])[i]->HandleStanza(stanza);
303 if ((*stanza_handlers_[level])[i]->HandleStanza(stanza))
308 // If nobody wants to handle a stanza then send back an error.
311 std::string type = stanza->Attr(QN_TYPE);
312 if (stanza->Name() == QN_IQ &
    [all...]
rostermoduleimpl.cc 242 // find that then just return the first status element in the stanza.
803 XmppRosterModuleImpl::IqResponse(XmppIqCookie, const XmlElement * stanza) {
806 if (stanza->Attr(QN_TYPE) == "error")
809 roster_handler_->RosterError(this, stanza);
814 ASSERT(stanza->Attr(QN_TYPE) == "result");
816 InternalRosterItems(stanza);
820 XmppRosterModuleImpl::HandleStanza(const XmlElement * stanza)
826 if (stanza->Name() == QN_PRESENCE) {
827 const std::string& jid_string = stanza->Attr(QN_FROM);
833 const std::string& type = stanza->Attr(QN_TYPE)
    [all...]
pubsub_task.h 36 virtual bool HandleStanza(const buzz::XmlElement* stanza);
util_unittest.h 37 // Stanza handler
38 virtual bool HandleStanza(const XmlElement* stanza);
xmpppump.h 51 buzz::XmppReturnStatus SendStanza(const buzz::XmlElement *stanza);
presenceouttask.cc 59 const XmlElement * stanza = NextStanza(); local
60 if (stanza == NULL)
63 if (SendStanza(stanza) != XMPP_RETURN_OK)
pubsubstateclient.h 134 // Signal (task_id, item, error stanza). item is NULL for retract.
232 const buzz::XmlElement* stanza) {
233 SignalPublishError(task_id, item, stanza);
247 const buzz::XmlElement* stanza) {
252 SignalPublishError(task_id, item, stanza);
  /external/autotest/client/cros/cellular/
base_station_8960.py 154 stanza = ['CALL:MS:DNSServer:PRIMary:IP:ADDRess "%s"' % dns1]
156 stanza.append('CALL:MS:DNSServer:SECondary:IP:ADDRess "%s"' % dns2)
157 self.c.SendStanza(stanza)
163 stanza = ['CALL:MS:IP:ADDRess1 "%s"' % ip1]
165 stanza.append('CALL:MS:IP:ADDRess2 "%s"' % ip2)
166 self.c.SendStanza(stanza)
221 """Split and remove comments from a config stanza."""
  /system/sepolicy/tools/
post_process_mac_perms 82 stanza = '<signer signature="%s">%s</signer>'
83 new_stanzas = [stanza % (cert, inner_tag) for cert in cert_diff]
95 help='seinfo tag for each generated stanza')
  /prebuilts/go/darwin-x86/test/
nosplit.go 38 # Within a stanza, ; can be used instead of \n to separate lines.
213 var stanza string
216 stanza, tests = tests, ""
218 stanza, tests = tests[:i], tests[i+1:]
221 m := rejectRE.FindStringSubmatch(stanza)
224 fmt.Printf("invalid stanza:\n\t%s\n", indent(stanza))
331 fmt.Printf("accepted incorrectly:\n\t%s\n", indent(strings.TrimSpace(stanza)))
337 fmt.Printf("rejected incorrectly:\n\t%s\n", indent(strings.TrimSpace(stanza)))
  /prebuilts/go/linux-x86/test/
nosplit.go 38 # Within a stanza, ; can be used instead of \n to separate lines.
213 var stanza string
216 stanza, tests = tests, ""
218 stanza, tests = tests[:i], tests[i+1:]
221 m := rejectRE.FindStringSubmatch(stanza)
224 fmt.Printf("invalid stanza:\n\t%s\n", indent(stanza))
331 fmt.Printf("accepted incorrectly:\n\t%s\n", indent(strings.TrimSpace(stanza)))
337 fmt.Printf("rejected incorrectly:\n\t%s\n", indent(strings.TrimSpace(stanza)))

Completed in 650 milliseconds

12 3