Searched refs:tmp_profile_path (Results 1 – 3 of 3) sorted by relevance
256 Result<std::string> BuildFinalProfilePath(const TmpProfilePath& tmp_profile_path) { in BuildFinalProfilePath() argument257 return BuildWritableProfilePath(tmp_profile_path.finalPath); in BuildFinalProfilePath()260 Result<std::string> BuildTmpProfilePath(const TmpProfilePath& tmp_profile_path) { in BuildTmpProfilePath() argument261 OR_RETURN(ValidatePathElementSubstring(tmp_profile_path.id, "id")); in BuildTmpProfilePath()262 return NewFile::BuildTempPath(OR_RETURN(BuildFinalProfilePath(tmp_profile_path)), in BuildTmpProfilePath()263 tmp_profile_path.id); in BuildTmpProfilePath()319 bool PreRebootFlag(const TmpProfilePath& tmp_profile_path) { in PreRebootFlag() argument320 return PreRebootFlag(tmp_profile_path.finalPath); in PreRebootFlag()
85 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);
760 std::string tmp_profile_path = OR_RETURN_FATAL(BuildTmpProfilePath(in_profile)); in commitTmpProfile() local764 std::filesystem::rename(tmp_profile_path, ref_profile_path, ec); in commitTmpProfile()767 "Failed to move '{}' to '{}': {}", tmp_profile_path, ref_profile_path, ec.message())); in commitTmpProfile()