Home
last modified time | relevance | path

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

/aosp14/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 …]
/aosp14/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,
/aosp14/frameworks/base/tools/aapt2/cmd/
H A DCompile.cpp166 xml::XmlPullParser xml_parser(fin.get()); in CompileTable() local
179 if (!res_parser.Parse(&xml_parser)) { in CompileTable()
/aosp14/frameworks/base/core/jni/
H A Dandroid_util_AssetManager.cpp1156 ResXMLParser* xml_parser = reinterpret_cast<ResXMLParser*>(xml_parser_ptr); in NativeApplyStyle() local
1166 ApplyStyle(theme, xml_parser, static_cast<uint32_t>(def_style_attr), in NativeApplyStyle()
1287 ResXMLParser* xml_parser = reinterpret_cast<ResXMLParser*>(xml_parser_ptr); in NativeRetrieveAttributes() local
1289 RetrieveAttributes(assetmanager.get(), xml_parser, reinterpret_cast<uint32_t*>(attrs), in NativeRetrieveAttributes()
/aosp14/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()