Home
last modified time | relevance | path

Searched refs:ResXMLTree (Results 1 – 15 of 15) 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()
DResource.cpp234 ResXMLTree block; in parsePackage()
241 ResXMLTree::event_code_t code; in parsePackage()
242 while ((code=block.next()) != ResXMLTree::START_TAG in parsePackage()
243 && code != ResXMLTree::END_DOCUMENT in parsePackage()
244 && code != ResXMLTree::BAD_DOCUMENT) { in parsePackage()
248 if (code != ResXMLTree::START_TAG) { in parsePackage()
275 while ((code=block.next()) != ResXMLTree::END_DOCUMENT in parsePackage()
276 && code != ResXMLTree::BAD_DOCUMENT) { in parsePackage()
277 if (code == ResXMLTree::START_TAG) { in parsePackage()
584 ResXMLTree::event_code_t code; in checkForIds()
[all …]
DCommand.cpp235 ResXMLTree tree; in doList()
250 static void printResolvedResourceAttribute(const ResTable& resTable, const ResXMLTree& tree, in printResolvedResourceAttribute()
328 static void printCompatibleScreens(ResXMLTree& tree, String8* outError) { in printCompatibleScreens()
330 ResXMLTree::event_code_t code; in printCompatibleScreens()
334 while ((code=tree.next()) != ResXMLTree::END_DOCUMENT && code != ResXMLTree::BAD_DOCUMENT) { in printCompatibleScreens()
335 if (code == ResXMLTree::END_TAG) { in printCompatibleScreens()
342 if (code != ResXMLTree::START_TAG) { in printCompatibleScreens()
417 ResXMLTree tree; in getNfcAidCategories()
422 ResXMLTree::event_code_t code; in getNfcAidCategories()
423 while ((code=tree.next()) != ResXMLTree::END_DOCUMENT && code != ResXMLTree::BAD_DOCUMENT) { in getNfcAidCategories()
[all …]
DXMLNode.cpp100 ResXMLTree* inXml, in hasSubstitutionErrors()
206 ResXMLTree* inXml, in parseStyledString()
222 ResXMLTree::event_code_t code; in parseStyledString()
224 while ((code=inXml->next()) != ResXMLTree::END_DOCUMENT && code != ResXMLTree::BAD_DOCUMENT) { in parseStyledString()
225 if (code == ResXMLTree::TEXT) { in parseStyledString()
245 } else if (code == ResXMLTree::START_TAG) { in parseStyledString()
305 } else if (code == ResXMLTree::END_TAG) { in parseStyledString()
372 } else if (code == ResXMLTree::START_NAMESPACE) { in parseStyledString()
379 if (code == ResXMLTree::BAD_DOCUMENT) { in parseStyledString()
439 void printXMLBlock(ResXMLTree* block) in printXMLBlock()
[all …]
DResourceTable.cpp131 ResXMLTree tree; in compileXmlFile()
294 ResXMLTree& block, bool _appendComment) in PendingAttribute()
320 ResXMLTree& block, in compileAttribute()
335 ResXMLTree::event_code_t code; in compileAttribute()
434 while ((code=block.next()) != ResXMLTree::END_DOCUMENT && code != ResXMLTree::BAD_DOCUMENT) { in compileAttribute()
435 if (code == ResXMLTree::START_TAG) { in compileAttribute()
540 } else if (code == ResXMLTree::END_TAG) { in compileAttribute()
582 ResXMLTree* block, in parseAndAddBag()
679 ResXMLTree* block, in parseAndAddEntry()
776 ResXMLTree block; in compileResourceFile()
[all …]
DXMLNode.h26 ResXMLTree* inXml,
33 void printXMLBlock(ResXMLTree* block);
35 status_t parseXMLResource(const sp<AaptFile>& file, ResXMLTree* outTree,
/frameworks/base/tools/aapt2/flatten/
DXmlFlattener_test.cpp47 ::testing::AssertionResult flatten(xml::XmlResource* doc, android::ResXMLTree* outTree, in flatten()
89 ASSERT_EQ(tree.next(), android::ResXMLTree::START_TAG); in TEST_F()
102 ASSERT_EQ(tree.next(), android::ResXMLTree::START_TAG); in TEST_F()
115 ASSERT_EQ(tree.next(), android::ResXMLTree::END_TAG); in TEST_F()
116 ASSERT_EQ(tree.next(), android::ResXMLTree::START_TAG); in TEST_F()
123 ASSERT_EQ(tree.next(), android::ResXMLTree::TEXT); in TEST_F()
127 ASSERT_EQ(tree.next(), android::ResXMLTree::END_TAG); in TEST_F()
132 ASSERT_EQ(tree.next(), android::ResXMLTree::END_TAG); in TEST_F()
137 ASSERT_EQ(tree.next(), android::ResXMLTree::END_NAMESPACE); in TEST_F()
144 ASSERT_EQ(tree.next(), android::ResXMLTree::END_DOCUMENT); in TEST_F()
[all …]
/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()
353 ResXMLTree* osb = reinterpret_cast<ResXMLTree*>(token); in android_content_XmlBlock_nativeDestroy()
Dandroid_util_AssetManager.cpp1872 ResXMLTree* block = new ResXMLTree(dynamicRefTable); in android_content_AssetManager_openXmlAssetNative()
/frameworks/base/include/androidfw/
DResourceTypes.h684 class ResXMLTree; variable
689 ResXMLParser(const ResXMLTree& tree);
779 friend class ResXMLTree;
783 const ResXMLTree& mTree;
794 class ResXMLTree : public ResXMLParser
797 ResXMLTree(const DynamicRefTable* dynamicRefTable);
798 ResXMLTree();
799 ~ResXMLTree();
/frameworks/base/cmds/idmap/
Dscan.cpp68 int parse_overlay_tag(const ResXMLTree& parser, const char *target_package_name) in parse_overlay_tag()
99 ResXMLTree parser; in parse_manifest()
/frameworks/base/tools/split-select/
DMain.cpp136 ResXMLTree xml; in getAppInfo()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp1016 ResXMLParser::ResXMLParser(const ResXMLTree& tree) in ResXMLParser()
1537 ResXMLTree::ResXMLTree(const DynamicRefTable* dynamicRefTable) in ResXMLTree() function in android::ResXMLTree
1548 ResXMLTree::ResXMLTree() in ResXMLTree() function in android::ResXMLTree
1559 ResXMLTree::~ResXMLTree() in ~ResXMLTree()
1567 status_t ResXMLTree::setTo(const void* data, size_t size, bool copyData) in setTo()
1664 status_t ResXMLTree::getError() const in getError()
1669 void ResXMLTree::uninit() in uninit()
1680 status_t ResXMLTree::validateNode(const ResXMLTree_node* node) const in validateNode()
/frameworks/base/tools/aapt2/xml/
DXmlDom.cpp238 ResXMLTree tree; in inflate()