Searched refs:target_apk (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/cmds/idmap2/tests/ |
D | IdmapTests.cpp | 173 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 …]
|
D | PrettyPrintVisitorTests.cpp | 42 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()
|
D | RawPrintVisitorTests.cpp | 52 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()
|
D | ResourceMappingTests.cpp | 52 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/ |
D | Create.cpp | 92 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()
|
D | CreateMultiple.cpp | 93 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()
|
D | Lookup.cpp | 213 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/ |
D | Idmap2Service.cpp | 183 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()
|