Home
last modified time | relevance | path

Searched refs:ResXMLTree (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/tools/aapt/
DAaptXml.h31 ssize_t indexOfAttribute(const android::ResXMLTree& tree, uint32_t attrRes);
37 android::String8 getAttribute(const android::ResXMLTree& tree, const char* ns,
45 android::String8 getAttribute(const android::ResXMLTree& tree, uint32_t attrRes,
53 int32_t getIntegerAttribute(const android::ResXMLTree& tree, const char* ns,
61 inline int32_t getIntegerAttribute(const android::ResXMLTree& tree, const char* ns, in getIntegerAttribute()
71 int32_t getIntegerAttribute(const android::ResXMLTree& tree, uint32_t attrRes,
79 inline int32_t getIntegerAttribute(const android::ResXMLTree& tree, uint32_t attrRes, in getIntegerAttribute()
90 const android::ResXMLTree& tree, uint32_t attrRes, int32_t defValue = -1,
99 const android::ResXMLTree& tree, uint32_t attrRes, in getResolvedIntegerAttribute()
110 const android::ResXMLTree& tree, uint32_t attrRes,
[all …]
DAaptXml.cpp26 static String8 getStringAttributeAtIndex(const ResXMLTree& tree, ssize_t attrIndex, in getStringAttributeAtIndex()
48 static int32_t getIntegerAttributeAtIndex(const ResXMLTree& tree, ssize_t attrIndex, in getIntegerAttributeAtIndex()
69 ssize_t indexOfAttribute(const ResXMLTree& tree, uint32_t attrRes) { in indexOfAttribute()
79 String8 getAttribute(const ResXMLTree& tree, const char* ns, in getAttribute()
88 String8 getAttribute(const ResXMLTree& tree, uint32_t attrRes, String8* outError) { in getAttribute()
96 String8 getResolvedAttribute(const ResTable& resTable, const ResXMLTree& tree, in getResolvedAttribute()
123 int32_t getIntegerAttribute(const ResXMLTree& tree, const char* ns, in getIntegerAttribute()
132 int32_t getIntegerAttribute(const ResXMLTree& tree, uint32_t attrRes, int32_t defValue, in getIntegerAttribute()
141 int32_t getResolvedIntegerAttribute(const ResTable& resTable, const ResXMLTree& tree, in getResolvedIntegerAttribute()
163 void getResolvedResourceAttribute(const ResTable& resTable, const ResXMLTree& tree, in getResolvedResourceAttribute()
DCommand.cpp234 ResXMLTree tree; in doList()
249 static void printResolvedResourceAttribute(const ResTable& resTable, const ResXMLTree& tree, in printResolvedResourceAttribute()
327 static void printCompatibleScreens(ResXMLTree& tree, String8* outError) { in printCompatibleScreens()
329 ResXMLTree::event_code_t code; in printCompatibleScreens()
333 while ((code=tree.next()) != ResXMLTree::END_DOCUMENT && code != ResXMLTree::BAD_DOCUMENT) { in printCompatibleScreens()
334 if (code == ResXMLTree::END_TAG) { in printCompatibleScreens()
341 if (code != ResXMLTree::START_TAG) { in printCompatibleScreens()
406 ResXMLTree tree; in getNfcAidCategories()
411 ResXMLTree::event_code_t code; in getNfcAidCategories()
412 while ((code=tree.next()) != ResXMLTree::END_DOCUMENT && code != ResXMLTree::BAD_DOCUMENT) { in getNfcAidCategories()
[all …]
DResource.cpp225 ResXMLTree block; in parsePackage()
232 ResXMLTree::event_code_t code; in parsePackage()
233 while ((code=block.next()) != ResXMLTree::START_TAG in parsePackage()
234 && code != ResXMLTree::END_DOCUMENT in parsePackage()
235 && code != ResXMLTree::BAD_DOCUMENT) { in parsePackage()
239 if (code != ResXMLTree::START_TAG) { in parsePackage()
266 while ((code=block.next()) != ResXMLTree::END_DOCUMENT in parsePackage()
267 && code != ResXMLTree::BAD_DOCUMENT) { in parsePackage()
268 if (code == ResXMLTree::START_TAG) { in parsePackage()
558 ResXMLTree::event_code_t code; in checkForIds()
[all …]
DXMLNode.cpp79 ResXMLTree* inXml, in hasSubstitutionErrors()
185 ResXMLTree* inXml, in parseStyledString()
200 ResXMLTree::event_code_t code; in parseStyledString()
205 while ((code=inXml->next()) != ResXMLTree::END_DOCUMENT && code != ResXMLTree::BAD_DOCUMENT) { in parseStyledString()
206 if (code == ResXMLTree::TEXT) { in parseStyledString()
232 } else if (code == ResXMLTree::START_TAG) { in parseStyledString()
292 } else if (code == ResXMLTree::END_TAG) { in parseStyledString()
359 } else if (code == ResXMLTree::START_NAMESPACE) { in parseStyledString()
383 if (code == ResXMLTree::BAD_DOCUMENT) { in parseStyledString()
443 void printXMLBlock(ResXMLTree* block) in printXMLBlock()
[all …]
DResourceTable.cpp106 NOISY(ResXMLTree tree; in compileXmlFile()
271 ResXMLTree& block, bool _appendComment) in PendingAttribute()
315 ResXMLTree& block, in compileAttribute()
330 ResXMLTree::event_code_t code; in compileAttribute()
429 while ((code=block.next()) != ResXMLTree::END_DOCUMENT && code != ResXMLTree::BAD_DOCUMENT) { in compileAttribute()
430 if (code == ResXMLTree::START_TAG) { in compileAttribute()
535 } else if (code == ResXMLTree::END_TAG) { in compileAttribute()
577 ResXMLTree* block, in parseAndAddBag()
672 ResXMLTree* block, in parseAndAddEntry()
767 ResXMLTree block; in compileResourceFile()
[all …]
DXMLNode.h24 ResXMLTree* inXml,
31 void printXMLBlock(ResXMLTree* block);
33 status_t parseXMLResource(const sp<AaptFile>& file, ResXMLTree* outTree,
/frameworks/base/core/jni/
Dandroid_util_XmlBlock.cpp50 ResXMLTree* osb = new ResXMLTree(); in android_content_XmlBlock_nativeCreate()
65 ResXMLTree* osb = reinterpret_cast<ResXMLTree*>(token); in android_content_XmlBlock_nativeGetStringBlock()
77 ResXMLTree* osb = reinterpret_cast<ResXMLTree*>(token); in android_content_XmlBlock_nativeCreateParseState()
352 ResXMLTree* osb = reinterpret_cast<ResXMLTree*>(token); in android_content_XmlBlock_nativeDestroy()
Dandroid_util_AssetManager.cpp1732 ResXMLTree* block = new ResXMLTree(dynamicRefTable); in android_content_AssetManager_openXmlAssetNative()
/frameworks/base/include/androidfw/
DResourceTypes.h677 class ResXMLTree; variable
682 ResXMLParser(const ResXMLTree& tree);
772 friend class ResXMLTree;
776 const ResXMLTree& mTree;
787 class ResXMLTree : public ResXMLParser
790 ResXMLTree(const DynamicRefTable* dynamicRefTable);
791 ResXMLTree();
792 ~ResXMLTree();
/frameworks/base/cmds/idmap/
Dscan.cpp91 int parse_overlay_tag(const ResXMLTree& parser, const char *target_package_name) in parse_overlay_tag()
122 ResXMLTree parser; in parse_manifest()
/frameworks/base/tools/split-select/
DMain.cpp136 ResXMLTree xml; in getAppInfo()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp979 ResXMLParser::ResXMLParser(const ResXMLTree& tree) in ResXMLParser()
1473 ResXMLTree::ResXMLTree(const DynamicRefTable* dynamicRefTable) in ResXMLTree() function in android::ResXMLTree
1482 ResXMLTree::ResXMLTree() in ResXMLTree() function in android::ResXMLTree
1491 ResXMLTree::~ResXMLTree() in ~ResXMLTree()
1497 status_t ResXMLTree::setTo(const void* data, size_t size, bool copyData) in setTo()
1590 status_t ResXMLTree::getError() const in getError()
1595 void ResXMLTree::uninit() in uninit()
1606 status_t ResXMLTree::validateNode(const ResXMLTree_node* node) const in validateNode()