Home
last modified time | relevance | path

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

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