Home
last modified time | relevance | path

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

/bootable/recovery/uncrypt/
Duncrypt.cpp250 std::string tmp_map_file = map_file + ".tmp"; in ProductBlockMap() local
251 android::base::unique_fd mapfd(open(tmp_map_file.c_str(), O_WRONLY | O_CREAT, S_IRUSR | S_IWUSR)); in ProductBlockMap()
253 PLOG(ERROR) << "failed to open " << tmp_map_file; in ProductBlockMap()
280 PLOG(ERROR) << "failed to write " << tmp_map_file; in ProductBlockMap()
416 PLOG(ERROR) << "failed to write " << tmp_map_file; in ProductBlockMap()
422 PLOG(ERROR) << "failed to write " << tmp_map_file; in ProductBlockMap()
428 PLOG(ERROR) << "failed to fsync \"" << tmp_map_file << "\""; in ProductBlockMap()
432 PLOG(ERROR) << "failed to close " << tmp_map_file; in ProductBlockMap()
447 if (rename(tmp_map_file.c_str(), map_file.c_str()) == -1) { in ProductBlockMap()
448 PLOG(ERROR) << "failed to rename " << tmp_map_file << " to " << map_file; in ProductBlockMap()