Home
last modified time | relevance | path

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

/base/update/updater/test/unittest/utils/
H A Dutils_unittest.cpp126 const std::string sLog = "/data/updater/main_data/updater.tab"; in HWTEST_F() local
128 bool ret = Utils::CopyUpdaterLogs(sLog, dLog); in HWTEST_F()
/base/update/updater/test/unittest/updater_main_test/
H A Dupdater_main_unittest.cpp114 const std::string sLog = "/data/updater/main_data/updater.tab"; in HWTEST_F() local
116 bool ret = CopyUpdaterLogs(sLog, dLog); in HWTEST_F()
/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()
/base/update/updater/utils/
H A Dutils.cpp561 bool CopyUpdaterLogs(const std::string &sLog, const std::string &dLog) in CopyUpdaterLogs() argument
583 if (Utils::GetFileSize(sLog) > MAX_LOG_SIZE) { in CopyUpdaterLogs()
584 LOG(ERROR) << "Size bigger for" << sLog; in CopyUpdaterLogs()
589 while (Utils::GetFileSize(sLog) + GetDirSizeForFile(dLog) > MAX_LOG_DIR_SIZE) { in CopyUpdaterLogs()
595 if (!CopyFile(sLog, dLog, true)) { in CopyUpdaterLogs()
/base/update/updater/utils/include/
H A Dutils.h78 bool CopyUpdaterLogs(const std::string &sLog, const std::string &dLog);

Completed in 4 milliseconds