Rename snapshotProfile to createProfileSnapshot for better consistency
Test: installd_dexopt_test
Bug: 30934496
Change-Id: I051b29e7b545ed8d9a177b6e70d653eb0ae8e020
diff --git a/cmds/installd/dexopt.h b/cmds/installd/dexopt.h
index 8a9ffd2..496f594 100644
--- a/cmds/installd/dexopt.h
+++ b/cmds/installd/dexopt.h
@@ -59,7 +59,8 @@
// ownership is assigned to AID_SYSTEM.
// The snapshot location is reference_profile_location.snapshot. If a snapshot is already
// there, it will be truncated and overwritten.
-bool snapshot_profile(int32_t app_id, const std::string& package, const std::string& code_path);
+bool create_profile_snapshot(int32_t app_id, const std::string& package,
+ const std::string& code_path);
bool dump_profiles(int32_t uid, const std::string& pkgname, const char* code_paths);