/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/src/shared/ |
H A D | shared_bundle_info.cpp | 75 void to_json(nlohmann::json &jsonObject, const SharedBundleInfo &sharedBundleInfo) in to_json() argument 78 {SHARED_BUNDLE_INFO_NAME, sharedBundleInfo.name}, in to_json() 79 {SHARED_BUNDLE_INFO_COMPATIBLE_POLICY, sharedBundleInfo.compatiblePolicy}, in to_json() 80 {SHARED_MODULE_INFOS, sharedBundleInfo.sharedModuleInfos} in to_json() 84 void from_json(const nlohmann::json &jsonObject, SharedBundleInfo &sharedBundleInfo) in from_json() argument 91 sharedBundleInfo.name, in from_json() 99 sharedBundleInfo.compatiblePolicy, in from_json() 107 sharedBundleInfo.sharedModuleInfos, in from_json()
|
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/mock/src/ |
H A D | bundle_mgr_service_event_handler.cpp | 693 for (const auto& sharedBundleInfo : shareBundleInfos) { in ProcessSharedBundleProvisionInfo() local 694 if ((allBundleNames.find(sharedBundleInfo.name) == allBundleNames.end()) && in ProcessSharedBundleProvisionInfo() 695 !sharedBundleInfo.sharedModuleInfos.empty()) { in ProcessSharedBundleProvisionInfo() 697 … sharedBundleInfo.name + ServiceConstants::PATH_SEPARATOR + HSP_VERSION_PREFIX + in ProcessSharedBundleProvisionInfo() 698 … std::to_string(sharedBundleInfo.sharedModuleInfos[0].versionCode) + in ProcessSharedBundleProvisionInfo() 699 … ServiceConstants::PATH_SEPARATOR + sharedBundleInfo.sharedModuleInfos[0].name + in ProcessSharedBundleProvisionInfo() 700 … ServiceConstants::PATH_SEPARATOR + sharedBundleInfo.sharedModuleInfos[0].name + in ProcessSharedBundleProvisionInfo() 702 AddStockAppProvisionInfoByOTA(sharedBundleInfo.name, hspPath); in ProcessSharedBundleProvisionInfo()
|
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/include/ |
H A D | json_serializer.h | 143 void to_json(nlohmann::json &jsonObject, const SharedBundleInfo &sharedBundleInfo); 144 void from_json(const nlohmann::json &jsonObject, SharedBundleInfo &sharedBundleInfo);
|
/ohos5.0/foundation/ability/ability_runtime/test/unittest/bundle_mgr_helper_test/ |
H A D | bundle_mgr_helper_test.cpp | 152 BundleInfo sharedBundleInfo; variable 153 auto ret = bundleMgrHelper->GetDependentBundleInfo(sharedBundleName, sharedBundleInfo);
|
/ohos5.0/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_application/bundlemgrproxy_fuzzer/ |
H A D | bundlemgrproxy_fuzzer.cpp | 264 SharedBundleInfo sharedBundleInfo; in DoSomethingInterestingWithMyAPI() local 265 bundleMgrProxy.GetSharedBundleInfoBySelf(bundleName, sharedBundleInfo); in DoSomethingInterestingWithMyAPI()
|
/ohos5.0/foundation/ability/ability_runtime/interfaces/kits/native/appkit/ability_bundle_manager_helper/ |
H A D | bundle_mgr_helper.h | 53 … ErrCode GetDependentBundleInfo(const std::string &sharedBundleName, BundleInfo &sharedBundleInfo,
|
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ |
H A D | bundle_mgr_service_event_handler.cpp | 2910 for (const auto &sharedBundleInfo : shareBundleInfos) { in ProcessSharedBundleProvisionInfo() local 2912 if ((allBundleNames.find(sharedBundleInfo.name) == allBundleNames.end()) && in ProcessSharedBundleProvisionInfo() 2913 !sharedBundleInfo.sharedModuleInfos.empty()) { in ProcessSharedBundleProvisionInfo() 2914 …ing hspPath = Constants::BUNDLE_CODE_DIR + ServiceConstants::PATH_SEPARATOR + sharedBundleInfo.name in ProcessSharedBundleProvisionInfo() 2916 …+ std::to_string(sharedBundleInfo.sharedModuleInfos[0].versionCode) + ServiceConstants::PATH_SEPAR… in ProcessSharedBundleProvisionInfo() 2917 + sharedBundleInfo.sharedModuleInfos[0].name + ServiceConstants::PATH_SEPARATOR in ProcessSharedBundleProvisionInfo() 2918 + sharedBundleInfo.sharedModuleInfos[0].name + ServiceConstants::HSP_FILE_SUFFIX; in ProcessSharedBundleProvisionInfo() 2919 AddStockAppProvisionInfoByOTA(sharedBundleInfo.name, hspPath); in ProcessSharedBundleProvisionInfo()
|
H A D | bundle_mgr_host_impl.cpp | 328 BundleInfo &sharedBundleInfo, GetDependentBundleInfoFlag flag) in GetDependentBundleInfo() argument 344 … return dataMgr->GetSharedBundleInfo(sharedBundleName, bundleInfoFlags, sharedBundleInfo); in GetDependentBundleInfo() 348 return dataMgr->GetAppServiceHspBundleInfo(sharedBundleName, sharedBundleInfo); in GetDependentBundleInfo() 351 if (dataMgr->GetAppServiceHspBundleInfo(sharedBundleName, sharedBundleInfo) == ERR_OK) { in GetDependentBundleInfo() 358 … return dataMgr->GetSharedBundleInfo(sharedBundleName, bundleInfoFlags, sharedBundleInfo); in GetDependentBundleInfo() 3439 SharedBundleInfo &sharedBundleInfo) in GetSharedBundleInfoBySelf() argument 3460 return dataMgr->GetSharedBundleInfoBySelf(bundleName, sharedBundleInfo); in GetSharedBundleInfoBySelf()
|
H A D | inner_bundle_info.cpp | 2132 bool InnerBundleInfo::GetSharedBundleInfo(SharedBundleInfo &sharedBundleInfo) const in GetSharedBundleInfo() 2134 sharedBundleInfo.name = GetBundleName(); in GetSharedBundleInfo() 2135 sharedBundleInfo.compatiblePolicy = CompatiblePolicy::BACKWARD_COMPATIBILITY; in GetSharedBundleInfo() 2153 sharedBundleInfo.sharedModuleInfos = sharedModuleInfos; in GetSharedBundleInfo()
|
H A D | bundle_data_mgr.cpp | 6619 SharedBundleInfo sharedBundleInfo; in GetAllSharedBundleInfo() local 6620 innerBundleInfo.GetSharedBundleInfo(sharedBundleInfo); in GetAllSharedBundleInfo() 6621 sharedBundles.emplace_back(sharedBundleInfo); in GetAllSharedBundleInfo() 6645 SharedBundleInfo sharedBundleInfo; in GetSharedBundleInfo() local 6646 errCode = GetSharedBundleInfoBySelf(dep.bundleName, sharedBundleInfo); in GetSharedBundleInfo() 6652 sharedBundles.emplace_back(sharedBundleInfo); in GetSharedBundleInfo() 6658 …taMgr::GetSharedBundleInfoBySelf(const std::string &bundleName, SharedBundleInfo &sharedBundleInfo) in GetSharedBundleInfoBySelf() argument 6674 innerBundleInfo.GetSharedBundleInfo(sharedBundleInfo); in GetSharedBundleInfoBySelf()
|
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_hsp_test/ |
H A D | bms_bundle_shared_library_install_test.cpp | 686 SharedBundleInfo sharedBundleInfo; variable 688 SHARED_BUNDLE_NAME_A, sharedBundleInfo);
|
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/include/bundlemgr/ |
H A D | bundle_mgr_interface.h | 230 …l ErrCode GetDependentBundleInfo(const std::string &sharedBundleName, BundleInfo &sharedBundleInfo, 1334 …rrCode GetSharedBundleInfoBySelf(const std::string &bundleName, SharedBundleInfo &sharedBundleInfo) in GetSharedBundleInfoBySelf() argument
|
H A D | bundle_mgr_proxy.h | 167 …l ErrCode GetDependentBundleInfo(const std::string &sharedBundleName, BundleInfo &sharedBundleInfo, 938 SharedBundleInfo &sharedBundleInfo) override;
|
/ohos5.0/foundation/ability/ability_runtime/frameworks/native/appkit/ability_bundle_manager_helper/ |
H A D | bundle_mgr_helper.cpp | 377 …grHelper::GetDependentBundleInfo(const std::string &sharedBundleName, BundleInfo &sharedBundleInfo, in GetDependentBundleInfo() argument 388 return bundleMgr->GetDependentBundleInfo(sharedBundleName, sharedBundleInfo, flag); in GetDependentBundleInfo()
|
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/ |
H A D | bundle_mgr_host_impl.h | 155 …l ErrCode GetDependentBundleInfo(const std::string &sharedBundleName, BundleInfo &sharedBundleInfo, 898 SharedBundleInfo &sharedBundleInfo) override;
|
H A D | bundle_data_mgr.h | 866 …rCode GetSharedBundleInfoBySelf(const std::string &bundleName, SharedBundleInfo &sharedBundleInfo);
|
H A D | inner_bundle_info.h | 2162 bool GetSharedBundleInfo(SharedBundleInfo &sharedBundleInfo) const;
|
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_permission_grant_test/ |
H A D | bms_bundle_permission_system_app_test.cpp | 1229 SharedBundleInfo sharedBundleInfo; variable 1230 ErrCode ret = bundleMgrHostImpl_->GetSharedBundleInfoBySelf(BUNDLE_NAME, sharedBundleInfo);
|
H A D | bms_bundle_permission_false_test.cpp | 1207 BundleInfo sharedBundleInfo; variable 1208 ErrCode ret = bundleMgrHostImpl_->GetDependentBundleInfo(BUNDLE_NAME, sharedBundleInfo);
|
/ohos5.0/foundation/bundlemanager/bundle_tool/frameworks/src/ |
H A D | bundle_command.cpp | 2663 SharedBundleInfo sharedBundleInfo; in DumpShared() local 2664 ErrCode ret = bundleMgrProxy_->GetSharedBundleInfoBySelf(bundleName, sharedBundleInfo); in DumpShared() 2670 sharedBundleInfoJson = nlohmann::json {{SHARED_BUNDLE_INFO, sharedBundleInfo}}; in DumpShared()
|
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_data_storage_test/ |
H A D | bms_bundle_data_storage_database_test.cpp | 2984 BaseSharedBundleInfo sharedBundleInfo; variable 2985 bool ret = info.GetMaxVerBaseSharedBundleInfo(MODULE_NAME_TEST, sharedBundleInfo); 2989 ret = info.GetMaxVerBaseSharedBundleInfo(MODULE_NAME_TEST, sharedBundleInfo);
|
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_kit_service_test/ |
H A D | bms_bundle_kit_service_test.cpp | 11974 SharedBundleInfo sharedBundleInfo; variable 11975 sharedBundleInfo.name = COMMON_EVENT_NAME; 11977 to_json(jsonObj, sharedBundleInfo); 12013 SharedBundleInfo sharedBundleInfo; variable 12014 auto ret = bundleMgrProxy->GetSharedBundleInfoBySelf("", sharedBundleInfo); 12021 ret = dataMgr->GetSharedBundleInfoBySelf("", sharedBundleInfo); 12026 ret = dataMgr->GetSharedBundleInfoBySelf(BUNDLE_NAME_TEST, sharedBundleInfo); 12030 ret = hostImpl->GetSharedBundleInfoBySelf(BUNDLE_NAME_TEST, sharedBundleInfo); 12044 SharedBundleInfo sharedBundleInfo; variable 12045 bool ret = info.GetSharedBundleInfo(sharedBundleInfo); [all …]
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-ability-kit/ |
H A D | Readme-CN.md | 200 - [SharedBundleInfo (系统接口)](js-apis-bundleManager-sharedBundleInfo-sys.md)
|
H A D | js-apis-bundleManager-sys.md | 3755 | callback | AsyncCallback\<Array\<[SharedBundleInfo](js-apis-bundleManager-sharedBundleInfo-sys.… 3815 | Promise\<Array\<[SharedBundleInfo](js-apis-bundleManager-sharedBundleInfo-sys.md)\>\> | Promise对象… 3866 | callback | AsyncCallback\<Array\<[SharedBundleInfo](js-apis-bundleManager-sharedBundleInfo-sys.md… 3914 | Promise\<Array\<[SharedBundleInfo](js-apis-bundleManager-sharedBundleInfo-sys.md)\>\> | Promise对象…
|
/ohos5.0/docs/en/application-dev/reference/apis-ability-kit/ |
H A D | Readme-EN.md | 200 - [SharedBundleInfo (System API)](js-apis-bundleManager-sharedBundleInfo-sys.md)
|