Searched refs:xml_tree (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/libs/androidfw/tests/ |
D | AttributeResolution_bench.cpp | 56 ResXMLTree xml_tree; in BM_ApplyStyle() local 57 if (xml_tree.setTo(asset->getBuffer(true), asset->getLength(), false /*copyData*/) != NO_ERROR) { in BM_ApplyStyle() 63 while (xml_tree.next() != ResXMLParser::START_TAG) { in BM_ApplyStyle() 76 ApplyStyle(theme.get(), &xml_tree, 0u /*def_style_attr*/, 0u /*def_style_res*/, attrs.data(), in BM_ApplyStyle() 137 ResXMLTree xml_tree; in BM_ApplyStyleFramework() local 138 if (xml_tree.setTo(asset->getBuffer(true), asset->getLength(), false /*copyData*/) != NO_ERROR) { in BM_ApplyStyleFramework() 144 while (xml_tree.next() != ResXMLParser::START_TAG) { in BM_ApplyStyleFramework() 169 ApplyStyle(theme.get(), &xml_tree, 0x01010084u /*def_style_attr*/, 0u /*def_style_res*/, in BM_ApplyStyleFramework()
|
/frameworks/base/core/jni/ |
D | android_content_res_ApkAssets.cpp | 129 std::unique_ptr<ResXMLTree> xml_tree = util::make_unique<ResXMLTree>(nullptr /*dynamicRefTable*/); in NativeOpenXml() local 130 status_t err = xml_tree->setTo(asset->getBuffer(true), asset->getLength(), true); in NativeOpenXml() 137 return reinterpret_cast<jlong>(xml_tree.release()); in NativeOpenXml()
|
D | android_util_AssetManager.cpp | 732 std::unique_ptr<ResXMLTree> xml_tree = util::make_unique<ResXMLTree>(dynamic_ref_table); in NativeOpenXmlAsset() local 733 status_t err = xml_tree->setTo(asset->getBuffer(true), asset->getLength(), true); in NativeOpenXmlAsset() 740 return reinterpret_cast<jlong>(xml_tree.release()); in NativeOpenXmlAsset()
|
/frameworks/base/startop/view_compiler/ |
D | apk_layout_compiler.cc | 114 android::ResXMLTree xml_tree{dynamic_ref_table}; in CompileApkAssetsLayouts() local 115 xml_tree.setTo(asset->getBuffer(/*wordAligned=*/true), in CompileApkAssetsLayouts() 118 android::ResXMLParser parser{xml_tree}; in CompileApkAssetsLayouts()
|