Home
last modified time | relevance | path

Searched refs:file2 (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()
138 android::base::unique_fd fd2(open(file2, O_RDONLY)); in compare_file()
148 LOG(ERROR) << "Failed to read from " << file2; in compare_file()