/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 | 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 | 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 | 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 | XMLNode.h | 26 ResXMLTree* inXml, 33 void printXMLBlock(ResXMLTree* block); 35 status_t parseXMLResource(const sp<AaptFile>& file, ResXMLTree* outTree,
|
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 …]
|
/frameworks/base/cmds/idmap2/include/idmap2/ |
D | XmlParser.h | 52 explicit Node(const ResXMLTree& tree); 53 Node(const ResXMLTree& tree, const ResXMLParser::ResXMLPosition& pos); 117 explicit iterator(const ResXMLTree& tree) : tree_(tree), iter_(Node(tree)) { in iterator() 119 iterator(const ResXMLTree& tree, const Node& node) in iterator() 123 const ResXMLTree& tree_; 140 explicit XmlParser(std::unique_ptr<ResXMLTree> tree); 141 mutable std::unique_ptr<ResXMLTree> tree_;
|
/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 | 436 auto xml_tree = util::make_unique<ResXMLTree>(nullptr /*dynamicRefTable*/); in NativeOpenXml()
|
D | android_util_AssetManager.cpp | 583 auto xml_tree = util::make_unique<ResXMLTree>(assetmanager->GetDynamicRefTableForCookie(cookie)); in NativeOpenXmlAsset() 621 auto xml_tree = util::make_unique<ResXMLTree>(assetmanager->GetDynamicRefTableForCookie(cookie)); in NativeOpenXmlAssetFd()
|
/frameworks/base/cmds/idmap2/libidmap2/ |
D | XmlParser.cpp | 34 XmlParser::Node::Node(const ResXMLTree& tree) : Node(tree, get_tree_position(tree)) { in Node() 36 XmlParser::Node::Node(const ResXMLTree& tree, const ResXMLParser::ResXMLPosition& pos) in Node() 154 XmlParser::XmlParser(std::unique_ptr<ResXMLTree> tree) : tree_(std::move(tree)) { in XmlParser() 158 auto tree = std::make_unique<ResXMLTree>(); in Create()
|
/frameworks/base/tools/aapt2/cmd/ |
D | Convert_test.cpp | 55 android::ResXMLTree tree; in TEST_F() 93 android::ResXMLTree tree; in TEST_F()
|
D | Link_test.cpp | 50 android::ResXMLTree tree; in TEST_F() 78 android::ResXMLTree tree; in TEST_F()
|
D | Dump.cpp | 333 android::ResXMLTree tree; in Dump()
|
/frameworks/base/libs/androidfw/tests/ |
D | AttributeResolution_bench.cpp | 56 ResXMLTree xml_tree; in BM_ApplyStyle() 130 ResXMLTree xml_tree; in BM_ApplyStyleFramework()
|
D | Idmap_test.cpp | 162 auto xml_tree = util::make_unique<ResXMLTree>(std::move(dynamic_ref_table)); in TEST_F()
|
D | AttributeResolution_test.cpp | 65 ResXMLTree xml_parser_;
|
/frameworks/base/libs/androidfw/include/androidfw/ |
D | ResourceTypes.h | 712 class ResXMLTree; variable 717 explicit ResXMLParser(const ResXMLTree& tree); 810 friend class ResXMLTree; 814 const ResXMLTree& mTree; 831 class ResXMLTree : public ResXMLParser 839 explicit ResXMLTree(std::shared_ptr<const DynamicRefTable> dynamicRefTable); 840 ResXMLTree(); 841 ~ResXMLTree();
|
/frameworks/base/tools/aapt2/test/ |
D | Fixture.h | 95 android::ResXMLTree* out_tree);
|
/frameworks/base/startop/view_compiler/ |
D | apk_layout_compiler.cc | 116 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 | 1197 ResXMLParser::ResXMLParser(const ResXMLTree& tree) in ResXMLParser() 1727 ResXMLTree::ResXMLTree(std::shared_ptr<const DynamicRefTable> dynamicRefTable) in ResXMLTree() function in android::ResXMLTree 1738 ResXMLTree::ResXMLTree() in ResXMLTree() function in android::ResXMLTree 1749 ResXMLTree::~ResXMLTree() in ~ResXMLTree() 1757 status_t ResXMLTree::setTo(const void* data, size_t size, bool copyData) in setTo() 1854 status_t ResXMLTree::getError() const in getError() 1859 void ResXMLTree::uninit() in uninit() 1870 status_t ResXMLTree::validateNode(const ResXMLTree_node* node) const in validateNode()
|
/frameworks/base/tools/aapt2/xml/ |
D | XmlDom.cpp | 278 ResXMLTree tree; in Inflate()
|