/base/update/updateservice/test/fuzztest/updateservicegetnewversion_fuzzer/ |
D | updateservicegetnewversion_fuzzer.cpp | 31 NewVersionInfo newVersionInfo; in FuzzUpdateServiceGetNewVersion() local 34 …DelayedSingleton<FuzztestHelper>::GetInstance()->BuildUpgradeInfo(), newVersionInfo, businessError… in FuzzUpdateServiceGetNewVersion()
|
/base/update/update_app/feature/ota/src/main/ets/util/ |
D | VersionUtils.ets | 36 * @param newVersionInfo 新版本信息 93 let newVersionInfo: update.NewVersionInfo = globalThis.cachedNewVersionInfo || 98 if (newVersionInfo) { 99 …LogUtils.info(TAG, 'getNewVersionDigest, versionDigestInfo: ' + newVersionInfo.versionDigestInfo.v… 100 return newVersionInfo.versionDigestInfo.versionDigest; 121 …let newVersionInfo = globalThis.cachedNewVersionInfo || await OtaUpdateManager.getInstance().getNe… 126 …let components: Array<update.VersionComponent> = VersionUtils.sortComponents(newVersionInfo?.versi…
|
/base/update/updateservice/frameworks/js/napi/base/include/ |
D | client_helper.h | 84 NewVersionInfo *newVersionInfo; member 103 delete result.newVersionInfo; in Release() 104 result.newVersionInfo = nullptr; in Release() 147 if (result.newVersionInfo == nullptr) { 148 result.newVersionInfo = new (std::nothrow) NewVersionInfo(); 150 … if ((result.newVersionInfo != nullptr) && (updateResult.result.newVersionInfo != nullptr)) { 151 *(result.newVersionInfo) = *(updateResult.result.newVersionInfo);
|
/base/update/updateservice/services/engine/src/ |
D | message_parcel_helper.cpp | 173 void ReadNewVersionInfoEx(MessageParcel &reply, NewVersionInfo &newVersionInfo) in ReadNewVersionInfoEx() argument 175 newVersionInfo.versionDigestInfo.versionDigest = Str16ToStr8(reply.ReadString16()); in ReadNewVersionInfoEx() 176 ReadVersionComponents(reply, newVersionInfo.versionComponents); in ReadNewVersionInfoEx() 179 void WriteNewVersionInfoEx(MessageParcel &data, const NewVersionInfo &newVersionInfo) in WriteNewVersionInfoEx() argument 181 data.WriteString16(Str8ToStr16(newVersionInfo.versionDigestInfo.versionDigest)); in WriteNewVersionInfoEx() 182 WriteVersionComponents(data, newVersionInfo.versionComponents); in WriteNewVersionInfoEx() 188 ReadNewVersionInfoEx(reply, checkResult.newVersionInfo); in ReadCheckResult() 195 WriteNewVersionInfoEx(data, checkResult.newVersionInfo); in WriteCheckResult() 199 …t32_t MessageParcelHelper::ReadNewVersionInfo(MessageParcel &reply, NewVersionInfo &newVersionInfo) in ReadNewVersionInfo() argument 201 ReadNewVersionInfoEx(reply, newVersionInfo); in ReadNewVersionInfo() [all …]
|
D | update_service.cpp | 151 int32_t UpdateService::GetNewVersionInfo(const UpgradeInfo &info, NewVersionInfo &newVersionInfo, in GetNewVersionInfo() argument 159 return onlineUpdater->GetNewVersionInfo(info, newVersionInfo, businessError); in GetNewVersionInfo() 354 if (checkResult.newVersionInfo.versionComponents.empty()) { in BuildVersionInfoDump() 357 …dprintf(fd, "PackageSize: %zu\n", static_cast<size_t>(checkResult.newVersionInfo.versionComponents… in BuildVersionInfoDump() 358 … dprintf(fd, "ComponentType: %d\n", checkResult.newVersionInfo.versionComponents[0].componentType); in BuildVersionInfoDump() 359 …dprintf(fd, "UpgradeAction: %s\n", checkResult.newVersionInfo.versionComponents[0].upgradeAction.c… in BuildVersionInfoDump() 360 …dprintf(fd, "DisplayVersion: %s\n", checkResult.newVersionInfo.versionComponents[0].displayVersion… in BuildVersionInfoDump() 361 …dprintf(fd, "InnerVersion: %s\n", checkResult.newVersionInfo.versionComponents[0].innerVersion.c_s… in BuildVersionInfoDump() 362 …dprintf(fd, "Content: %s\n", checkResult.newVersionInfo.versionComponents[0].descriptionInfo.conte… in BuildVersionInfoDump()
|
D | update_service_impl_firmware.cpp | 123 const UpgradeInfo &info, NewVersionInfo &newVersionInfo, BusinessError &businessError) in GetNewVersionInfo() argument 130 FirmwareUpdateHelper::BuildNewVersionInfo(components, newVersionInfo.versionComponents); in GetNewVersionInfo() 131 newVersionInfo.versionDigestInfo.versionDigest = task.taskId; in GetNewVersionInfo()
|
D | update_service_stub.cpp | 75 NewVersionInfo newVersionInfo = {}; in GetNewVersionStub() local 77 int32_t ret = service->GetNewVersionInfo(upgradeInfo, newVersionInfo, businessError); in GetNewVersionStub() 80 MessageParcelHelper::WriteNewVersionInfo(reply, newVersionInfo); in GetNewVersionStub()
|
/base/update/updateservice/services/firmware/upgrade/data_processor/src/ |
D | firmware_check_data_processor.cpp | 249 BuildVersionDigest(checkResult.newVersionInfo, dbComponentList); in BuildCheckResult() 250 …FirmwareUpdateHelper::BuildNewVersionInfo(dbComponentList, checkResult.newVersionInfo.versionCompo… in BuildCheckResult() 255 NewVersionInfo &newVersionInfo, const std::vector<FirmwareComponent> &componentList) in BuildVersionDigest() argument 257 … newVersionInfo.versionDigestInfo.versionDigest = FirmwareUpdateHelper::BuildTaskId(componentList); in BuildVersionDigest()
|
/base/update/updateservice/interfaces/inner_api/include/ |
D | message_parcel_helper.h | 41 static int32_t ReadNewVersionInfo(MessageParcel &reply, NewVersionInfo &newVersionInfo); 42 static int32_t WriteNewVersionInfo(MessageParcel &data, const NewVersionInfo &newVersionInfo);
|
D | iservice_online_updater.h | 49 virtual int32_t GetNewVersionInfo(const UpgradeInfo &info, NewVersionInfo &newVersionInfo,
|
D | update_service_kits.h | 61 virtual int32_t GetNewVersionInfo(const UpgradeInfo &info, NewVersionInfo &newVersionInfo,
|
D | update_service_kits_impl.h | 59 int32_t GetNewVersionInfo(const UpgradeInfo &info, NewVersionInfo &newVersionInfo,
|
D | update_helper.h | 396 NewVersionInfo newVersionInfo; member
|
/base/update/updateservice/services/firmware/upgrade/data_processor/include/ |
D | firmware_check_data_processor.h | 56 …void BuildVersionDigest(NewVersionInfo &newVersionInfo, const std::vector<FirmwareComponent> &comp…
|
/base/update/updateservice/frameworks/js/napi/base/src/ |
D | client_helper.cpp | 241 …PARAM_CHECK(result.result.newVersionInfo != nullptr, return CAST_INT(ClientStatus::CLIENT_SUCCESS), in BuildNewVersionInfo() 251 BuildVersionDigestInfo(env, obj, result.result.newVersionInfo->versionDigestInfo); in BuildNewVersionInfo() 252 BuildVersionComponents(env, obj, result.result.newVersionInfo->versionComponents); in BuildNewVersionInfo() 286 napi_value newVersionInfo; in BuildCheckResult() local 287 napi_create_object(env, &newVersionInfo); in BuildCheckResult() 288 BuildVersionDigestInfo(env, newVersionInfo, checkResult->newVersionInfo.versionDigestInfo); in BuildCheckResult() 289 BuildVersionComponents(env, newVersionInfo, checkResult->newVersionInfo.versionComponents); in BuildCheckResult() 290 napi_set_named_property(env, obj, "newVersionInfo", newVersionInfo); in BuildCheckResult()
|
/base/update/updateservice/services/engine/include/ |
D | update_service_impl_firmware.h | 54 … const UpgradeInfo &info, NewVersionInfo &newVersionInfo, BusinessError &businessError) final;
|
D | update_service_proxy.h | 52 int32_t GetNewVersionInfo(const UpgradeInfo &info, NewVersionInfo &newVersionInfo,
|
D | update_service.h | 64 … const UpgradeInfo &info, NewVersionInfo &newVersionInfo, BusinessError &businessError) override;
|
/base/update/updateservice/interfaces/inner_api/engine/ |
D | update_service_kits_impl.cpp | 213 …t UpdateServiceKitsImpl::GetNewVersionInfo(const UpgradeInfo &info, NewVersionInfo &newVersionInfo, in GetNewVersionInfo() argument 219 return updateService->GetNewVersionInfo(info, newVersionInfo, businessError); in GetNewVersionInfo()
|
D | update_service_proxy.cpp | 242 …32_t UpdateServiceProxy::GetNewVersionInfo(const UpgradeInfo &info, NewVersionInfo &newVersionInfo, in GetNewVersionInfo() argument 263 newVersionInfo = remoteNewVersionInfo; in GetNewVersionInfo()
|
/base/update/update_app/product/oh/base/src/main/ets/pages/ |
D | newVersion.ets | 184 …let newVersionInfo = globalThis.cachedNewVersionInfo || await OtaUpdateManager.getInstance().getNe… 190 if (!newVersionInfo) { 193 …let components: Array<update.VersionComponent> = VersionUtils.sortComponents(newVersionInfo?.versi…
|
D | index.ets | 149 this.log('handle checkNewVersion:' + JSON.stringify(upgradeData.data?.newVersionInfo));
|
/base/update/updateservice/interfaces/kits/js/declaration/ |
D | @ohos.update.d.ts | 752 newVersionInfo: NewVersionInfo; property
|
/base/update/update_app/common/src/main/ets/manager/ |
D | UpdateManager.ts | 263 if (!result?.isExistNewVersion || !result?.newVersionInfo) {
|
/base/update/update_app/feature/ota/src/main/ets/manager/ |
D | OtaUpdateManager.ets | 134 globalThis.cachedNewVersionInfo = result?.data?.newVersionInfo;
|