Home
last modified time | relevance | path

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

/ohos5.0/base/update/sys_installer/frameworks/ipc_server/src/
H A Dmodule_update_service.cpp140 std::ifstream ifs { MODULE_RESULT_PATH }; in GetHmpUpdateResult()
142 LOG(ERROR) << "open " << MODULE_RESULT_PATH << " failed"; in GetHmpUpdateResult()
173 (void)unlink(MODULE_RESULT_PATH); in GetHmpUpdateResult()
/ohos5.0/base/update/sys_installer/services/module_update/src/
H A Dmodule_file_repository.cpp62 if (!CheckPathExists(MODULE_RESULT_PATH)) { in SaveInstallerResult()
63 LOG(ERROR) << MODULE_RESULT_PATH << " not exist"; in SaveInstallerResult()
68 UniqueFd fd(open(MODULE_RESULT_PATH, O_APPEND | O_RDWR | O_CLOEXEC)); in SaveInstallerResult()
/ohos5.0/base/update/sys_installer/services/module_update/util/include/
H A Dmodule_constants.h32 static constexpr const char *MODULE_RESULT_PATH = "/data/updater/module_update_result"; variable
/ohos5.0/base/update/sys_installer/services/module_update/util/src/
H A Dmodule_utils.cpp365 std::ifstream ifs { MODULE_RESULT_PATH }; in CheckAndUpdateRevertResult()
391 std::ofstream outfile(MODULE_RESULT_PATH, std::ios::binary | std::ios::trunc); in CheckAndUpdateRevertResult()
/ohos5.0/base/update/sys_installer/services/module_update/service/src/
H A Dmodule_update_main.cpp534 UniqueFd fd(open(MODULE_RESULT_PATH, O_APPEND | O_RDWR | O_CREAT | O_CLOEXEC)); in SaveInstallerResult()
540 if (chmod(MODULE_RESULT_PATH, mode) != 0) { in SaveInstallerResult()
541 LOG(ERROR) << "Could not chmod " << MODULE_RESULT_PATH; in SaveInstallerResult()