Home
last modified time | relevance | path

Searched refs:ResXMLParser (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/core/jni/
Dandroid_util_XmlBlock.cpp83 ResXMLParser* st = new ResXMLParser(*osb); in android_content_XmlBlock_nativeCreateParseState()
98 ResXMLParser* st = reinterpret_cast<ResXMLParser*>(token); in android_content_XmlBlock_nativeNext()
100 return ResXMLParser::END_DOCUMENT; in android_content_XmlBlock_nativeNext()
104 ResXMLParser::event_code_t code = st->next(); in android_content_XmlBlock_nativeNext()
106 case ResXMLParser::START_TAG: in android_content_XmlBlock_nativeNext()
108 case ResXMLParser::END_TAG: in android_content_XmlBlock_nativeNext()
110 case ResXMLParser::TEXT: in android_content_XmlBlock_nativeNext()
112 case ResXMLParser::START_DOCUMENT: in android_content_XmlBlock_nativeNext()
114 case ResXMLParser::END_DOCUMENT: in android_content_XmlBlock_nativeNext()
116 case ResXMLParser::BAD_DOCUMENT: in android_content_XmlBlock_nativeNext()
[all …]
Dandroid_util_AssetManager.cpp1230 ResXMLParser* xml_parser = reinterpret_cast<ResXMLParser*>(xml_parser_ptr); in NativeApplyStyle()
1358 ResXMLParser* xml_parser = reinterpret_cast<ResXMLParser*>(xml_parser_ptr); in NativeRetrieveAttributes()
/frameworks/base/startop/view_compiler/
Dapk_layout_compiler.cc34 using android::ResXMLParser;
39 ResXmlVisitorAdapter(ResXMLParser* parser) : parser_{parser} {} in ResXmlVisitorAdapter()
46 case ResXMLParser::START_DOCUMENT: in Accept()
50 case ResXMLParser::END_DOCUMENT: in Accept()
54 case ResXMLParser::START_TAG: { in Accept()
61 case ResXMLParser::END_TAG: in Accept()
67 } while (depth > 0 || parser_->getEventType() == ResXMLParser::FIRST_CHUNK_CODE); in Accept()
71 ResXMLParser* parser_;
74 bool CanCompileLayout(ResXMLParser* parser) { in CanCompileLayout()
118 android::ResXMLParser parser{xml_tree}; in CompileApkAssetsLayouts()
/frameworks/base/cmds/idmap2/libidmap2/
DXml.cpp37 ResXMLParser::event_code_t type; in FindTag()
40 if (type == ResXMLParser::START_TAG) { in FindTag()
72 } while (type != ResXMLParser::BAD_DOCUMENT && type != ResXMLParser::END_DOCUMENT); in FindTag()
/frameworks/base/libs/androidfw/include/androidfw/
DAttributeResolution.h54 void ApplyStyle(Theme* theme, ResXMLParser* xml_parser, uint32_t def_style_attr,
60 bool RetrieveAttributes(AssetManager2* assetmanager, ResXMLParser* xml_parser, uint32_t* attrs,
DResourceTypes.h693 class ResXMLParser
696 explicit ResXMLParser(const ResXMLTree& tree);
805 class ResXMLTree : public ResXMLParser
824 friend class ResXMLParser;
/frameworks/base/cmds/idmap/
Dscan.cpp164 ResXMLParser::event_code_t type; in parse_manifest()
169 if (type == ResXMLParser::START_TAG) { in parse_manifest()
177 } while (type != ResXMLParser::BAD_DOCUMENT && type != ResXMLParser::END_DOCUMENT); in parse_manifest()
/frameworks/base/tools/aapt2/xml/
DXmlDom.cpp223 static void CopyAttributes(Element* el, android::ResXMLParser* parser, StringPool* out_pool) { in CopyAttributes()
286 ResXMLParser::event_code_t code; in Inflate()
287 while ((code = tree.next()) != ResXMLParser::BAD_DOCUMENT && code != ResXMLParser::END_DOCUMENT) { in Inflate()
290 case ResXMLParser::START_NAMESPACE: { in Inflate()
312 case ResXMLParser::START_TAG: { in Inflate()
344 case ResXMLParser::TEXT: { in Inflate()
357 case ResXMLParser::END_NAMESPACE: in Inflate()
360 case ResXMLParser::END_TAG: in Inflate()
/frameworks/base/tools/split-select/
DMain.cpp150 ResXMLParser::event_code_t event; in getAppInfo()
151 while ((event = xml.next()) != ResXMLParser::BAD_DOCUMENT && in getAppInfo()
152 event != ResXMLParser::END_DOCUMENT) { in getAppInfo()
153 if (event != ResXMLParser::START_TAG) { in getAppInfo()
/frameworks/base/libs/androidfw/tests/
DAttributeResolution_bench.cpp63 while (xml_tree.next() != ResXMLParser::START_TAG) { in BM_ApplyStyle()
144 while (xml_tree.next() != ResXMLParser::START_TAG) { in BM_ApplyStyleFramework()
DAttributeResolution_test.cpp60 while (xml_parser_.next() != ResXMLParser::START_TAG) { in SetUp()
/frameworks/base/libs/androidfw/
DAttributeResolution.cpp38 explicit XmlAttributeFinder(const ResXMLParser* parser) in XmlAttributeFinder()
48 const ResXMLParser* parser_;
205 void ApplyStyle(Theme* theme, ResXMLParser* xml_parser, uint32_t def_style_attr, in ApplyStyle()
406 bool RetrieveAttributes(AssetManager2* assetmanager, ResXMLParser* xml_parser, uint32_t* attrs, in RetrieveAttributes()
DResourceTypes.cpp1080 ResXMLParser::ResXMLParser(const ResXMLTree& tree) in ResXMLParser() function in android::ResXMLParser
1085 void ResXMLParser::restart() in restart()
1090 const ResStringPool& ResXMLParser::getStrings() const in getStrings()
1095 ResXMLParser::event_code_t ResXMLParser::getEventType() const in getEventType()
1100 ResXMLParser::event_code_t ResXMLParser::next() in next()
1112 int32_t ResXMLParser::getCommentID() const in getCommentID()
1117 const char16_t* ResXMLParser::getComment(size_t* outLen) const in getComment()
1123 uint32_t ResXMLParser::getLineNumber() const in getLineNumber()
1128 int32_t ResXMLParser::getTextID() const in getTextID()
1136 const char16_t* ResXMLParser::getText(size_t* outLen) const in getText()
[all …]
/frameworks/base/tools/aapt/
DResource.cpp478 const ResXMLParser& parser, in validateAttr()
578 static void checkForIds(const String8& path, ResXMLParser& parser) in checkForIds()
DResourceTable.cpp1618 ResXMLParser::ResXMLPosition parserPosition; in compileResourceFile()
1661 ResXMLParser::ResXMLPosition parserPosition; in compileResourceFile()