Rename snapshotProfile to createProfileSnapshot for better consistency

Test: installd_dexopt_test
Bug: 30934496

(cherry picked from commit c41dac27c540971d8877911d6a3908af2046c9eb)

Change-Id: I5ef302ef714d47150790e3a97a9d0c0bbf36adc3
diff --git a/cmds/installd/dexopt.h b/cmds/installd/dexopt.h
index 8ece893..8d81611 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);