Home
last modified time | relevance | path

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

/base/update/updater/services/
Dupdater_main.cpp324 … const std::string resultPath = std::string(UPDATER_PATH) + "/" + std::string(UPDATER_RESULT_FILE); in PreUpdatePackages() local
325 if (access(resultPath.c_str(), F_OK) != -1) { in PreUpdatePackages()
326 (void)DeleteFile(resultPath); in PreUpdatePackages()
419 … const std::string resultPath = std::string(UPDATER_PATH) + "/" + std::string(UPDATER_RESULT_FILE); in PostUpdatePackages() local
420 std::ifstream fin {resultPath}; in PostUpdatePackages()
422 LOG(ERROR) << "read result file error " << resultPath; in PostUpdatePackages()
/base/update/updater/utils/
Dutils.cpp504 … const std::string resultPath = std::string(UPDATER_PATH) + "/" + std::string(UPDATER_RESULT_FILE); in CheckDumpResult() local
505 ifs.open(resultPath, std::ios::in); in CheckDumpResult()
523 … const std::string resultPath = std::string(UPDATER_PATH) + "/" + std::string(UPDATER_RESULT_FILE); in WriteDumpResult() local
524 FILE *fp = fopen(resultPath.c_str(), "w+"); in WriteDumpResult()
540 (void)chown(resultPath.c_str(), USER_ROOT_AUTHORITY, GROUP_UPDATE_AUTHORITY); in WriteDumpResult()
541 (void)chmod(resultPath.c_str(), 0660); // 0660: -rw-rw---- in WriteDumpResult()