Home
last modified time | relevance | path

Searched refs:tmp_profile_path (Results 1 – 3 of 3) sorted by relevance

/aosp_15_r20/art/artd/
H A Dpath_utils.cc263 Result<std::string> BuildFinalProfilePath(const TmpProfilePath& tmp_profile_path) { in BuildFinalProfilePath() argument
264 return BuildWritableProfilePath(tmp_profile_path.finalPath); in BuildFinalProfilePath()
267 Result<std::string> BuildTmpProfilePath(const TmpProfilePath& tmp_profile_path) { in BuildTmpProfilePath() argument
268 OR_RETURN(ValidatePathElementSubstring(tmp_profile_path.id, "id")); in BuildTmpProfilePath()
269 return NewFile::BuildTempPath(OR_RETURN(BuildFinalProfilePath(tmp_profile_path)), in BuildTmpProfilePath()
270 tmp_profile_path.id); in BuildTmpProfilePath()
326 bool PreRebootFlag(const TmpProfilePath& tmp_profile_path) { in PreRebootFlag() argument
327 return PreRebootFlag(tmp_profile_path.finalPath); in PreRebootFlag()
H A Dpath_utils.h85 const aidl::com::android::server::art::ProfilePath::TmpProfilePath& tmp_profile_path);
88 const aidl::com::android::server::art::ProfilePath::TmpProfilePath& tmp_profile_path);
125 const aidl::com::android::server::art::ProfilePath::TmpProfilePath& tmp_profile_path);
H A Dartd.cc774 std::string tmp_profile_path = OR_RETURN_FATAL(BuildTmpProfilePath(in_profile)); in commitTmpProfile() local
778 std::filesystem::rename(tmp_profile_path, ref_profile_path, ec); in commitTmpProfile()
781 "Failed to move '{}' to '{}': {}", tmp_profile_path, ref_profile_path, ec.message())); in commitTmpProfile()