Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/
DResourceParser.cpp278 span_node->name = parser->element_name(); in FlattenXmlSubtree()
292 if (parser->element_name() == "g") { in FlattenXmlSubtree()
312 << "ignoring element '" << parser->element_name() in FlattenXmlSubtree()
392 if (!parser->element_namespace().empty() || parser->element_name() != "resources") { in Parse()
439 std::string element_name = parser->element_name(); in ParseResources() local
440 if (element_name == "skip" || element_name == "eat-comment") { in ParseResources()
530 std::string resource_type = parser->element_name(); in ParseResource()
585 << "<" << parser->element_name() in ParseResource()
612 << "<" << parser->element_name() in ParseResource()
628 << "<" << 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.h111 const std::string& element_name() const;
DXmlPullParser.cpp171 const std::string& XmlPullParser::element_name() const { in element_name() function in aapt::xml::XmlPullParser