Home
last modified time | relevance | path

Searched refs:idmap_entries (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/libs/androidfw/include/androidfw/
DLoadedArsc.h56 const IdmapEntry_header* idmap_entries; member
219 if (ptr->idmap_entries != nullptr) { in ForEachTypeSpec()
220 type_id = ptr->idmap_entries->target_type_id; in ForEachTypeSpec()
/frameworks/base/libs/androidfw/
DLoadedArsc.cpp73 type_spec->idmap_entries = idmap_header_; in Build()
686 if (loaded_idmap == nullptr || type_spec_ptr->idmap_entries != nullptr) { in Load()
688 if (type_spec_ptr->idmap_entries != nullptr) { in Load()
689 type_idx = dtohs(type_spec_ptr->idmap_entries->target_type_id) - 1; in Load()
DAssetManager2.cpp437 if (type_spec->idmap_entries != nullptr) { in FindEntry()
438 if (!LoadedIdmap::Lookup(type_spec->idmap_entries, local_entry_idx, &local_entry_idx)) { in FindEntry()
/frameworks/base/libs/androidfw/tests/
DLoadedArsc_test.cpp271 ASSERT_THAT(type_spec->idmap_entries, NotNull()); in TEST()
273 ASSERT_TRUE(LoadedIdmap::Lookup(type_spec->idmap_entries, 0x0001u, &target_entry_id)); in TEST()