Home
last modified time | relevance | path

Searched refs:DynamicRefTable (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/libs/androidfw/tests/
DDynamicRefTable_test.cpp25 DynamicRefTable shared_table(0x02, /* appAsLib */ false); in TEST()
34 DynamicRefTable shared_app_table(0x02, /* appAsLib */ true); in TEST()
45 DynamicRefTable shared_table(0x03, /* appAsLib */ false); in TEST()
54 DynamicRefTable shared_app_table(0x04, /* appAsLib */ true); in TEST()
65 DynamicRefTable shared_table(0x2, /* appAsLib */ false); in TEST()
75 DynamicRefTable app_table(0x7f, /* appAsLib */ false); in TEST()
86 DynamicRefTable shared_app_table(0x2, /* appAsLib */ true); in TEST()
98 DynamicRefTable app_table(0x7f, /* appAsLib */ false); in TEST()
108 DynamicRefTable custom_app_table(0x8f, /* appAsLib */ false); in TEST()
/frameworks/base/libs/androidfw/fuzz/resxmlparser_fuzzer/
Dresxmlparser_fuzzer.cpp24 android::DynamicRefTable& table, in populateDynamicRefTableWithFuzzedData()
51 auto dynamic_ref_table = std::make_shared<android::DynamicRefTable>(); in LLVMFuzzerTestOneInput()
/frameworks/base/libs/androidfw/include/androidfw/
DAssetManager2.h142 const DynamicRefTable* GetDynamicRefTableForPackage(uint32_t package_id) const;
146 std::shared_ptr<const DynamicRefTable> GetDynamicRefTableForCookie(ApkAssetsCookie cookie) const;
406 std::shared_ptr<DynamicRefTable> dynamic_ref_table = std::make_shared<DynamicRefTable>();
DResourceTypes.h836 class DynamicRefTable; variable
849 explicit ResXMLTree(std::shared_ptr<const DynamicRefTable> dynamicRefTable);
864 std::shared_ptr<const DynamicRefTable> mDynamicRefTable;
1897 class DynamicRefTable
1901 DynamicRefTable();
1902 DynamicRefTable(uint8_t packageId, bool appAsLib);
1903 virtual ~DynamicRefTable() = default;
1909 status_t addMappings(const DynamicRefTable& other);
2250 const DynamicRefTable* getDynamicRefTableForCookie(int32_t cookie) const;
DIdmap.h63 class OverlayDynamicRefTable : public DynamicRefTable {
/frameworks/base/libs/androidfw/
DIdmap.cpp136 return DynamicRefTable::lookupResourceId(resId); in lookupResourceId()
145 return DynamicRefTable::lookupResourceId(resId); in lookupResourceIdNoRewrite()
DAssetManager2.cpp80 const DynamicRefTable* dynamic_ref_table;
219 DynamicRefTable* ref_table = new_group.dynamic_ref_table.get(); in BuildDynamicRefTable()
244 DynamicRefTable::AliasMap aliases; in BuildDynamicRefTable()
322 const DynamicRefTable* AssetManager2::GetDynamicRefTableForPackage(uint32_t package_id) const { in GetDynamicRefTableForPackage()
334 std::shared_ptr<const DynamicRefTable> AssetManager2::GetDynamicRefTableForCookie( in GetDynamicRefTableForCookie()
DResourceTypes.cpp1794 ResXMLTree::ResXMLTree(std::shared_ptr<const DynamicRefTable> dynamicRefTable) in ResXMLTree()
3876 DynamicRefTable dynamicRefTable;
6419 const DynamicRefTable* ResTable::getDynamicRefTableForCookie(int32_t cookie) const in getDynamicRefTableForCookie()
7152 DynamicRefTable::DynamicRefTable() : DynamicRefTable(0, false) {} in DynamicRefTable() function in android::DynamicRefTable
7154 DynamicRefTable::DynamicRefTable(uint8_t packageId, bool appAsLib) in DynamicRefTable() function in android::DynamicRefTable
7164 status_t DynamicRefTable::load(const ResTable_lib_header* const header) in load()
7194 status_t DynamicRefTable::addMappings(const DynamicRefTable& other) { in addMappings()
7225 status_t DynamicRefTable::addMapping(const String16& packageName, uint8_t packageId) in addMapping()
7235 void DynamicRefTable::addMapping(uint8_t buildPackageId, uint8_t runtimePackageId) { in addMapping()
7239 status_t DynamicRefTable::lookupResourceId(uint32_t* resId) const { in lookupResourceId()
[all …]
/frameworks/base/tools/aapt2/
DResources.proto50 message DynamicRefTable { message
71 repeated DynamicRefTable dynamic_ref_table = 5;
/frameworks/base/tools/aapt2/format/binary/
DTableFlattener_test.cpp552 const DynamicRefTable* dynamic_ref_table = result.getDynamicRefTableForCookie(1); in TEST_F()
576 const DynamicRefTable* dynamic_ref_table = result.getDynamicRefTableForCookie(1); in TEST_F()
DBinaryResourceParser.cpp447 DynamicRefTable dynamic_ref_table; in ParseLibrary()
/frameworks/base/tools/aapt2/format/proto/
DProtoSerialize.cpp354 pb::DynamicRefTable* pb_dynamic_ref = out_table->add_dynamic_ref_table(); in SerializeTableToPb()
DProtoDeserialize.cpp566 for (const pb::DynamicRefTable& dynamic_ref : pb_table.dynamic_ref_table()) { in DeserializeTableFromPb()
/frameworks/base/tools/aapt/
DCommand.cpp791 auto noop_destructor = [](const DynamicRefTable* /*ref_table */) { }; in doDump() argument
792 auto dynamicRefTable = std::shared_ptr<const DynamicRefTable>( in doDump()