/frameworks/base/tools/aapt/ |
D | AaptXml.h | 31 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 …]
|
D | AaptXml.cpp | 26 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()
|
D | Resource.cpp | 230 ResXMLTree block; in parsePackage() 237 ResXMLTree::event_code_t code; in parsePackage() 238 while ((code=block.next()) != ResXMLTree::START_TAG in parsePackage() 239 && code != ResXMLTree::END_DOCUMENT in parsePackage() 240 && code != ResXMLTree::BAD_DOCUMENT) { in parsePackage() 244 if (code != ResXMLTree::START_TAG) { in parsePackage() 271 while ((code=block.next()) != ResXMLTree::END_DOCUMENT in parsePackage() 272 && code != ResXMLTree::BAD_DOCUMENT) { in parsePackage() 273 if (code == ResXMLTree::START_TAG) { in parsePackage() 580 ResXMLTree::event_code_t code; in checkForIds() [all …]
|
D | Command.cpp | 235 ResXMLTree tree; in doList() 250 static void printResolvedResourceAttribute(const ResTable& resTable, const ResXMLTree& tree, in printResolvedResourceAttribute() 330 static void printCompatibleScreens(ResXMLTree& tree, String8* outError) { in printCompatibleScreens() 332 ResXMLTree::event_code_t code; in printCompatibleScreens() 336 while ((code=tree.next()) != ResXMLTree::END_DOCUMENT && code != ResXMLTree::BAD_DOCUMENT) { in printCompatibleScreens() 337 if (code == ResXMLTree::END_TAG) { in printCompatibleScreens() 344 if (code != ResXMLTree::START_TAG) { in printCompatibleScreens() 431 ResXMLTree tree; in getNfcAidCategories() 436 ResXMLTree::event_code_t code; in getNfcAidCategories() 437 while ((code=tree.next()) != ResXMLTree::END_DOCUMENT && code != ResXMLTree::BAD_DOCUMENT) { in getNfcAidCategories() [all …]
|
D | XMLNode.cpp | 100 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 …]
|
D | XMLNode.h | 26 ResXMLTree* inXml, 33 void printXMLBlock(ResXMLTree* block); 35 status_t parseXMLResource(const sp<AaptFile>& file, ResXMLTree* outTree,
|
D | ResourceTable.cpp | 142 ResXMLTree tree; in compileXmlFile() 305 ResXMLTree& block, bool _appendComment) in PendingAttribute() 331 ResXMLTree& block, in compileAttribute() 346 ResXMLTree::event_code_t code; in compileAttribute() 445 while ((code=block.next()) != ResXMLTree::END_DOCUMENT && code != ResXMLTree::BAD_DOCUMENT) { in compileAttribute() 446 if (code == ResXMLTree::START_TAG) { in compileAttribute() 551 } else if (code == ResXMLTree::END_TAG) { in compileAttribute() 593 ResXMLTree* block, in parseAndAddBag() 690 ResXMLTree* block, in parseAndAddEntry() 787 ResXMLTree block; in compileResourceFile() [all …]
|
/frameworks/base/tools/aapt2/flatten/ |
D | XmlFlattener_test.cpp | 53 android::ResXMLTree* out_tree, in Flatten() 94 ASSERT_EQ(android::ResXMLTree::START_TAG, tree.next()); in TEST_F() 107 ASSERT_EQ(android::ResXMLTree::START_TAG, tree.next()); in TEST_F() 120 ASSERT_EQ(android::ResXMLTree::END_TAG, tree.next()); in TEST_F() 121 ASSERT_EQ(android::ResXMLTree::START_TAG, tree.next()); in TEST_F() 128 ASSERT_EQ(android::ResXMLTree::TEXT, tree.next()); in TEST_F() 132 ASSERT_EQ(android::ResXMLTree::END_TAG, tree.next()); in TEST_F() 137 ASSERT_EQ(android::ResXMLTree::END_TAG, tree.next()); in TEST_F() 142 ASSERT_EQ(android::ResXMLTree::END_NAMESPACE, tree.next()); in TEST_F() 149 ASSERT_EQ(android::ResXMLTree::END_DOCUMENT, tree.next()); in TEST_F() [all …]
|
/frameworks/base/core/jni/ |
D | android_util_XmlBlock.cpp | 50 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()
|
D | android_util_AssetManager.cpp | 1389 ResXMLTree* block = new ResXMLTree(dynamicRefTable); in android_content_AssetManager_openXmlAssetNative()
|
/frameworks/base/libs/androidfw/include/androidfw/ |
D | ResourceTypes.h | 683 class ResXMLTree; variable 688 ResXMLParser(const ResXMLTree& tree); 778 friend class ResXMLTree; 782 const ResXMLTree& mTree; 793 class ResXMLTree : public ResXMLParser 796 ResXMLTree(const DynamicRefTable* dynamicRefTable); 797 ResXMLTree(); 798 ~ResXMLTree();
|
/frameworks/base/cmds/idmap/ |
D | scan.cpp | 98 int parse_overlay_tag(const ResXMLTree& parser, const char *target_package_name, in parse_overlay_tag() 157 ResXMLTree parser; in parse_manifest()
|
/frameworks/base/libs/androidfw/tests/ |
D | AttributeResolution_test.cpp | 65 ResXMLTree xml_parser_;
|
/frameworks/base/tools/split-select/ |
D | Main.cpp | 136 ResXMLTree xml; in getAppInfo()
|
/frameworks/base/libs/androidfw/ |
D | ResourceTypes.cpp | 1022 ResXMLParser::ResXMLParser(const ResXMLTree& tree) in ResXMLParser() 1543 ResXMLTree::ResXMLTree(const DynamicRefTable* dynamicRefTable) in ResXMLTree() function in android::ResXMLTree 1554 ResXMLTree::ResXMLTree() in ResXMLTree() function in android::ResXMLTree 1565 ResXMLTree::~ResXMLTree() in ~ResXMLTree() 1573 status_t ResXMLTree::setTo(const void* data, size_t size, bool copyData) in setTo() 1670 status_t ResXMLTree::getError() const in getError() 1675 void ResXMLTree::uninit() in uninit() 1686 status_t ResXMLTree::validateNode(const ResXMLTree_node* node) const in validateNode()
|
/frameworks/base/tools/aapt2/xml/ |
D | XmlDom.cpp | 272 ResXMLTree tree; in Inflate()
|