Home
last modified time | relevance | path

Searched refs:bundleProfile (Results 1 – 9 of 9) sorted by relevance

/ohos5.0/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/src/
H A Dbundle_info_creator.cpp114 bundleInfo->isKeepAlive = bundleProfile.isKeepAlive; in SetBundleInfo()
115 bundleInfo->isNativeApp = bundleProfile.isNativeApp; in SetBundleInfo()
131 if (bundleProfile.iconPath != nullptr && !BundleUtil::StartWith(bundleProfile.iconPath, in SetBundleInfo()
134 bundleProfile.iconPath; in SetBundleInfo()
145 …if ((bundleProfile.label != nullptr) && !BundleUtil::StartWith(bundleProfile.label, DEFAULT_LABEL_… in SetBundleInfo()
156 …(bundleProfile.vendor != nullptr && !BundleInfoUtils::SetBundleInfoVendor(bundleInfo, bundleProfil… in SetBundleInfo()
157 !SetModuleInfos(bundleProfile, bundleInfo) || in SetBundleInfo()
158 … (bundleProfile.numOfAbility != 0 && !SetAbilityInfos(bundleProfile, codePath, bundleInfo))) { in SetBundleInfo()
197 bundleProfile.moduleInfo.description)) { in SetModuleInfos()
202 if ((bundleProfile.moduleInfo.name != nullptr && in SetModuleInfos()
[all …]
H A Dbundle_parser.cpp246 BundleProfile bundleProfile; in ParseHapProfile() local
272 FREE_BUNDLE_PROFILE(bundleProfile); in ParseHapProfile()
297 BundleProfile bundleProfile; in ParseHapProfile() local
313 FREE_BUNDLE_PROFILE(bundleProfile); in ParseHapProfile()
368 bundleProfile.isKeepAlive = false; in ParseDeviceConfig()
541 bundleProfile.numOfAbility = 0; in ParseAbilityInfos()
616 bundleProfile.numOfAbility)); in ParseAllAbilityInfo()
629 bundleProfile.numOfAbility)); in ParseAllAbilityInfo()
635 ret = memset_s(bundleProfile.abilityInfos, sizeof(AbilityInfo) * bundleProfile.numOfAbility, 0, in ParseAllAbilityInfo()
645 bundleProfile.abilityInfos[i].moduleName = bundleProfile.moduleInfo.moduleName; in ParseAllAbilityInfo()
[all …]
H A Dgt_bundle_parser.cpp174 BundleProfile bundleProfile; in ParseHapProfile() local
182 FREE_BUNDLE_PROFILE(bundleProfile); in ParseHapProfile()
187 FREE_BUNDLE_PROFILE(bundleProfile); in ParseHapProfile()
243 … (bundleProfile.profileApiVersion.maxApiVersion >= bundleProfile.profileApiVersion.minApiVersion), in CheckApiVersion()
372 bundleProfile.numOfAbility = abilityNum; in ParseAllAbilityInfo()
373 bundleProfile.abilityInfos = abilityInfoPtr; in ParseAllAbilityInfo()
612 if (bundleProfile.srcPath == nullptr) { in CreateBundleInfo()
793 BundleProfile bundleProfile; in ParseHapProfile() local
809 FREE_BUNDLE_PROFILE(bundleProfile); in ParseHapProfile()
846 if (bundleProfile.srcPath == nullptr) { in SaveBundleInfo()
[all …]
/ohos5.0/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/include/
H A Dbundle_parser.h40 BundleProfile &bundleProfile, BundleRes &bundleRes);
41 static uint8_t ParseDeviceConfig(const cJSON *configObject, BundleProfile &bundleProfile);
43 static uint8_t ParseModuleMetaData(const cJSON *moduleObject, BundleProfile &bundleProfile);
44 static uint8_t ParseDeviceType(const cJSON *object, BundleProfile &bundleProfile);
46 static uint8_t ParseAllAbilityInfo(const cJSON *abilityObjects, BundleProfile &bundleProfile,
52 static uint8_t ParsePerAbilityInfo(const cJSON *abilityObjectItem, BundleProfile &bundleProfile,
93 #define CHECK_PARSE_RESULT(errorCode, object, bundleProfile) \ argument
96 FREE_BUNDLE_PROFILE(bundleProfile); \
102 #define FREE_BUNDLE_PROFILE(bundleProfile) \ argument
104 AdapterFree((bundleProfile).abilityInfos); \
[all …]
H A Dgt_bundle_parser.h36 BundleProfile &bundleProfile, BundleRes &bundleRes);
37 static uint8_t CheckApiVersion(const cJSON *appObject, BundleProfile &bundleProfile);
39 static BundleInfo *CreateBundleInfo(const char *path, const BundleProfile &bundleProfile,
43 static uint8_t ParseAbilityInfo(const cJSON *abilityInfoObjects, BundleProfile &bundleProfile,
45 static uint8_t ParseModuleMetaData(const cJSON *moduleObject, BundleProfile &bundleProfile);
51 static bool SetModuleInfos(const BundleProfile &bundleProfile, BundleInfo *bundleInfo);
54 static bool SetBundleInfo(const char *installedPath, const BundleProfile &bundleProfile,
85 #define FREE_BUNDLE_PROFILE(bundleProfile) \ argument
88 AdapterFree((bundleProfile).moduleInfo.metaData[i]); \
99 #define CHECK_PARSE_RESULT(errorCode, object, bundleProfile, bundleRes) \ argument
[all …]
H A Dbundle_info_creator.h30 …static BundleInfo *CreateBundleInfo(const BundleProfile &bundleProfile, const std::string &install…
32 static uint8_t SaveBundleInfo(const BundleProfile &bundleProfile, BundleInfo **bundleInfo);
34 static bool SetBundleInfo(const BundleProfile &bundleProfile, const std::string &installDirPath,
36 static bool SetModuleInfos(const BundleProfile &bundleProfile, BundleInfo *bundleInfo);
37 static bool SetAbilityInfos(const BundleProfile &bundleProfile, const std::string &codePath,
39 static bool SetAbilityInfo(const BundleProfile &bundleProfile, const std::string &codePath,
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dbundle_parser.cpp128 BundleProfile bundleProfile; in Parse() local
129 ErrCode ret = bundleProfile.TransformTo( in Parse()
166 BundleProfile bundleProfile; in ParsePackInfo() local
167 ErrCode ret = bundleProfile.TransformTo(outStreamForPackInfo, bundlePackInfo); in ParsePackInfo()
/ohos5.0/foundation/bundlemanager/bundle_framework_lite/frameworks/bundle_lite/include/
H A Dbundle_info_utils.h49 const BundleProfile &bundleProfile);
/ohos5.0/foundation/bundlemanager/bundle_framework_lite/frameworks/bundle_lite/src/
H A Dbundle_info_utils.cpp333 const BundleProfile &bundleProfile) in SetBundleInfoAbilityInfo() argument
347 AbilityInfoUtils::CopyBundleProfileToAbilityInfo(bundleInfo->abilityInfo, bundleProfile); in SetBundleInfoAbilityInfo()