/frameworks/base/tools/aapt2/format/binary/ |
D | XmlFlattener_test.cpp | 58 ::testing::AssertionResult Flatten(xml::XmlResource* doc, android::ResXMLTree* out_tree, in Flatten() 94 ASSERT_THAT(tree.next(), Eq(android::ResXMLTree::START_TAG)); in TEST_F() 105 ASSERT_THAT(tree.next(), Eq(android::ResXMLTree::START_TAG)); in TEST_F() 113 ASSERT_THAT(tree.next(), Eq(android::ResXMLTree::END_TAG)); in TEST_F() 114 ASSERT_THAT(tree.next(), Eq(android::ResXMLTree::START_TAG)); in TEST_F() 120 ASSERT_THAT(tree.next(), Eq(android::ResXMLTree::TEXT)); in TEST_F() 123 ASSERT_THAT(tree.next(), Eq(android::ResXMLTree::END_TAG)); in TEST_F() 127 ASSERT_THAT(tree.next(), Eq(android::ResXMLTree::END_TAG)); in TEST_F() 131 ASSERT_THAT(tree.next(), Eq(android::ResXMLTree::END_NAMESPACE)); in TEST_F() 135 ASSERT_THAT(tree.next(), Eq(android::ResXMLTree::END_DOCUMENT)); in TEST_F() [all …]
|
/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() 139 int32_t getIntegerAttribute(const ResXMLTree& tree, const char* ns, in getIntegerAttribute() 148 int32_t getIntegerAttribute(const ResXMLTree& tree, uint32_t attrRes, int32_t defValue, in getIntegerAttribute() 157 int32_t getResolvedIntegerAttribute(const ResTable& resTable, const ResXMLTree& tree, in getResolvedIntegerAttribute() 179 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 | 217 ResXMLTree tree; in doList() 232 static void printResolvedResourceAttribute(const ResTable& resTable, const ResXMLTree& tree, in printResolvedResourceAttribute() 314 static void printCompatibleScreens(ResXMLTree& tree, String8* outError) { in printCompatibleScreens() 316 ResXMLTree::event_code_t code; in printCompatibleScreens() 320 while ((code=tree.next()) != ResXMLTree::END_DOCUMENT && code != ResXMLTree::BAD_DOCUMENT) { in printCompatibleScreens() 321 if (code == ResXMLTree::END_TAG) { in printCompatibleScreens() 328 if (code != ResXMLTree::START_TAG) { in printCompatibleScreens() 415 ResXMLTree tree; in getNfcAidCategories() 420 ResXMLTree::event_code_t code; in getNfcAidCategories() 421 while ((code=tree.next()) != ResXMLTree::END_DOCUMENT && code != ResXMLTree::BAD_DOCUMENT) { in getNfcAidCategories() [all …]
|
D | XMLNode.cpp | 97 ResXMLTree* inXml, in hasSubstitutionErrors() 203 ResXMLTree* inXml, in parseStyledString() 219 ResXMLTree::event_code_t code; in parseStyledString() 221 while ((code=inXml->next()) != ResXMLTree::END_DOCUMENT && code != ResXMLTree::BAD_DOCUMENT) { in parseStyledString() 222 if (code == ResXMLTree::TEXT) { in parseStyledString() 242 } else if (code == ResXMLTree::START_TAG) { in parseStyledString() 302 } else if (code == ResXMLTree::END_TAG) { in parseStyledString() 369 } else if (code == ResXMLTree::START_NAMESPACE) { in parseStyledString() 376 if (code == ResXMLTree::BAD_DOCUMENT) { in parseStyledString() 436 void printXMLBlock(ResXMLTree* block) in printXMLBlock() [all …]
|
D | ResourceTable.cpp | 139 ResXMLTree tree; in compileXmlFile() 302 ResXMLTree& block, bool _appendComment) in PendingAttribute() 328 ResXMLTree& block, in compileAttribute() 343 ResXMLTree::event_code_t code; in compileAttribute() 442 while ((code=block.next()) != ResXMLTree::END_DOCUMENT && code != ResXMLTree::BAD_DOCUMENT) { in compileAttribute() 443 if (code == ResXMLTree::START_TAG) { in compileAttribute() 548 } else if (code == ResXMLTree::END_TAG) { in compileAttribute() 590 ResXMLTree* block, in parseAndAddBag() 687 ResXMLTree* block, in parseAndAddEntry() 784 ResXMLTree block; in compileResourceFile() [all …]
|
D | XMLNode.h | 26 ResXMLTree* inXml, 33 void printXMLBlock(ResXMLTree* block); 35 status_t parseXMLResource(const sp<AaptFile>& file, ResXMLTree* outTree,
|
/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() 365 ResXMLTree* osb = reinterpret_cast<ResXMLTree*>(token); in android_content_XmlBlock_nativeDestroy()
|
D | android_content_res_ApkAssets.cpp | 129 std::unique_ptr<ResXMLTree> xml_tree = util::make_unique<ResXMLTree>(nullptr /*dynamicRefTable*/); in NativeOpenXml()
|
D | android_util_AssetManager.cpp | 732 std::unique_ptr<ResXMLTree> xml_tree = util::make_unique<ResXMLTree>(dynamic_ref_table); in NativeOpenXmlAsset()
|
/frameworks/base/tools/aapt2/cmd/ |
D | Link_test.cpp | 44 android::ResXMLTree tree; in TEST_F() 72 android::ResXMLTree tree; in TEST_F()
|
D | Convert_test.cpp | 55 android::ResXMLTree tree; in TEST_F() 93 android::ResXMLTree tree; in TEST_F()
|
D | Dump.cpp | 328 android::ResXMLTree tree; in Dump()
|
/frameworks/base/cmds/idmap2/include/idmap2/ |
D | Xml.h | 42 mutable ResXMLTree xml_;
|
/frameworks/base/libs/androidfw/tests/ |
D | AttributeResolution_bench.cpp | 56 ResXMLTree xml_tree; in BM_ApplyStyle() 137 ResXMLTree xml_tree; in BM_ApplyStyleFramework()
|
D | AttributeResolution_test.cpp | 65 ResXMLTree xml_parser_;
|
/frameworks/base/libs/androidfw/include/androidfw/ |
D | ResourceTypes.h | 691 class ResXMLTree; variable 696 explicit ResXMLParser(const ResXMLTree& tree); 789 friend class ResXMLTree; 793 const ResXMLTree& mTree; 805 class ResXMLTree : public ResXMLParser 813 explicit ResXMLTree(const DynamicRefTable* dynamicRefTable); 814 ResXMLTree(); 815 ~ResXMLTree();
|
/frameworks/base/tools/aapt2/test/ |
D | Fixture.h | 92 android::ResXMLTree* out_tree);
|
/frameworks/base/cmds/idmap/ |
D | scan.cpp | 91 int parse_overlay_tag(const ResXMLTree& parser, const char *target_package_name, in parse_overlay_tag() 150 ResXMLTree parser; in parse_manifest()
|
/frameworks/base/startop/view_compiler/ |
D | apk_layout_compiler.cc | 114 android::ResXMLTree xml_tree{dynamic_ref_table}; in CompileApkAssetsLayouts()
|
/frameworks/base/tools/split-select/ |
D | Main.cpp | 136 ResXMLTree xml; in getAppInfo()
|
/frameworks/base/libs/androidfw/ |
D | ResourceTypes.cpp | 1080 ResXMLParser::ResXMLParser(const ResXMLTree& tree) in ResXMLParser() 1611 ResXMLTree::ResXMLTree(const DynamicRefTable* dynamicRefTable) in ResXMLTree() function in android::ResXMLTree 1623 ResXMLTree::ResXMLTree() in ResXMLTree() function in android::ResXMLTree 1634 ResXMLTree::~ResXMLTree() in ~ResXMLTree() 1642 status_t ResXMLTree::setTo(const void* data, size_t size, bool copyData) in setTo() 1739 status_t ResXMLTree::getError() const in getError() 1744 void ResXMLTree::uninit() in uninit() 1755 status_t ResXMLTree::validateNode(const ResXMLTree_node* node) const in validateNode()
|
/frameworks/base/tools/aapt2/xml/ |
D | XmlDom.cpp | 278 ResXMLTree tree; in Inflate()
|