Searched refs:overlay_apk (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/cmds/idmap2/tests/ |
D | IdmapTests.cpp | 176 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 …]
|
D | PrettyPrintVisitorTests.cpp | 46 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()
|
D | RawPrintVisitorTests.cpp | 56 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()
|
D | ResourceMappingTests.cpp | 58 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/ |
D | Create.cpp | 97 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()
|
D | CreateMultiple.cpp | 109 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()
|
D | Lookup.cpp | 231 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/ |
D | Idmap2Service.cpp | 188 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()
|