Home
last modified time | relevance | path

Searched refs:installProgress (Results 1 – 3 of 3) sorted by relevance

/base/update/updateservice/services/firmware/upgrade/install/src/
Dfirmware_sys_installer_callback.cpp30 InstallProgress installProgress = {}; in OnUpgradeProgress() local
34 installProgress.progress.status = UpgradeStatus::INSTALLING; in OnUpgradeProgress()
37 installProgress.progress.status = UpgradeStatus::INSTALL_SUCCESS; in OnUpgradeProgress()
40 installProgress.progress.status = UpgradeStatus::INSTALL_FAIL; in OnUpgradeProgress()
41 installProgress.errMsg.errorMsg = resultMsg; in OnUpgradeProgress()
45 installProgress.progress.percent = static_cast<uint32_t>(percent); in OnUpgradeProgress()
46 installProgress.errMsg.errorCode = CAST_INT(updateStatus); in OnUpgradeProgress()
47 sysInstallCallback_.onSysInstallerCallback(installProgress); in OnUpgradeProgress()
Dfirmware_sys_installer_install.cpp71 SysInstallerExecutorCallback callback { [&](const InstallProgress &installProgress) { in DoSysInstall()
72 sysInstallProgress_ = installProgress.progress; in DoSysInstall()
73 errMsg_ = installProgress.errMsg; in DoSysInstall()
74 sysComponent.status = installProgress.progress.status; in DoSysInstall()
75 sysComponent.progress = installProgress.progress.percent; in DoSysInstall()
/base/update/updateservice/services/firmware/upgrade/install/include/
Dfirmware_sys_installer_install.h27 using OnSysInstallerCallback = std::function<void(const InstallProgress &installProgress)>;