Home
last modified time | relevance | path

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

/frameworks/native/cmds/installd/
Drestorable_file.cpp34 std::string GetTmpFilePath(const std::string& path) { in GetTmpFilePath() function
78 UnlinkPossiblyNonExistingFile(GetTmpFilePath(path)); in reset()
100 if (rename(GetTmpFilePath(path).c_str(), path.c_str()) < 0) { in CommitWorkFile()
101 PLOG(ERROR) << "Cannot rename " << GetTmpFilePath(path) << " to " << path; in CommitWorkFile()
104 UnlinkPossiblyNonExistingFile(GetTmpFilePath(path)); in CommitWorkFile()
140 std::string tmp_file_path = GetTmpFilePath(path); in CreateWritableFile()
155 UnlinkPossiblyNonExistingFile(GetTmpFilePath(path)); in RemoveAllFiles()