Home
last modified time | relevance | path

Searched refs:overlay_apk (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/cmds/idmap2/tests/
DIdmapTests.cpp176 std::unique_ptr<const ApkAssets> overlay_apk = ApkAssets::Load(overlay_apk_path); in TEST() local
177 ASSERT_THAT(overlay_apk, NotNull()); in TEST()
179 auto idmap_result = Idmap::FromApkAssets(*target_apk, *overlay_apk, PolicyFlags::PUBLIC, in TEST()
207 std::unique_ptr<const ApkAssets> overlay_apk = ApkAssets::Load(overlay_apk_path); in TestIdmapDataFromApkAssets() local
208 if (!overlay_apk) { in TestIdmapDataFromApkAssets()
213 auto mapping = ResourceMapping::FromApkAssets(*target_apk, *overlay_apk, overlay_info, in TestIdmapDataFromApkAssets()
230 std::unique_ptr<const ApkAssets> overlay_apk = ApkAssets::Load(overlay_apk_path); in TEST() local
231 ASSERT_THAT(overlay_apk, NotNull()); in TEST()
233 auto idmap_result = Idmap::FromApkAssets(*target_apk, *overlay_apk, PolicyFlags::PUBLIC, in TEST()
271 std::unique_ptr<const ApkAssets> overlay_apk = ApkAssets::Load(overlay_apk_path); in TEST() local
[all …]
DPrettyPrintVisitorTests.cpp46 std::unique_ptr<const ApkAssets> overlay_apk = ApkAssets::Load(overlay_apk_path); in TEST() local
47 ASSERT_THAT(overlay_apk, NotNull()); in TEST()
49 const auto idmap = Idmap::FromApkAssets(*target_apk, *overlay_apk, PolicyFlags::PUBLIC, in TEST()
DRawPrintVisitorTests.cpp56 std::unique_ptr<const ApkAssets> overlay_apk = ApkAssets::Load(overlay_apk_path); in TEST() local
57 ASSERT_THAT(overlay_apk, NotNull()); in TEST()
59 const auto idmap = Idmap::FromApkAssets(*target_apk, *overlay_apk, PolicyFlags::PUBLIC, in TEST()
DResourceMappingTests.cpp58 std::unique_ptr<const ApkAssets> overlay_apk = ApkAssets::Load(overlay_apk_path); in TestGetResourceMapping() local
59 if (!overlay_apk) { in TestGetResourceMapping()
64 return ResourceMapping::FromApkAssets(*target_apk, *overlay_apk, overlay_info, fulfilled_policies, in TestGetResourceMapping()
/frameworks/base/cmds/idmap2/idmap2/
DCreate.cpp97 const std::unique_ptr<const ApkAssets> overlay_apk = ApkAssets::Load(overlay_apk_path); in Create() local
98 if (!overlay_apk) { in Create()
103 Idmap::FromApkAssets(*target_apk, *overlay_apk, fulfilled_policies, !ignore_overlayable); in Create()
DCreateMultiple.cpp109 const std::unique_ptr<const ApkAssets> overlay_apk = ApkAssets::Load(overlay_apk_path); in CreateMultiple() local
110 if (!overlay_apk) { in CreateMultiple()
116 Idmap::FromApkAssets(*target_apk, *overlay_apk, fulfilled_policies, !ignore_overlayable); in CreateMultiple()
DLookup.cpp231 auto overlay_apk = ApkAssets::LoadOverlay(idmap_path); in Lookup() local
232 if (!overlay_apk) { in Lookup()
236 apk_assets.push_back(std::move(overlay_apk)); in Lookup()
/frameworks/base/cmds/idmap2/idmap2d/
DIdmap2Service.cpp188 const std::unique_ptr<const ApkAssets> overlay_apk = ApkAssets::Load(overlay_apk_path); in createIdmap() local
189 if (!overlay_apk) { in createIdmap()
194 Idmap::FromApkAssets(*target_apk, *overlay_apk, policy_bitmask, enforce_overlayable); in createIdmap()