Home
last modified time | relevance | path

Searched refs:NewVersionInfo (Results 1 – 23 of 23) sorted by relevance

/base/update/updateservice/interfaces/kits/js/declaration/
D@ohos.update.d.ts104 getNewVersionInfo(callback: AsyncCallback<NewVersionInfo>): void;
117 getNewVersionInfo(): Promise<NewVersionInfo>;
752 newVersionInfo: NewVersionInfo;
763 export interface NewVersionInfo { interface
/base/update/update_app/feature/ota/src/main/ets/util/
DVersionUtils.ets39 export function calculatePackageSize(newVersion: update.NewVersionInfo): number {
54 …export async function obtainNewVersionName(info: update.NewVersionInfo | update.TaskBody): Promise…
93 let newVersionInfo: update.NewVersionInfo = globalThis.cachedNewVersionInfo ||
94 …teManager.getInstance().getNewVersion().then((upgradeData: UpgradeData<update.NewVersionInfo>) => {
/base/update/updateservice/test/fuzztest/updateservicegetnewversion_fuzzer/
Dupdateservicegetnewversion_fuzzer.cpp31 NewVersionInfo newVersionInfo; in FuzzUpdateServiceGetNewVersion()
/base/update/updateservice/interfaces/inner_api/include/
Dmessage_parcel_helper.h41 static int32_t ReadNewVersionInfo(MessageParcel &reply, NewVersionInfo &newVersionInfo);
42 static int32_t WriteNewVersionInfo(MessageParcel &data, const NewVersionInfo &newVersionInfo);
Diservice_online_updater.h49 virtual int32_t GetNewVersionInfo(const UpgradeInfo &info, NewVersionInfo &newVersionInfo,
Dupdate_service_kits.h61 virtual int32_t GetNewVersionInfo(const UpgradeInfo &info, NewVersionInfo &newVersionInfo,
Dupdate_service_kits_impl.h59 int32_t GetNewVersionInfo(const UpgradeInfo &info, NewVersionInfo &newVersionInfo,
Dupdate_helper.h385 struct NewVersionInfo { struct
396 NewVersionInfo newVersionInfo; argument
/base/update/updateservice/services/firmware/upgrade/data_processor/include/
Dfirmware_check_data_processor.h56 …void BuildVersionDigest(NewVersionInfo &newVersionInfo, const std::vector<FirmwareComponent> &comp…
/base/update/update_app/common/src/main/ets/manager/
DUpdateManager.ts73 getNewVersion(): Promise<UpgradeData<update.NewVersionInfo>>;
158 async getNewVersion(): Promise<UpgradeData<update.NewVersionInfo>> {
160 this.otaUpdater?.getNewVersionInfo().then((result: update.NewVersionInfo) => {
162 let upgradeData: UpgradeData<update.NewVersionInfo> = {
169 let upgradeData: UpgradeData<update.NewVersionInfo> = {
/base/update/updateservice/services/engine/src/
Dmessage_parcel_helper.cpp173 void ReadNewVersionInfoEx(MessageParcel &reply, NewVersionInfo &newVersionInfo) in ReadNewVersionInfoEx()
179 void WriteNewVersionInfoEx(MessageParcel &data, const NewVersionInfo &newVersionInfo) in WriteNewVersionInfoEx()
199 int32_t MessageParcelHelper::ReadNewVersionInfo(MessageParcel &reply, NewVersionInfo &newVersionInf… in ReadNewVersionInfo()
205 int32_t MessageParcelHelper::WriteNewVersionInfo(MessageParcel &data, const NewVersionInfo &newVers… in WriteNewVersionInfo()
Dupdate_service_impl_firmware.cpp123 const UpgradeInfo &info, NewVersionInfo &newVersionInfo, BusinessError &businessError) in GetNewVersionInfo()
Dupdate_service.cpp151 int32_t UpdateService::GetNewVersionInfo(const UpgradeInfo &info, NewVersionInfo &newVersionInfo, in GetNewVersionInfo()
Dupdate_service_stub.cpp75 NewVersionInfo newVersionInfo = {}; in GetNewVersionStub()
/base/update/updateservice/services/engine/include/
Dupdate_service_impl_firmware.h54 … const UpgradeInfo &info, NewVersionInfo &newVersionInfo, BusinessError &businessError) final;
Dupdate_service_proxy.h52 int32_t GetNewVersionInfo(const UpgradeInfo &info, NewVersionInfo &newVersionInfo,
Dupdate_service.h64 … const UpgradeInfo &info, NewVersionInfo &newVersionInfo, BusinessError &businessError) override;
/base/update/updateservice/frameworks/js/napi/client/
Dupdate_client.h97 NewVersionInfo newVersionInfo_ {};
/base/update/updateservice/frameworks/js/napi/base/include/
Dclient_helper.h84 NewVersionInfo *newVersionInfo;
148 result.newVersionInfo = new (std::nothrow) NewVersionInfo();
/base/update/updateservice/services/firmware/upgrade/data_processor/src/
Dfirmware_check_data_processor.cpp255 NewVersionInfo &newVersionInfo, const std::vector<FirmwareComponent> &componentList) in BuildVersionDigest()
/base/update/updateservice/interfaces/inner_api/engine/
Dupdate_service_proxy.cpp242 int32_t UpdateServiceProxy::GetNewVersionInfo(const UpgradeInfo &info, NewVersionInfo &newVersionIn… in GetNewVersionInfo()
261 NewVersionInfo remoteNewVersionInfo; in GetNewVersionInfo()
Dupdate_service_kits_impl.cpp213 int32_t UpdateServiceKitsImpl::GetNewVersionInfo(const UpgradeInfo &info, NewVersionInfo &newVersio… in GetNewVersionInfo()
/base/update/update_app/feature/ota/src/main/ets/manager/
DOtaUpdateManager.ets91 async getNewVersion(): Promise<UpgradeData<update.NewVersionInfo>> {
93 this.updateManager.getNewVersion().then((result: UpgradeData<update.NewVersionInfo>) => {