IdmapResMap::Lookup
Who calls ApkAssets::LoadOverlay()?
// Represents a Runtime Resource Overlay that overlays resources in the logical package.
struct ConfiguredOverlay {
// The set of package groups that overlay this package group.
IdmapResMap overlay_res_maps_;
// The cookie of the overlay assets.
ApkAssetsCookie cookie;
};
What is a ApkAssets?
AssetManager2::BuildDynamicRefTable()
AssetManager2::GetNonSystemOverlays()
LoadedIdmap::Load
createIdmap
com.android.server.om.IdmapDaemon#createIdmap
/home/andy/aosp13/frameworks/base/cmds/idmap2
Idmap::FromContainers
removeIdmap
todo:
/home/andy/aosp13/system/libziparchive
std::function :
bool ForEachFile(const std::string& root_path,
const std::function<void(const StringPiece&, FileType)>& f) const override;
std::ofstream fout(idmap_path);
reinterpret_cast