Home
last modified time | relevance | path

Searched refs:GetAttributeOrEmpty (Results 1 – 5 of 5) sorted by relevance

/external/libweave/src/notification/
Dxml_node_unittest.cc120 EXPECT_EQ("6", node->GetAttributeOrEmpty("id")); in TEST_F()
125 EXPECT_EQ("3", node->GetAttributeOrEmpty("id")); in TEST_F()
136 EXPECT_EQ("5", node->GetAttributeOrEmpty("id")); in TEST_F()
141 EXPECT_EQ("3", node->GetAttributeOrEmpty("id")); in TEST_F()
146 EXPECT_EQ("3", node->GetAttributeOrEmpty("id")); in TEST_F()
151 EXPECT_EQ("3", node->GetAttributeOrEmpty("id")); in TEST_F()
162 EXPECT_EQ("6", children[0]->GetAttributeOrEmpty("id")); in TEST_F()
167 EXPECT_EQ("3", children[0]->GetAttributeOrEmpty("id")); in TEST_F()
169 EXPECT_EQ("5", children[1]->GetAttributeOrEmpty("id")); in TEST_F()
171 EXPECT_EQ("6", children[2]->GetAttributeOrEmpty("id")); in TEST_F()
[all …]
Dxmpp_iq_stanza_handler.cc126 BuildIqStanza(id_str, "error", stanza->GetAttributeOrEmpty("from"), in HandleIqStanza()
127 stanza->GetAttributeOrEmpty("to"), error_body); in HandleIqStanza()
Dxmpp_channel.cc222 if (reply->GetAttributeOrEmpty("type") != "result") { in OnBindCompleted()
243 if (reply->GetAttributeOrEmpty("type") != "result") { in OnSessionEstablished()
258 if (reply->GetAttributeOrEmpty("type") != "result") { in OnSubscribed()
Dxml_node.h45 std::string GetAttributeOrEmpty(const std::string& name) const;
Dxml_node.cc42 std::string XmlNode::GetAttributeOrEmpty(const std::string& name) const { in GetAttributeOrEmpty() function in weave::XmlNode