Home
last modified time | relevance | path

Searched refs:overlay_info (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/cmds/idmap2/idmap2/
DScan.cpp164 Result<OverlayManifestInfo> overlay_info = in Scan() local
166 if (!overlay_info) { in Scan()
167 return overlay_info.GetError(); in Scan()
170 if (!overlay_info->is_static) { in Scan()
174 if (overlay_info->target_package.empty() || in Scan()
175 overlay_info->target_package != target_package_name) { in Scan()
179 if (overlay_info->priority < 0) { in Scan()
185 if (!overlay_info->requiredSystemPropertyName.empty() && in Scan()
186 !overlay_info->requiredSystemPropertyValue.empty()) { in Scan()
188 if (android::base::GetProperty(overlay_info->requiredSystemPropertyName, "") != in Scan()
[all …]
/frameworks/base/cmds/idmap2/include/idmap2/
DResourceMapping.h54 const OverlayManifestInfo& overlay_info,
121 const OverlayManifestInfo& overlay_info,
/frameworks/base/cmds/idmap2/tests/
DResourceMappingTests.cpp48 const OverlayManifestInfo& overlay_info, in TestGetResourceMapping() argument
64 return ResourceMapping::FromApkAssets(*target_apk, *overlay_apk, overlay_info, fulfilled_policies, in TestGetResourceMapping()
72 auto overlay_info = ExtractOverlayManifestInfo(GetTestDataPath() + local_overlay_apk_path.data()); in TestGetResourceMapping() local
73 if (!overlay_info) { in TestGetResourceMapping()
74 return overlay_info.GetError(); in TestGetResourceMapping()
76 return TestGetResourceMapping(local_target_apk_path, local_overlay_apk_path, *overlay_info, in TestGetResourceMapping()
DIdmapTests.cpp198 const android::StringPiece& local_overlay_apk_path, const OverlayManifestInfo& overlay_info, in TestIdmapDataFromApkAssets() argument
213 auto mapping = ResourceMapping::FromApkAssets(*target_apk, *overlay_apk, overlay_info, in TestIdmapDataFromApkAssets()
/frameworks/base/cmds/idmap2/libidmap2/
DIdmap.cpp369 auto overlay_info = utils::ExtractOverlayManifestInfo(overlay_apk_path); in FromApkAssets() local
370 if (!overlay_info) { in FromApkAssets()
371 return overlay_info.GetError(); in FromApkAssets()
376 ResourceMapping::FromApkAssets(target_apk_assets, overlay_apk_assets, *overlay_info, in FromApkAssets()