Home
last modified time | relevance | path

Searched refs:updateStatus (Results 1 – 19 of 19) sorted by relevance

/base/update/sys_installer/frameworks/status_manager/src/
Dstatus_manager.cpp49 void StatusManager::UpdateCallback(UpdateStatus updateStatus, int percent, const std::string &resul… in UpdateCallback() argument
57 if (updateStatus > UPDATE_STATE_MAX) { in UpdateCallback()
58 LOG(INFO) << "status error:" << updateStatus; in UpdateCallback()
61 if (updateStatus == UPDATE_STATE_SUCCESSFUL || updateStatus == UPDATE_STATE_FAILED) { in UpdateCallback()
67 updateStatus_ = updateStatus; in UpdateCallback()
/base/update/sys_installer/interfaces/innerkits/ipc_client/src/
Dsys_installer_callback.cpp41 int updateStatus = data.ReadInt32(); in OnRemoteRequest() local
43 OnUpgradeProgress(static_cast<UpdateStatus>(updateStatus), percent, data.ReadString()); in OnRemoteRequest()
53 void SysInstallerCallback::OnUpgradeProgress(UpdateStatus updateStatus, int percent, const std::str… in OnUpgradeProgress() argument
55 LOG(INFO) << "progress: " << updateStatus << " percent:" << percent << " msg:" << resultMsg; in OnUpgradeProgress()
57 callback_->OnUpgradeProgress(updateStatus, percent, resultMsg); in OnUpgradeProgress()
Dsys_installer_client.cpp29 …void OnUpgradeProgress(UpdateStatus updateStatus, int percent, const std::string &resultMsg) overr… in OnUpgradeProgress() argument
31 …printf("ProgressCallback progress %d percent %d msg %s\n", updateStatus, percent, resultMsg.c_str(… in OnUpgradeProgress()
/base/update/updateservice/services/firmware/upgrade/install/src/
Dfirmware_sys_installer_callback.cpp27 void SysInstallerCallback::OnUpgradeProgress(SysInstaller::UpdateStatus updateStatus, int percent, … in OnUpgradeProgress() argument
29 …sInstallerCallback OnUpgradeProgress status %{public}d percent %{public}d", updateStatus, percent); in OnUpgradeProgress()
31 switch (updateStatus) { in OnUpgradeProgress()
46 installProgress.errMsg.errorCode = CAST_INT(updateStatus); in OnUpgradeProgress()
Dfirmware_sys_installer_install.cpp63 int32_t updateStatus = SysInstaller::SysInstallerKitsImpl::GetInstance().GetUpdateStatus(); in DoSysInstall() local
64 if (updateStatus != CAST_INT(SysInstaller::UpdateStatus::UPDATE_STATE_INIT)) { in DoSysInstall()
65 FIRMWARE_LOGE("StartUnpack status: %{public}d , system busy", updateStatus); in DoSysInstall()
/base/update/sys_installer/frameworks/ipc_server/src/
Dsys_installer_callback_proxy.cpp26 void SysInstallerCallbackProxy::OnUpgradeProgress(UpdateStatus updateStatus, int percent, const std… in OnUpgradeProgress() argument
44 data.WriteInt32(updateStatus); in OnUpgradeProgress()
/base/update/update_app/feature/ota/src/main/ets/components/
DProgressContent.ets39 @StorageProp('updateStatus')
40 private updateStatus: number = AppStorage.Get('updateStatus');
69 if (StateManager.isAllowExecute(this.updateStatus, UpdateAction.SHOW_PROCESS_VIEW)) {
73 Text(StateManager.getDownloadStateText(this.updateStatus))
/base/update/update_app/product/oh/base/src/main/ets/pages/
DnewVersion.ets56 @StorageProp('updateStatus')
57 @Watch('initDataByStatus') private updateStatus: number = AppStorage.Get('updateStatus');
154 private async showCountdownDialog(updateStatus: number): Promise<void> {
156 if (StateManager.isAllowExecute(updateStatus, UpdateAction.INSTALL)) {
168 this.isButtonEnable = StateManager.isButtonEnable(this.updateStatus);
173 let stateButtonText = StateManager.getButtonText(this.updateStatus);
175 this.isButtonVisible = this.updateStatus !== UpdateState.INSTALLING
176 && this.updateStatus !== UpdateState.INSTALL_FAILED
177 && (this.isABInstall() || this.updateStatus !== UpdateState.INSTALL_SUCCESS)
178 && this.updateStatus !== UpdateState.UPGRADING
[all …]
Dindex.ets58 @StorageProp('updateStatus')
59 private updateStatus: number = AppStorage.Get('updateStatus');
124 if (StateManager.isAllowExecute(this.updateStatus, UpdateAction.CHECK_NEW_VERSION)) {
/base/update/sys_installer/test/unittest/ipc_test/
Dsys_installer_ipc_test.cpp64 …void OnUpgradeProgress(UpdateStatus updateStatus, int percent, const std::string &resultMsg) overr… in OnUpgradeProgress() argument
66 …printf("ProgressCallback progress %d percent %d msg %s\n", updateStatus, percent, resultMsg.c_str(… in OnUpgradeProgress()
/base/update/sys_installer/interfaces/inner_api/include/
Disys_installer_callback_func.h25 …virtual void OnUpgradeProgress(UpdateStatus updateStatus, int percent, const std::string &resultMs…
Disys_installer_callback.h40 …virtual void OnUpgradeProgress(UpdateStatus updateStatus, int percent, const std::string &resultMs…
/base/update/updateservice/services/firmware/upgrade/install/include/
Dfirmware_sys_installer_callback.h30 …void OnUpgradeProgress(SysInstaller::UpdateStatus updateStatus, int percent, const std::string &re…
/base/update/sys_installer/frameworks/ipc_server/include/
Dsys_installer_callback_proxy.h30 …void OnUpgradeProgress(UpdateStatus updateStatus, int percent, const std::string &resultMsg) overr…
/base/update/sys_installer_lite/interfaces/kits/
Dhota_partition.h61 unsigned char updateStatus; member
/base/update/sys_installer/frameworks/status_manager/include/
Dstatus_manager.h34 … virtual void UpdateCallback(UpdateStatus updateStatus, int percent, const std::string &resultMsg);
/base/update/sys_installer/interfaces/innerkits/ipc_client/include/
Dsys_installer_callback.h36 …void OnUpgradeProgress(UpdateStatus updateStatus, int percent, const std::string &resultMsg) overr…
/base/update/sys_installer_lite/frameworks/source/updater/
Dhota_updater.c692 return data.updateStatus ? 1 : 0; in HotaGetUpdateStatus()
/base/update/update_app/feature/ota/src/main/ets/manager/
DOtaUpdateManager.ets240 AppStorage.Set('updateStatus', this._updateStatus);