Searched refs:LOCALE_FILE (Results 1 – 2 of 2) sorted by relevance
64 static constexpr const char* LOCALE_FILE = "/cache/recovery/last_locale"; variable175 if (ensure_path_mounted(LOCALE_FILE) != 0) { in load_locale_from_cache()176 LOG(ERROR) << "Can't mount " << LOCALE_FILE; in load_locale_from_cache()181 if (!android::base::ReadFileToString(LOCALE_FILE, &content)) { in load_locale_from_cache()182 PLOG(ERROR) << "Can't read " << LOCALE_FILE; in load_locale_from_cache()
68 static constexpr const char* LOCALE_FILE = "/cache/recovery/last_locale"; variable135 if (ensure_path_mounted(LOCALE_FILE) != 0) { in FinishRecovery()136 LOG(ERROR) << "Failed to mount " << LOCALE_FILE; in FinishRecovery()137 } else if (!android::base::WriteStringToFile(locale, LOCALE_FILE)) { in FinishRecovery()138 PLOG(ERROR) << "Failed to save locale to " << LOCALE_FILE; in FinishRecovery()