Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dandroid_util_XmlBlock.cpp83 ResXMLParser* st = new ResXMLParser(*osb); in android_content_XmlBlock_nativeCreateParseState()
97 ResXMLParser* st = reinterpret_cast<ResXMLParser*>(token); in android_content_XmlBlock_nativeNext()
99 return ResXMLParser::END_DOCUMENT; in android_content_XmlBlock_nativeNext()
103 ResXMLParser::event_code_t code = st->next(); in android_content_XmlBlock_nativeNext()
105 case ResXMLParser::START_TAG: in android_content_XmlBlock_nativeNext()
107 case ResXMLParser::END_TAG: in android_content_XmlBlock_nativeNext()
109 case ResXMLParser::TEXT: in android_content_XmlBlock_nativeNext()
111 case ResXMLParser::START_DOCUMENT: in android_content_XmlBlock_nativeNext()
113 case ResXMLParser::END_DOCUMENT: in android_content_XmlBlock_nativeNext()
115 case ResXMLParser::BAD_DOCUMENT: in android_content_XmlBlock_nativeNext()
[all …]
Dandroid_util_AssetManager.cpp1184 ResXMLParser* xmlParser = reinterpret_cast<ResXMLParser*>(xmlParserToken); in android_content_AssetManager_applyStyle()
1216 ResXMLParser* xmlParser = (ResXMLParser*)xmlParserToken; in android_content_AssetManager_retrieveAttributes()
/frameworks/base/libs/androidfw/include/androidfw/
DAttributeResolution.h51 void ApplyStyle(ResTable::Theme* theme, ResXMLParser* xml_parser, uint32_t def_style_attr,
57 bool RetrieveAttributes(const ResTable* res, ResXMLParser* xml_parser, uint32_t* attrs,
DResourceTypes.h685 class ResXMLParser
688 ResXMLParser(const ResXMLTree& tree);
793 class ResXMLTree : public ResXMLParser
807 friend class ResXMLParser;
/frameworks/base/tools/aapt2/xml/
DXmlDom.cpp222 static void CopyAttributes(Element* el, android::ResXMLParser* parser, StringPool* out_pool) { in CopyAttributes()
271 ResXMLParser::event_code_t code; in Inflate()
272 while ((code = tree.next()) != ResXMLParser::BAD_DOCUMENT && code != ResXMLParser::END_DOCUMENT) { in Inflate()
275 case ResXMLParser::START_NAMESPACE: { in Inflate()
297 case ResXMLParser::START_TAG: { in Inflate()
329 case ResXMLParser::TEXT: { in Inflate()
342 case ResXMLParser::END_NAMESPACE: in Inflate()
345 case ResXMLParser::END_TAG: in Inflate()
/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/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/
DResourceTypes.cpp1046 ResXMLParser::ResXMLParser(const ResXMLTree& tree) in ResXMLParser() function in android::ResXMLParser
1051 void ResXMLParser::restart() in restart()
1056 const ResStringPool& ResXMLParser::getStrings() const in getStrings()
1061 ResXMLParser::event_code_t ResXMLParser::getEventType() const in getEventType()
1066 ResXMLParser::event_code_t ResXMLParser::next() in next()
1078 int32_t ResXMLParser::getCommentID() const in getCommentID()
1083 const char16_t* ResXMLParser::getComment(size_t* outLen) const in getComment()
1089 uint32_t ResXMLParser::getLineNumber() const in getLineNumber()
1094 int32_t ResXMLParser::getTextID() const in getTextID()
1102 const char16_t* ResXMLParser::getText(size_t* outLen) const in getText()
[all …]
DAttributeResolution.cpp33 explicit XmlAttributeFinder(const ResXMLParser* parser) in XmlAttributeFinder()
43 const ResXMLParser* parser_;
206 void ApplyStyle(ResTable::Theme* theme, ResXMLParser* xml_parser, uint32_t def_style_attr, in ApplyStyle()
411 bool RetrieveAttributes(const ResTable* res, ResXMLParser* xml_parser, in RetrieveAttributes()
/frameworks/base/libs/androidfw/tests/
DAttributeResolution_test.cpp60 while (xml_parser_.next() != ResXMLParser::START_TAG) { in SetUp()
/frameworks/base/tools/aapt/
DResource.cpp478 const ResXMLParser& parser, in validateAttr()
578 static void checkForIds(const String8& path, ResXMLParser& parser) in checkForIds()
DResourceTable.cpp1621 ResXMLParser::ResXMLPosition parserPosition; in compileResourceFile()
1664 ResXMLParser::ResXMLPosition parserPosition; in compileResourceFile()