Home
last modified time | relevance | path

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

/bootable/recovery/
Drecovery_main.cpp64 static constexpr const char* LOCALE_FILE = "/cache/recovery/last_locale"; variable
179 if (ensure_path_mounted(LOCALE_FILE) != 0) { in load_locale_from_cache()
180 LOG(ERROR) << "Can't mount " << LOCALE_FILE; in load_locale_from_cache()
185 if (!android::base::ReadFileToString(LOCALE_FILE, &content)) { in load_locale_from_cache()
186 PLOG(ERROR) << "Can't read " << LOCALE_FILE; in load_locale_from_cache()
Drecovery.cpp64 static constexpr const char* LOCALE_FILE = "/cache/recovery/last_locale"; variable
131 if (ensure_path_mounted(LOCALE_FILE) != 0) { in FinishRecovery()
132 LOG(ERROR) << "Failed to mount " << LOCALE_FILE; in FinishRecovery()
133 } else if (!android::base::WriteStringToFile(locale, LOCALE_FILE)) { in FinishRecovery()
134 PLOG(ERROR) << "Failed to save locale to " << LOCALE_FILE; in FinishRecovery()