Searched refs:last_command_file (Results 1 – 2 of 2) sorted by relevance
44 std::string last_command_file() const { in last_command_file() function47 void set_last_command_file(const std::string& last_command_file) { in set_last_command_file() argument48 last_command_file_ = last_command_file; in set_last_command_file()
85 const std::string& last_command_file = Paths::Get().last_command_file(); in DeleteLastCommandFile() local86 if (unlink(last_command_file.c_str()) == -1 && errno != ENOENT) { in DeleteLastCommandFile()87 PLOG(ERROR) << "Failed to unlink: " << last_command_file; in DeleteLastCommandFile()94 const std::string& last_command_file = Paths::Get().last_command_file(); in ParseLastCommandFile() local95 android::base::unique_fd fd(TEMP_FAILURE_RETRY(open(last_command_file.c_str(), O_RDONLY))); in ParseLastCommandFile()98 PLOG(ERROR) << "Failed to open " << last_command_file; in ParseLastCommandFile()102 LOG(INFO) << last_command_file << " doesn't exist."; in ParseLastCommandFile()109 LOG(ERROR) << "Failed to read: " << last_command_file; in ParseLastCommandFile()144 const std::string& last_command_file = Paths::Get().last_command_file(); in UpdateLastCommandIndex() local145 std::string last_command_tmp = last_command_file + ".tmp"; in UpdateLastCommandIndex()[all …]