Home
last modified time | relevance | path

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

/bootable/recovery/
Drecovery-persist.cpp128 bool compare_file(const char* file1, const char* file2) { in compare_file() argument
129 if (!file_exists(file1) || !file_exists(file2)) { in compare_file()
132 if (file_size(file1) != file_size(file2)) { in compare_file()
137 android::base::unique_fd fd1(open(file1, O_RDONLY)); in compare_file()
139 auto bytes_remain = file_size(file1); in compare_file()
144 LOG(ERROR) << "Failed to read from " << file1; in compare_file()