Home
last modified time | relevance | path

Searched refs:overlay_info (Results 1 – 6 of 6) 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/libidmap2/
DResourceMapping.cpp59 const OverlayManifestInfo& overlay_info, in CheckOverlayable() argument
82 if (overlay_info.target_name != overlayable_info->name) { in CheckOverlayable()
86 overlay_info.target_name.c_str(), overlayable_info->name.c_str()); in CheckOverlayable()
257 const OverlayManifestInfo& overlay_info, in FilterOverlayableResources() argument
264 CheckOverlayable(*target_package, overlay_info, fulfilled_policies, target_resid); in FilterOverlayableResources()
290 const OverlayManifestInfo& overlay_info, in FromApkAssets() argument
330 if (overlay_info.resource_mapping != 0U) { in FromApkAssets()
333 uint32_t resource_mapping_id = overlay_info.resource_mapping; in FromApkAssets()
374 .FilterOverlayableResources(&target_asset_manager, target_pkg, overlay_pkg, overlay_info, in FromApkAssets()
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()
/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()