Home
last modified time | relevance | path

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

/frameworks/base/cmds/idmap2/tests/
DIdmapTests.cpp173 std::unique_ptr<const ApkAssets> target_apk = ApkAssets::Load(target_apk_path); in TEST() local
174 ASSERT_THAT(target_apk, NotNull()); in TEST()
179 auto idmap_result = Idmap::FromApkAssets(*target_apk, *overlay_apk, PolicyFlags::PUBLIC, in TEST()
201 std::unique_ptr<const ApkAssets> target_apk = ApkAssets::Load(target_apk_path); in TestIdmapDataFromApkAssets() local
202 if (!target_apk) { in TestIdmapDataFromApkAssets()
213 auto mapping = ResourceMapping::FromApkAssets(*target_apk, *overlay_apk, overlay_info, in TestIdmapDataFromApkAssets()
227 std::unique_ptr<const ApkAssets> target_apk = ApkAssets::Load(target_apk_path); in TEST() local
228 ASSERT_THAT(target_apk, NotNull()); in TEST()
233 auto idmap_result = Idmap::FromApkAssets(*target_apk, *overlay_apk, PolicyFlags::PUBLIC, in TEST()
268 std::unique_ptr<const ApkAssets> target_apk = ApkAssets::Load(target_apk_path); in TEST() local
[all …]
DPrettyPrintVisitorTests.cpp42 std::unique_ptr<const ApkAssets> target_apk = ApkAssets::Load(target_apk_path); in TEST() local
43 ASSERT_THAT(target_apk, NotNull()); in TEST()
49 const auto idmap = Idmap::FromApkAssets(*target_apk, *overlay_apk, PolicyFlags::PUBLIC, in TEST()
DRawPrintVisitorTests.cpp52 std::unique_ptr<const ApkAssets> target_apk = ApkAssets::Load(target_apk_path); in TEST() local
53 ASSERT_THAT(target_apk, NotNull()); in TEST()
59 const auto idmap = Idmap::FromApkAssets(*target_apk, *overlay_apk, PolicyFlags::PUBLIC, in TEST()
DResourceMappingTests.cpp52 std::unique_ptr<const ApkAssets> target_apk = ApkAssets::Load(target_apk_path); in TestGetResourceMapping() local
53 if (!target_apk) { in TestGetResourceMapping()
64 return ResourceMapping::FromApkAssets(*target_apk, *overlay_apk, overlay_info, fulfilled_policies, in TestGetResourceMapping()
/frameworks/base/cmds/idmap2/idmap2/
DCreate.cpp92 const std::unique_ptr<const ApkAssets> target_apk = ApkAssets::Load(target_apk_path); in Create() local
93 if (!target_apk) { in Create()
103 Idmap::FromApkAssets(*target_apk, *overlay_apk, fulfilled_policies, !ignore_overlayable); in Create()
DCreateMultiple.cpp93 const std::unique_ptr<const ApkAssets> target_apk = ApkAssets::Load(target_apk_path); in CreateMultiple() local
94 if (!target_apk) { in CreateMultiple()
116 Idmap::FromApkAssets(*target_apk, *overlay_apk, fulfilled_policies, !ignore_overlayable); in CreateMultiple()
DLookup.cpp213 auto target_apk = ApkAssets::Load(target_path); in Lookup() local
214 if (!target_apk) { in Lookup()
217 apk_assets.push_back(std::move(target_apk)); in Lookup()
/frameworks/base/cmds/idmap2/idmap2d/
DIdmap2Service.cpp183 const std::unique_ptr<const ApkAssets> target_apk = ApkAssets::Load(target_apk_path); in createIdmap() local
184 if (!target_apk) { in createIdmap()
194 Idmap::FromApkAssets(*target_apk, *overlay_apk, policy_bitmask, enforce_overlayable); in createIdmap()