Searched refs:LoadedIdmap (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/libs/androidfw/ |
D | Idmap.cpp | 47 bool LoadedIdmap::Lookup(const IdmapEntry_header* header, uint16_t input_entry_id, in Lookup() 112 LoadedIdmap::LoadedIdmap(const Idmap_header* header) : header_(header) { in LoadedIdmap() function in android::LoadedIdmap 118 std::unique_ptr<const LoadedIdmap> LoadedIdmap::Load(const StringPiece& idmap_data) { in Load() 127 std::unique_ptr<LoadedIdmap> loaded_idmap = std::unique_ptr<LoadedIdmap>(new LoadedIdmap(header)); in Load() 178 uint8_t LoadedIdmap::TargetPackageId() const { in TargetPackageId() 182 const IdmapEntry_header* LoadedIdmap::GetEntryMapForType(uint8_t type_id) const { in GetEntryMapForType()
|
D | ApkAssets.cpp | 65 std::unique_ptr<const LoadedIdmap> loaded_idmap = LoadedIdmap::Load(idmap_data); in LoadOverlay() 104 std::unique_ptr<const LoadedIdmap> loaded_idmap, bool system, bool load_as_shared_library) { in LoadImpl()
|
D | LoadedArsc.cpp | 370 const LoadedIdmap* loaded_idmap, in Load() 591 bool LoadedArsc::LoadTable(const Chunk& chunk, const LoadedIdmap* loaded_idmap, in LoadTable() 654 const LoadedIdmap* loaded_idmap, bool system, in Load()
|
D | AssetManager2.cpp | 369 if (!LoadedIdmap::Lookup(type_spec->idmap_entries, local_entry_idx, &local_entry_idx)) { in FindEntry()
|
/frameworks/base/libs/androidfw/include/androidfw/ |
D | Idmap.h | 39 class LoadedIdmap { 42 static std::unique_ptr<const LoadedIdmap> Load(const StringPiece& idmap_data); 62 LoadedIdmap() = default; 69 DISALLOW_COPY_AND_ASSIGN(LoadedIdmap); 71 explicit LoadedIdmap(const Idmap_header* header);
|
D | LoadedArsc.h | 82 const LoadedIdmap* loaded_idmap, bool system, 199 const LoadedIdmap* loaded_idmap = nullptr, 230 bool LoadTable(const Chunk& chunk, const LoadedIdmap* loaded_idmap, bool load_as_shared_library);
|
D | ApkAssets.h | 32 class LoadedIdmap; variable 85 std::unique_ptr<const LoadedIdmap> loaded_idmap,
|
/frameworks/base/libs/androidfw/tests/ |
D | LoadedArsc_test.cpp | 222 class MockLoadedIdmap : public LoadedIdmap { 224 MockLoadedIdmap() : LoadedIdmap() { in MockLoadedIdmap() 271 ASSERT_TRUE(LoadedIdmap::Lookup(type_spec->idmap_entries, 0x0001u, &target_entry_id)); in TEST()
|