Searched refs:sLog (Results 1 – 5 of 5) sorted by relevance
114 const std::string sLog = "/data/updater/main_data/updater.tab"; variable116 bool ret = CopyUpdaterLogs(sLog, dLog);
126 const std::string sLog = "/data/updater/main_data/updater.tab"; variable128 bool ret = Utils::CopyUpdaterLogs(sLog, dLog);
123 const std::string sLog = "/data/updater/main_data/updater.tab"; in TestCopyUpdaterLogs() local125 Utils::CopyUpdaterLogs(sLog, dLog); in TestCopyUpdaterLogs()
564 bool CopyUpdaterLogs(const std::string &sLog, const std::string &dLog) in CopyUpdaterLogs() argument586 if (Utils::GetFileSize(sLog) > MAX_LOG_SIZE) { in CopyUpdaterLogs()587 LOG(ERROR) << "Size bigger for" << sLog; in CopyUpdaterLogs()592 while (Utils::GetFileSize(sLog) + GetDirSizeForFile(dLog) > MAX_LOG_DIR_SIZE) { in CopyUpdaterLogs()598 if (!CopyFile(sLog, dLog, true)) { in CopyUpdaterLogs()
77 bool CopyUpdaterLogs(const std::string &sLog, const std::string &dLog);