Home
last modified time | relevance | path

Searched refs:loaded_idmap (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/libs/androidfw/
DApkAssets.cpp33 std::unique_ptr<Asset> idmap_asset, std::unique_ptr<LoadedIdmap> loaded_idmap) in ApkAssets() argument
39 loaded_idmap_(std::move(loaded_idmap)) { in ApkAssets()
75 auto loaded_idmap = LoadedIdmap::Load(idmap_path, idmap_data); in LoadOverlay() local
76 if (loaded_idmap == nullptr) { in LoadOverlay()
81 std::string overlay_path(loaded_idmap->OverlayApkPath()); in LoadOverlay()
97 std::move(loaded_idmap)); in LoadOverlay()
103 std::unique_ptr<LoadedIdmap> loaded_idmap) { in LoadImpl() argument
119 std::move(idmap_asset), std::move(loaded_idmap)); in LoadImpl()
126 std::unique_ptr<LoadedIdmap> loaded_idmap) { in LoadImpl() argument
139 loaded_arsc = LoadedArsc::Load(data, length, loaded_idmap.get(), property_flags); in LoadImpl()
[all …]
DLoadedArsc.cpp804 bool LoadedArsc::LoadTable(const Chunk& chunk, const LoadedIdmap* loaded_idmap, in LoadTable() argument
812 if (loaded_idmap != nullptr) { in LoadTable()
813 global_string_pool_ = util::make_unique<OverlayStringPool>(loaded_idmap); in LoadTable()
881 bool LoadedArsc::LoadStringPool(const LoadedIdmap* loaded_idmap) { in LoadStringPool() argument
882 if (loaded_idmap != nullptr) { in LoadStringPool()
883 global_string_pool_ = util::make_unique<OverlayStringPool>(loaded_idmap); in LoadStringPool()
890 const LoadedIdmap* loaded_idmap, in Load() argument
902 if (!loaded_arsc->LoadTable(chunk, loaded_idmap, property_flags)) { in Load()
923 std::unique_ptr<LoadedArsc> LoadedArsc::Load(const LoadedIdmap* loaded_idmap) { in Load() argument
928 loaded_arsc->LoadStringPool(loaded_idmap); in Load()
DIdmap.cpp89 OverlayStringPool::OverlayStringPool(const LoadedIdmap* loaded_idmap) in OverlayStringPool() argument
90 : data_header_(loaded_idmap->data_header_), in OverlayStringPool()
91 idmap_string_pool_(loaded_idmap->string_pool_.get()) { }; in OverlayStringPool()
DAssetManager2.cpp168 if (auto loaded_idmap = apk_assets->GetLoadedIdmap(); loaded_idmap != nullptr) { in BuildDynamicRefTable() local
171 auto iter = target_assets_package_ids.find(loaded_idmap->TargetApkPath()); in BuildDynamicRefTable()
174 << loaded_idmap->OverlayApkPath(); in BuildDynamicRefTable()
181 loaded_idmap->GetOverlayDynamicRefTable(target_package_id)); in BuildDynamicRefTable()
185 CHECK(target_idx != 0xff) << "overlay target '" << loaded_idmap->TargetApkPath() in BuildDynamicRefTable()
191 ConfiguredOverlay{loaded_idmap->GetTargetResourcesMap(target_package_id, in BuildDynamicRefTable()
/frameworks/base/libs/androidfw/include/androidfw/
DApkAssets.h101 std::unique_ptr<LoadedIdmap> loaded_idmap);
107 std::unique_ptr<LoadedIdmap> loaded_idmap);
119 std::unique_ptr<LoadedIdmap> loaded_idmap);
DLoadedArsc.h322 const LoadedIdmap* loaded_idmap = nullptr,
325 static std::unique_ptr<LoadedArsc> Load(const LoadedIdmap* loaded_idmap = nullptr);
350 const Chunk& chunk, const LoadedIdmap* loaded_idmap, package_property_t property_flags);
351 bool LoadStringPool(const LoadedIdmap* loaded_idmap);
DIdmap.h55 explicit OverlayStringPool(const LoadedIdmap* loaded_idmap);