Home
last modified time | relevance | path

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

/base/update/updater/services/
Dupdater_main.cpp326 … const std::string resultPath = std::string(UPDATER_PATH) + "/" + std::string(UPDATER_RESULT_FILE); in PreUpdatePackages() local
327 if (access(resultPath.c_str(), F_OK) != -1) { in PreUpdatePackages()
328 (void)DeleteFile(resultPath); in PreUpdatePackages()
443 … const std::string resultPath = std::string(UPDATER_PATH) + "/" + std::string(UPDATER_RESULT_FILE); in PostUpdatePackages() local
444 std::ifstream fin {resultPath}; in PostUpdatePackages()
446 LOG(ERROR) << "read result file error " << resultPath; in PostUpdatePackages()
/base/update/updater/utils/
Dutils.cpp589 … const std::string resultPath = std::string(UPDATER_PATH) + "/" + std::string(UPDATER_RESULT_FILE); in CheckResultFail() local
590 ifs.open(resultPath, std::ios::in); in CheckResultFail()
611 … const std::string resultPath = std::string(UPDATER_PATH) + "/" + std::string(UPDATER_RESULT_FILE); in WriteDumpResult() local
612 FILE *fp = fopen(resultPath.c_str(), "w+"); in WriteDumpResult()
628 (void)chown(resultPath.c_str(), USER_ROOT_AUTHORITY, GROUP_UPDATE_AUTHORITY); in WriteDumpResult()
629 (void)chmod(resultPath.c_str(), 0660); // 0660: -rw-rw---- in WriteDumpResult()