Home
last modified time | relevance | path

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

/frameworks/base/cmds/idmap2/tests/
DPrettyPrintVisitorTests.cpp43 std::unique_ptr<const ApkAssets> overlay_apk = ApkAssets::Load(overlay_apk_path); in TEST() local
44 ASSERT_THAT(overlay_apk, NotNull()); in TEST()
47 Idmap::FromApkAssets(target_apk_path, *target_apk, overlay_apk_path, *overlay_apk, in TEST()
DRawPrintVisitorTests.cpp38 std::unique_ptr<const ApkAssets> overlay_apk = ApkAssets::Load(overlay_apk_path); in TEST() local
39 ASSERT_THAT(overlay_apk, NotNull()); in TEST()
42 Idmap::FromApkAssets(target_apk_path, *target_apk, overlay_apk_path, *overlay_apk, in TEST()
DBinaryStreamVisitorTests.cpp75 std::unique_ptr<const ApkAssets> overlay_apk = ApkAssets::Load(overlay_apk_path); in TEST() local
76 ASSERT_THAT(overlay_apk, NotNull()); in TEST()
79 Idmap::FromApkAssets(target_apk_path, *target_apk, overlay_apk_path, *overlay_apk, in TEST()
DIdmapTests.cpp178 std::unique_ptr<const ApkAssets> overlay_apk = ApkAssets::Load(overlay_apk_path.to_string()); in CreateIdmap() local
179 ASSERT_THAT(overlay_apk, NotNull()); in CreateIdmap()
183 *overlay_apk, fulfilled_policies, enforce_overlayable); in CreateIdmap()
480 std::unique_ptr<const ApkAssets> overlay_apk = ApkAssets::Load(overlay_apk_path); in TEST() local
481 ASSERT_THAT(overlay_apk, NotNull()); in TEST()
484 Idmap::FromApkAssets(target_apk_path, *target_apk, overlay_apk_path, *overlay_apk, in TEST()
497 std::unique_ptr<const ApkAssets> overlay_apk = ApkAssets::Load(overlay_apk_path); in TEST() local
498 ASSERT_THAT(overlay_apk, NotNull()); in TEST()
500 auto result = Idmap::FromApkAssets(target_apk_path, *target_apk, overlay_apk_path, *overlay_apk, in TEST()
/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 *overlay_apk, fulfilled_policies, !ignore_overlayable); in Create()
DLookup.cpp217 auto overlay_apk = ApkAssets::LoadOverlay(idmap_path); in Lookup() local
218 if (!overlay_apk) { in Lookup()
222 apk_assets.push_back(std::move(overlay_apk)); in Lookup()
/frameworks/base/cmds/idmap2/idmap2d/
DIdmap2Service.cpp135 const std::unique_ptr<const ApkAssets> overlay_apk = ApkAssets::Load(overlay_apk_path); in createIdmap() local
136 if (!overlay_apk) { in createIdmap()
141 *overlay_apk, policy_bitmask, enforce_overlayable); in createIdmap()
/frameworks/native/cmds/installd/
DInstalldNativeService.cpp2251 static void run_idmap(const char *target_apk, const char *overlay_apk, int idmap_fd) in run_idmap() argument
2253 execl(kIdMapPath, kIdMapPath, "--fd", target_apk, overlay_apk, in run_idmap()
2258 static void run_verify_idmap(const char *target_apk, const char *overlay_apk, int idmap_fd) in run_verify_idmap() argument
2260 execl(kIdMapPath, kIdMapPath, "--verify", target_apk, overlay_apk, in run_verify_idmap()
2265 static bool delete_stale_idmap(const char* target_apk, const char* overlay_apk, in delete_stale_idmap() argument
2291 run_verify_idmap(target_apk, overlay_apk, idmap_fd); in delete_stale_idmap()
2350 const char* overlay_apk = overlayApkPath.c_str(); in idmap() local
2351 ALOGV("idmap target_apk=%s overlay_apk=%s uid=%d\n", target_apk, overlay_apk, uid); in idmap()
2358 if (flatten_path(IDMAP_PREFIX, IDMAP_SUFFIX, overlay_apk, in idmap()
2360 ALOGE("idmap cannot generate idmap path for overlay %s\n", overlay_apk); in idmap()
[all …]