/external/chromium_org/third_party/libjingle/source/talk/xmpp/ |
H A D | receivetask.cc | 33 bool ReceiveTask::HandleStanza(const XmlElement* stanza) { argument 34 if (WantsStanza(stanza)) { 35 QueueStanza(stanza); 43 const XmlElement* stanza = NextStanza(); local 44 if (stanza == NULL) 47 ReceiveStanza(stanza);
|
H A D | iqtask.h | 45 const XmlElement* stanza() const { return stanza_.get(); } function in class:buzz::IqTask 55 virtual bool HandleStanza(const XmlElement* stanza);
|
H A D | mucroomuniquehangoutidtask.cc | 15 // Construct a stanza to request a unique room id. eg: 30 void MucRoomUniqueHangoutIdTask::HandleResult(const XmlElement* stanza) { argument 32 const XmlElement* unique_elem = stanza->FirstNamed(QN_MUC_UNIQUE_QUERY); 35 SignalError(this, stanza);
|
H A D | discoitemsquerytask.cc | 49 void DiscoItemsQueryTask::HandleResult(const XmlElement* stanza) { argument 50 const XmlElement* query = stanza->FirstNamed(QN_DISCO_ITEMS_QUERY);
|
H A D | iqtask.cc | 54 bool IqTask::HandleStanza(const buzz::XmlElement* stanza) { argument 55 if (!MatchResponseIq(stanza, to_, task_id())) 58 if (stanza->Attr(buzz::QN_TYPE) != buzz::STR_RESULT && 59 stanza->Attr(buzz::QN_TYPE) != buzz::STR_ERROR) { 63 QueueStanza(stanza); 68 const buzz::XmlElement* stanza = NextStanza(); local 69 if (stanza == NULL) 72 bool success = (stanza->Attr(buzz::QN_TYPE) == buzz::STR_RESULT); 74 HandleResult(stanza); 76 SignalError(this, stanza [all...] |
H A D | moduleimpl.h | 53 //! Process the given stanza. 54 //! The module must return true if it has handled the stanza. 55 //! A false return value causes the stanza to be passed on to 70 bool HandleStanza(const XmlElement* stanza) { argument 71 return module_->HandleStanza(stanza);
|
H A D | mucroomdiscoverytask.cc | 41 void MucRoomDiscoveryTask::HandleResult(const XmlElement* stanza) { argument 42 const XmlElement* query = stanza->FirstNamed(QN_DISCO_INFO_QUERY);
|
H A D | pingtask.cc | 25 bool PingTask::HandleStanza(const buzz::XmlElement* stanza) { argument 26 if (!MatchResponseIq(stanza, Jid(STR_EMPTY), task_id())) { 30 if (stanza->Attr(buzz::QN_TYPE) != buzz::STR_RESULT && 31 stanza->Attr(buzz::QN_TYPE) != buzz::STR_ERROR) { 35 QueueStanza(stanza); 46 const buzz::XmlElement* stanza = NextStanza(); local 47 if (stanza != NULL) { 62 rtc::scoped_ptr<buzz::XmlElement> stanza( 64 stanza->AddElement(new buzz::XmlElement(QN_PING)); 65 SendStanza(stanza [all...] |
H A D | presenceouttask.cc | 75 const XmlElement * stanza = NextStanza(); local 76 if (stanza == NULL) 79 if (SendStanza(stanza) != XMPP_RETURN_OK)
|
H A D | util_unittest.cc | 79 bool XmppTestHandler::HandleStanza(const XmlElement * stanza) { argument 80 stanza_ << stanza->Str();
|
H A D | xmpppump.cc | 77 buzz::XmppReturnStatus XmppPump::SendStanza(const buzz::XmlElement *stanza) { argument 79 return client_->SendStanza(stanza);
|
/external/chromium_org/remoting/client/ |
H A D | server_log_entry_client_unittest.cc | 25 scoped_ptr<XmlElement> stanza = entry->ToStanza(); local 32 ASSERT_TRUE(VerifyStanza(key_value_pairs, keys, stanza.get(), &error)) 39 scoped_ptr<XmlElement> stanza = entry->ToStanza(); local 47 ASSERT_TRUE(VerifyStanza(key_value_pairs, keys, stanza.get(), &error)) 54 scoped_ptr<XmlElement> stanza = entry->ToStanza(); local 66 ASSERT_TRUE(VerifyStanza(key_value_pairs, keys, stanza.get(), &error)) 72 scoped_ptr<XmlElement> stanza = entry->ToStanza(); local 79 ASSERT_TRUE(VerifyStanza(key_value_pairs, keys, stanza.get(), &error)) 83 stanza = entry->ToStanza(); 86 ASSERT_TRUE(VerifyStanza(key_value_pairs, keys, stanza 94 scoped_ptr<XmlElement> stanza = entry->ToStanza(); local 113 scoped_ptr<XmlElement> stanza = entry->ToStanza(); local [all...] |
/external/chromium_org/remoting/host/ |
H A D | server_log_entry_host_unittest.cc | 20 scoped_ptr<XmlElement> stanza = entry->ToStanza(); local 27 ASSERT_TRUE(VerifyStanza(key_value_pairs, keys, stanza.get(), &error)) 33 scoped_ptr<XmlElement> stanza = entry->ToStanza(); local 39 ASSERT_TRUE(VerifyStanza(key_value_pairs, keys, stanza.get(), &error)) 46 scoped_ptr<XmlElement> stanza = entry->ToStanza(); local 67 ASSERT_TRUE(VerifyStanza(key_value_pairs, keys, stanza.get(), &error)) << 74 scoped_ptr<XmlElement> stanza = entry->ToStanza(); local 82 ASSERT_TRUE(VerifyStanza(key_value_pairs, keys, stanza.get(), &error)) << 89 scoped_ptr<XmlElement> stanza = entry->ToStanza(); local 97 ASSERT_TRUE(VerifyStanza(key_value_pairs, keys, stanza [all...] |
H A D | host_change_notification_listener.cc | 46 const buzz::XmlElement* stanza) { 47 if (stanza->Name() != buzz::QN_IQ || stanza->Attr(buzz::QN_TYPE) != "set") 51 stanza->FirstNamed(QName(kChromotingXmlNamespace, "host-changed")); 57 const std::string& from = stanza->Attr(buzz::QN_FROM); 58 const std::string& to = stanza->Attr(buzz::QN_TO); 72 LOG(ERROR) << "Invalid host-changed message received: " << stanza->Str(); 45 OnSignalStrategyIncomingStanza( const buzz::XmlElement* stanza) argument
|
/external/chromium_org/third_party/libjingle/source/talk/examples/call/ |
H A D | friendinvitesendtask.cc | 66 const XmlElement* stanza = NextStanza(); local 67 if (stanza == NULL) 70 if (SendStanza(stanza) != XMPP_RETURN_OK)
|
H A D | mucinvitesendtask.cc | 53 const XmlElement* stanza = NextStanza(); local 54 if (stanza == NULL) 57 if (SendStanza(stanza) != XMPP_RETURN_OK)
|
/external/chromium_org/jingle/notifier/listener/ |
H A D | send_ping_task.cc | 33 scoped_ptr<buzz::XmlElement> stanza(MakePingStanza(ping_task_id_)); 34 DVLOG(1) << "Sending ping stanza " << XmlElementToString(*stanza); 35 if (SendStanza(stanza.get()) != buzz::XMPP_RETURN_OK) { 36 DLOG(WARNING) << "Could not send stanza " << XmlElementToString(*stanza); 43 const buzz::XmlElement* stanza = NextStanza(); local 44 if (stanza == NULL) { 48 DVLOG(1) << "Received stanza " << XmlElementToString(*stanza); 61 HandleStanza(const buzz::XmlElement* stanza) argument 73 buzz::XmlElement* stanza = MakeIq(buzz::STR_GET, local [all...] |
H A D | push_notifications_listen_task.cc | 39 const buzz::XmlElement* stanza = NextStanza(); local 40 if (stanza == NULL) { 44 DVLOG(1) << "Received stanza " << XmlElementToString(*stanza); 50 // Extract the service URL and service-specific data from the stanza. 52 // The response stanza has the following format. 64 const buzz::XmlElement* push_element = stanza->FirstNamed(kQnPush); 81 LOG(WARNING) << "No push element found in stanza " 82 << XmlElementToString(*stanza); 87 bool PushNotificationsListenTask::HandleStanza(const buzz::XmlElement* stanza) { argument 95 IsValidNotification( const buzz::XmlElement* stanza) argument [all...] |
H A D | push_notifications_subscribe_task.cc | 34 const buzz::XmlElement* stanza) { 35 if (!MatchResponseIq(stanza, GetClient()->jid().BareJid(), task_id())) 37 QueueStanza(stanza); 46 DVLOG(1) << "Push notifications: Subscription stanza: " 59 const buzz::XmlElement* stanza = NextStanza(); local 60 if (stanza == NULL) { 64 << XmlElementToString(*stanza); 66 if (stanza->HasAttr(buzz::QN_TYPE) && 67 stanza->Attr(buzz::QN_TYPE) == buzz::STR_RESULT) { 85 // Create the subscription stanza usin 33 HandleStanza( const buzz::XmlElement* stanza) argument [all...] |
/external/chromium_org/remoting/signaling/ |
H A D | log_to_server.cc | 43 const buzz::XmlElement* stanza) { 59 // Make one stanza containing all the pending entries. 60 scoped_ptr<XmlElement> stanza(ServerLogEntry::MakeStanza()); 63 stanza->AddElement(entry.ToStanza().release()); 66 // Send the stanza to the server. 68 buzz::STR_SET, directory_bot_jid_, stanza.Pass(), 42 OnSignalStrategyIncomingStanza( const buzz::XmlElement* stanza) argument
|
H A D | jingle_info_request.cc | 48 const buzz::XmlElement* stanza) { 53 if (!stanza) { 60 stanza->FirstNamed(buzz::QN_JINGLE_INFO_QUERY); 63 << stanza->Str(); 79 LOG(WARNING) << "Unable to parse port in stanza" << stanza->Str(); 47 OnResponse(IqRequest* request, const buzz::XmlElement* stanza) argument
|
H A D | server_log_entry_unittest.cc | 21 XmlElement* GetLogElementFromStanza(XmlElement* stanza) { argument 22 if (stanza->Name() != QName(kJabberClientNamespace, "iq")) { 26 XmlElement* log_element = stanza->FirstChild()->AsElement(); 38 XmlElement* GetSingleLogEntryFromStanza(XmlElement* stanza) { argument 39 XmlElement* log_element = GetLogElementFromStanza(stanza); 89 s << "stanza has " << attrCount << " keys: expected "
|
/external/chromium_org/third_party/libjingle/source/talk/p2p/client/ |
H A D | sessionmanagertask.h | 61 const buzz::XmlElement *stanza = NextStanza(); local 62 if (stanza == NULL) 64 session_manager_->OnIncomingMessage(stanza); 69 virtual bool HandleStanza(const buzz::XmlElement *stanza) { argument 70 if (!session_manager_->IsSessionMessage(stanza)) 73 //if (stanza->Attr(buzz::QN_TYPE) != buzz::STR_SET) 75 QueueStanza(stanza); 81 const buzz::XmlElement* stanza) { 84 sender->Send(stanza); 80 OnOutgoingMessage(SessionManager* manager, const buzz::XmlElement* stanza) argument
|
/external/smack/src/org/jivesoftware/smackx/bytestreams/ibb/packet/ |
H A D | Open.java | 33 /* stanza type used to encapsulate the data */
34 private final StanzaType stanza;
field in class:Open 47 * @param stanza stanza type used to encapsulate the data
49 public Open(String sessionID, int blockSize, StanzaType stanza) {
argument 59 this.stanza = stanza;
98 * Returns the stanza type used to encapsulate the data.
100 * @return the stanza type used to encapsulate the data
103 return stanza;
[all...] |
/external/chromium_org/remoting/client/plugin/ |
H A D | delegating_signal_strategy.cc | 24 scoped_ptr<buzz::XmlElement> stanza(buzz::XmlElement::ForStr(message)); 25 if (!stanza.get()) { 26 LOG(WARNING) << "Malformed XMPP stanza received: " << message; 33 if (listener->OnSignalStrategyIncomingStanza(stanza.get())) 64 bool DelegatingSignalStrategy::SendStanza(scoped_ptr<buzz::XmlElement> stanza) { argument 65 send_iq_callback_.Run(stanza->Str());
|