/frameworks/base/cmds/idmap2/tests/ |
D | PrettyPrintVisitorTests.cpp | 39 std::unique_ptr<const ApkAssets> target_apk = ApkAssets::Load(target_apk_path); in TEST() local 40 ASSERT_THAT(target_apk, NotNull()); in TEST() 47 Idmap::FromApkAssets(target_apk_path, *target_apk, overlay_apk_path, *overlay_apk, in TEST()
|
D | RawPrintVisitorTests.cpp | 34 std::unique_ptr<const ApkAssets> target_apk = ApkAssets::Load(target_apk_path); in TEST() local 35 ASSERT_THAT(target_apk, NotNull()); in TEST() 42 Idmap::FromApkAssets(target_apk_path, *target_apk, overlay_apk_path, *overlay_apk, in TEST()
|
D | BinaryStreamVisitorTests.cpp | 71 std::unique_ptr<const ApkAssets> target_apk = ApkAssets::Load(target_apk_path); in TEST() local 72 ASSERT_THAT(target_apk, NotNull()); in TEST() 79 Idmap::FromApkAssets(target_apk_path, *target_apk, overlay_apk_path, *overlay_apk, in TEST()
|
D | IdmapTests.cpp | 175 std::unique_ptr<const ApkAssets> target_apk = ApkAssets::Load(target_apk_path.to_string()); in CreateIdmap() local 176 ASSERT_THAT(target_apk, NotNull()); in CreateIdmap() 182 Idmap::FromApkAssets(target_apk_path.to_string(), *target_apk, overlay_apk_path.to_string(), in CreateIdmap() 476 std::unique_ptr<const ApkAssets> target_apk = ApkAssets::Load(target_apk_path); in TEST() local 477 ASSERT_THAT(target_apk, NotNull()); in TEST() 484 Idmap::FromApkAssets(target_apk_path, *target_apk, overlay_apk_path, *overlay_apk, in TEST() 493 std::unique_ptr<const ApkAssets> target_apk = ApkAssets::Load(target_apk_path); in TEST() local 494 ASSERT_THAT(target_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/ |
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() 102 const auto idmap = Idmap::FromApkAssets(target_apk_path, *target_apk, overlay_apk_path, in Create()
|
D | Lookup.cpp | 199 auto target_apk = ApkAssets::Load(target_path); in Lookup() local 200 if (!target_apk) { in Lookup() 203 apk_assets.push_back(std::move(target_apk)); in Lookup()
|
/frameworks/base/cmds/idmap2/idmap2d/ |
D | Idmap2Service.cpp | 130 const std::unique_ptr<const ApkAssets> target_apk = ApkAssets::Load(target_apk_path); in createIdmap() local 131 if (!target_apk) { in createIdmap() 140 const auto idmap = Idmap::FromApkAssets(target_apk_path, *target_apk, overlay_apk_path, in createIdmap()
|
/frameworks/native/cmds/installd/ |
D | InstalldNativeService.cpp | 2426 static void run_idmap(const char *target_apk, const char *overlay_apk, int idmap_fd) in run_idmap() argument 2428 execl(kIdMapPath, kIdMapPath, "--fd", target_apk, overlay_apk, in run_idmap() 2433 static void run_verify_idmap(const char *target_apk, const char *overlay_apk, int idmap_fd) in run_verify_idmap() argument 2435 execl(kIdMapPath, kIdMapPath, "--verify", target_apk, overlay_apk, in run_verify_idmap() 2440 static bool delete_stale_idmap(const char* target_apk, const char* overlay_apk, in delete_stale_idmap() argument 2466 run_verify_idmap(target_apk, overlay_apk, idmap_fd); in delete_stale_idmap() 2524 const char* target_apk = targetApkPath.c_str(); in idmap() local 2526 ALOGV("idmap target_apk=%s overlay_apk=%s uid=%d\n", target_apk, overlay_apk, uid); in idmap() 2542 outdated = delete_stale_idmap(target_apk, overlay_apk, idmap_path, uid); in idmap() 2586 run_idmap(target_apk, overlay_apk, idmap_fd); in idmap()
|