Home
last modified time | relevance | path

Searched refs:componentDescription (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/base/update/updateservice/interfaces/inner_api/feature/update/model/message_parcel/src/
H A Dmessage_parcel_helper.cpp62 ComponentDescription componentDescription; in ReadComponentDescriptions() local
63 componentDescription.componentId = Str16ToStr8(reply.ReadString16()); in ReadComponentDescriptions()
64componentDescription.descriptionInfo.descriptionType = static_cast<DescriptionType>(reply.ReadUint… in ReadComponentDescriptions()
65 componentDescription.descriptionInfo.content = Str16ToStr8(reply.ReadString16()); in ReadComponentDescriptions()
66componentDescription.notifyDescriptionInfo.descriptionType = static_cast<DescriptionType>(reply.Re… in ReadComponentDescriptions()
67 componentDescription.notifyDescriptionInfo.content = Str16ToStr8(reply.ReadString16()); in ReadComponentDescriptions()
68 componentDescriptions.push_back(componentDescription); in ReadComponentDescriptions()
/ohos5.0/base/update/updateservice/services/engine/src/
H A Dupdate_service_impl_firmware.cpp176 ComponentDescription componentDescription; in GetNewVersionDescription() local
177 componentDescription.componentId = component.componentId; in GetNewVersionDescription()
193 componentDescription.descriptionInfo.content = dataXmlFinal; in GetNewVersionDescription()
194 componentDescription.descriptionInfo.descriptionType = in GetNewVersionDescription()
196 newVersionDescriptionInfo.componentDescriptions.push_back(componentDescription); in GetNewVersionDescription()
/ohos5.0/base/update/updateservice/frameworks/js/napi/update/common/src/
H A Dclient_helper.cpp69 void BuildDescInfo(napi_env env, napi_value &obj, const ComponentDescription &componentDescription) in BuildDescInfo() argument
74 static_cast<int32_t>(componentDescription.descriptionInfo.descriptionType)); in BuildDescInfo()
75 …NapiCommonUtils::SetString(env, napiDescriptInfo, "content", componentDescription.descriptionInfo.… in BuildDescInfo()
81 static_cast<int32_t>(componentDescription.notifyDescriptionInfo.descriptionType)); in BuildDescInfo()
83 componentDescription.notifyDescriptionInfo.content.c_str()); in BuildDescInfo()
92 bool IsValidData(const ComponentDescription &componentDescription) in IsValidData() argument
94 return componentDescription.componentId != ""; in IsValidData()
164 …ComponentDescription componentDescription = { .descriptionInfo = versionComponents[i].descriptionI… in BuildVersionComponents() local
165 BuildDescInfo(env, napiVersionComponent, componentDescription); in BuildVersionComponents()
/ohos5.0/base/update/update_app/product/oh/base/src/main/ets/pages/
H A DcurrentVersion.ets47 let componentDescription = await OtaUpdateManager.getInstance().getCurrentVersionDescription();
56 .getPageInstance()?.getCurrentVersionPageInfo(components, componentDescription?.data);
H A DnewVersion.ets189 let componentDescription = await OtaUpdateManager.getInstance().getNewVersionDescription();
208 …ageInfo: VersionPageInfo = await page.getNewVersionPageInfo(components, componentDescription.data);