Home
last modified time | relevance | path

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

/bootable/recovery/otautil/include/otautil/
Dpaths.h44 std::string last_command_file() const { in last_command_file() function
47 void set_last_command_file(const std::string& last_command_file) { in set_last_command_file() argument
48 last_command_file_ = last_command_file; in set_last_command_file()
/bootable/recovery/updater/
Dblockimg.cpp85 const std::string& last_command_file = Paths::Get().last_command_file(); in DeleteLastCommandFile() local
86 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() local
95 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() local
145 std::string last_command_tmp = last_command_file + ".tmp"; in UpdateLastCommandIndex()
[all …]