Searched refs:GetAttributeOrEmpty (Results 1 – 5 of 5) sorted by relevance
/external/libweave/src/notification/ |
D | xml_node_unittest.cc | 120 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 …]
|
D | xmpp_iq_stanza_handler.cc | 126 BuildIqStanza(id_str, "error", stanza->GetAttributeOrEmpty("from"), in HandleIqStanza() 127 stanza->GetAttributeOrEmpty("to"), error_body); in HandleIqStanza()
|
D | xmpp_channel.cc | 222 if (reply->GetAttributeOrEmpty("type") != "result") { in OnBindCompleted() 243 if (reply->GetAttributeOrEmpty("type") != "result") { in OnSessionEstablished() 258 if (reply->GetAttributeOrEmpty("type") != "result") { in OnSubscribed()
|
D | xml_node.h | 45 std::string GetAttributeOrEmpty(const std::string& name) const;
|
D | xml_node.cc | 42 std::string XmlNode::GetAttributeOrEmpty(const std::string& name) const { in GetAttributeOrEmpty() function in weave::XmlNode
|