Home
last modified time | relevance | path

Searched refs:xml_parser (Results 1 – 6 of 6) sorted by relevance

/aosp12/frameworks/base/libs/androidfw/
H A DAttributeResolution.cpp93 if (xml_parser == nullptr) { in GetXmlStyleBag()
99 const ssize_t idx = xml_parser->indexOfStyle(); in GetXmlStyleBag()
100 if (idx < 0 || xml_parser->getAttributeValue(idx, &value) < 0) { in GetXmlStyleBag()
226 def_style_attr, def_style_resid, xml_parser); in ApplyStyle()
248 XmlAttributeFinder xml_attr_finder(xml_parser); in ApplyStyle()
271 value_source_resid = xml_parser->getSourceResourceId(); in ApplyStyle()
362 const size_t xml_attr_count = xml_parser->getAttributeCount(); in RetrieveAttributes()
363 uint32_t cur_xml_attr = xml_parser->getAttributeNameResID(ix); in RetrieveAttributes()
374 cur_xml_attr = xml_parser->getAttributeNameResID(++ix); in RetrieveAttributes()
380 xml_parser->getAttributeValue(ix, &attribute_value); in RetrieveAttributes()
[all …]
/aosp12/frameworks/base/libs/androidfw/include/androidfw/
H A DAttributeResolution.h56 base::expected<std::monostate, IOError> ApplyStyle(Theme* theme, ResXMLParser* xml_parser,
65 ResXMLParser* xml_parser,
/aosp12/frameworks/base/tools/aapt2/cmd/
H A DCompile.cpp164 xml::XmlPullParser xml_parser(fin.get()); in CompileTable() local
177 if (!res_parser.Parse(&xml_parser)) { in CompileTable()
/aosp12/frameworks/base/core/jni/
H A Dandroid_util_AssetManager.cpp1099 ResXMLParser* xml_parser = reinterpret_cast<ResXMLParser*>(xml_parser_ptr); in NativeApplyStyle() local
1109 ApplyStyle(theme, xml_parser, static_cast<uint32_t>(def_style_attr), in NativeApplyStyle()
1229 ResXMLParser* xml_parser = reinterpret_cast<ResXMLParser*>(xml_parser_ptr); in NativeRetrieveAttributes() local
1231 RetrieveAttributes(assetmanager.get(), xml_parser, reinterpret_cast<uint32_t*>(attrs), in NativeRetrieveAttributes()
/aosp12/system/update_engine/cros/
H A Domaha_request_action.cc126 : xml_parser(_xml_parser), in OmahaParserData()
130 XML_Parser xml_parser; member
334 XML_StopParser(data->xml_parser, false); in ParserHandlerEntityDecl()
/aosp12/frameworks/base/tools/aapt2/
H A DResourceParser_test.cpp58 xml::XmlPullParser xml_parser(&in); in TEST() local
59 ASSERT_FALSE(parser.Parse(&xml_parser)); in TEST()