Home
last modified time | relevance | path

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

/base/update/updater/test/unittest/updater_main_test/
Dupdater_main_unittest.cpp114 const std::string sLog = "/data/updater/main_data/updater.tab"; variable
116 bool ret = CopyUpdaterLogs(sLog, dLog);
/base/update/updater/utils/
Dutils.cpp450 bool CopyUpdaterLogs(const std::string &sLog, const std::string &dLog) in CopyUpdaterLogs() argument
477 if (Utils::GetFileSize(sLog) > MAX_LOG_SIZE) { in CopyUpdaterLogs()
478 LOG(ERROR) << "Size bigger for" << sLog; in CopyUpdaterLogs()
483 while (Utils::GetFileSize(sLog) + GetDirSizeForFile(dLog) > MAX_LOG_DIR_SIZE) { in CopyUpdaterLogs()
489 if (!CopyFile(sLog, dLog, true)) { in CopyUpdaterLogs()
/base/update/updater/utils/include/
Dutils.h64 bool CopyUpdaterLogs(const std::string &sLog, const std::string &dLog);