Home
last modified time | relevance | path

Searched refs:element_name (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/tools/aapt2/
DResourceParser.cpp279 span_node->name = parser->element_name(); in FlattenXmlSubtree()
293 if (parser->element_name() == "g") { in FlattenXmlSubtree()
313 << "ignoring element '" << parser->element_name() in FlattenXmlSubtree()
393 if (!parser->element_namespace().empty() || parser->element_name() != "resources") { in Parse()
440 std::string element_name = parser->element_name(); in ParseResources() local
441 if (element_name == "skip" || element_name == "eat-comment") { in ParseResources()
527 std::string resource_type = parser->element_name(); in ParseResource()
582 << "<" << parser->element_name() in ParseResource()
609 << "<" << parser->element_name() in ParseResource()
625 << "<" << parser->element_name() << "> missing 'name' attribute"); in ParseResource()
[all …]
/frameworks/base/tools/aapt2/xml/
DXmlPullParser_test.cpp45 EXPECT_THAT(parser.element_name(), StrEq("a")); in TEST()
50 EXPECT_THAT(parser.element_name(), StrEq("b")); in TEST()
55 EXPECT_THAT(parser.element_name(), StrEq("c")); in TEST()
59 EXPECT_THAT(parser.element_name(), StrEq("e")); in TEST()
DXmlPullParser.h109 const std::string& element_name() const;
DXmlPullParser.cpp170 const std::string& XmlPullParser::element_name() const { in element_name() function in aapt::xml::XmlPullParser