Home
last modified time | relevance | path

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

/ohos5.0/base/update/updater/test/unittest/updater_main_test/
H A Dupdater_main_unittest.cpp114 const std::string sLog = "/data/updater/main_data/updater.tab"; variable
116 bool ret = CopyUpdaterLogs(sLog, dLog);
/ohos5.0/base/update/updater/test/unittest/utils/
H A Dutils_unittest.cpp126 const std::string sLog = "/data/updater/main_data/updater.tab"; variable
128 bool ret = Utils::CopyUpdaterLogs(sLog, dLog);
/ohos5.0/base/update/updater/test/fuzztest/updaterutils_fuzzer/
H A Dupdater_utils_fuzzer.cpp123 const std::string sLog = "/data/updater/main_data/updater.tab"; in TestCopyUpdaterLogs() local
125 Utils::CopyUpdaterLogs(sLog, dLog); in TestCopyUpdaterLogs()
/ohos5.0/base/update/updater/utils/
H A Dutils.cpp564 bool CopyUpdaterLogs(const std::string &sLog, const std::string &dLog) in CopyUpdaterLogs() argument
586 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()
/ohos5.0/base/update/updater/utils/include/
H A Dutils.h77 bool CopyUpdaterLogs(const std::string &sLog, const std::string &dLog);