Home
last modified time | relevance | path

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

/bootable/recovery/recovery_utils/
Dlogging.cpp51 constexpr const char* CACHE_LOG_DIR = "/cache/recovery"; variable
263 std::unique_ptr<DIR, decltype(&closedir)> d(opendir(CACHE_LOG_DIR), closedir); in ReadLogFilesToMemory()
266 PLOG(ERROR) << "Failed to opendir " << CACHE_LOG_DIR; in ReadLogFilesToMemory()
274 std::string path = android::base::StringPrintf("%s/%s", CACHE_LOG_DIR, de->d_name); in ReadLogFilesToMemory()
300 if (ensure_path_mounted(CACHE_LOG_DIR) != 0) { in RestoreLogFilesAfterFormat()
301 PLOG(ERROR) << "Failed to mount " << CACHE_LOG_DIR; in RestoreLogFilesAfterFormat()
305 if (mkdir_recursively(CACHE_LOG_DIR, 0777, false, logging_sehandle) != 0) { in RestoreLogFilesAfterFormat()
306 PLOG(ERROR) << "Failed to create " << CACHE_LOG_DIR; in RestoreLogFilesAfterFormat()