Home
last modified time | relevance | path

Searched refs:upgradeOptions (Results 1 – 21 of 21) sorted by relevance

/base/update/updateservice/services/firmware/upgrade/mode/include/
Dfirmware_iexecute_mode.h54 UpgradeOptions upgradeOptions; in GetUpgradeOptions() local
55 return upgradeOptions; in GetUpgradeOptions()
Dfirmware_install_apply_mode.h32 FirmwareInstallApplyMode(const UpgradeOptions &upgradeOptions, BusinessError &businessError, in FirmwareInstallApplyMode() argument
34 : upgradeOptions_(upgradeOptions), in FirmwareInstallApplyMode()
/base/update/updateservice/services/firmware/upgrade/flow/src/
Dfirmware_manager.cpp225 void FirmwareManager::DoInstall(const UpgradeOptions &upgradeOptions, BusinessError &businessError, in DoInstall() argument
229 CAST_INT(upgradeOptions.order), CAST_INT(installType)); in DoInstall()
236 … std::make_shared<FirmwareInstallApplyMode>(upgradeOptions, businessError, installType, [=]() { in DoInstall()
442 UpgradeOptions upgradeOptions; in HandleBootInstallOnStatusProcess() local
443 upgradeOptions.order = Order::INSTALL_AND_APPLY; in HandleBootInstallOnStatusProcess()
444 DoInstall(upgradeOptions, businessError, InstallType::SYS_INSTALLER); in HandleBootInstallOnStatusProcess()
/base/update/updateservice/interfaces/inner_api/include/
Dmessage_parcel_helper.h71 static int32_t ReadUpgradeOptions(MessageParcel &reply, UpgradeOptions &upgradeOptions);
72 static int32_t WriteUpgradeOptions(MessageParcel &data, const UpgradeOptions &upgradeOptions);
Diservice_online_updater.h42 const UpgradeOptions &upgradeOptions, BusinessError &businessError) = 0;
Dupdate_service_kits.h54 const UpgradeOptions &upgradeOptions, BusinessError &businessError) = 0;
Dupdate_service_kits_impl.h52 const UpgradeOptions &upgradeOptions, BusinessError &businessError) final;
/base/update/updateservice/services/firmware/upgrade/flow/include/
Dfirmware_manager.h44 …void DoInstall(const UpgradeOptions &upgradeOptions, BusinessError &businessError, InstallType ins…
/base/update/updateservice/interfaces/kits/js/declaration/
D@ohos.update.d.ts376 …upgrade(versionDigestInfo: VersionDigestInfo, upgradeOptions: UpgradeOptions, callback: AsyncCallb…
393 upgrade(versionDigestInfo: VersionDigestInfo, upgradeOptions: UpgradeOptions): Promise<void>;
/base/update/updateservice/services/engine/src/
Dupdate_service_impl_firmware.cpp93 const UpgradeOptions &upgradeOptions, BusinessError &businessError) in Upgrade() argument
95 FIRMWARE_LOGI("Upgrade order = %{public}d", CAST_INT(upgradeOptions.order)); in Upgrade()
100 DelayedSingleton<FirmwareManager>::GetInstance()->DoInstall(upgradeOptions, businessError, in Upgrade()
Dmessage_parcel_helper.cpp374 …t32_t MessageParcelHelper::ReadUpgradeOptions(MessageParcel &reply, UpgradeOptions &upgradeOptions) in ReadUpgradeOptions() argument
376 upgradeOptions.order = static_cast<Order>(reply.ReadUint32()); in ReadUpgradeOptions()
380 …MessageParcelHelper::WriteUpgradeOptions(MessageParcel &data, const UpgradeOptions &upgradeOptions) in WriteUpgradeOptions() argument
382 data.WriteUint32(static_cast<uint32_t>(upgradeOptions.order)); in WriteUpgradeOptions()
Dupdate_service_stub.cpp222 UpgradeOptions upgradeOptions; in DoUpdateStub() local
226 MessageParcelHelper::ReadUpgradeOptions(data, upgradeOptions); in DoUpdateStub()
228 int32_t ret = service->Upgrade(upgradeInfo, versionDigestInfo, upgradeOptions, businessError); in DoUpdateStub()
Dupdate_service.cpp269 const UpgradeOptions &upgradeOptions, BusinessError &businessError) in Upgrade() argument
276 return onlineUpdater->Upgrade(info, versionDigestInfo, upgradeOptions, businessError); in Upgrade()
/base/update/updateservice/services/engine/include/
Dupdate_service_impl_firmware.h46 const UpgradeOptions &upgradeOptions, BusinessError &businessError) final;
Dupdate_service_proxy.h45 const UpgradeOptions &upgradeOptions, BusinessError &businessError) override;
Dupdate_service.h56 const UpgradeOptions &upgradeOptions, BusinessError &businessError) override;
/base/update/updateservice/interfaces/inner_api/engine/
Dupdate_service_kits_impl.cpp188 const UpgradeOptions &upgradeOptions, BusinessError &businessError) in Upgrade() argument
193 return updateService->Upgrade(info, versionDigest, upgradeOptions, businessError); in Upgrade()
Dupdate_service_proxy.cpp177 const UpgradeOptions &upgradeOptions, BusinessError &businessError) in Upgrade() argument
181 upgradeOptions.order); in Upgrade()
189 MessageParcelHelper::WriteUpgradeOptions(data, upgradeOptions); in Upgrade()
/base/update/update_app/common/src/main/ets/manager/
DUpdateManager.ts290 let upgradeOptions: update.UpgradeOptions = {
293 this.otaUpdater?.upgrade(versionDigestInfo, upgradeOptions).then(() => {
/base/update/updateservice/frameworks/js/napi/base/include/
Dclient_helper.h208 …ClientStatus GetOptionsFromArg(napi_env env, const napi_value arg, UpgradeOptions &upgradeOptions);
/base/update/updateservice/frameworks/js/napi/base/src/
Dclient_helper.cpp491 …ClientHelper::GetOptionsFromArg(napi_env env, const napi_value arg, UpgradeOptions &upgradeOptions) in GetOptionsFromArg() argument
493 return GetOrder(env, arg, upgradeOptions.order); in GetOptionsFromArg()