/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() 97 sharedBundleInfo.compatiblePolicy, in from_json() 105 sharedBundleInfo.sharedModuleInfos, in from_json()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/mock/src/ |
H A D | bundle_mgr_service_event_handler.cpp | 690 for (const auto& sharedBundleInfo : shareBundleInfos) { in ProcessSharedBundleProvisionInfo() 691 if ((allBundleNames.find(sharedBundleInfo.name) == allBundleNames.end()) && in ProcessSharedBundleProvisionInfo() 692 !sharedBundleInfo.sharedModuleInfos.empty()) { in ProcessSharedBundleProvisionInfo() 694 sharedBundleInfo.name + ServiceConstants::PATH_SEPARATOR + HSP_VERSION_PREFIX + in ProcessSharedBundleProvisionInfo() 695 std::to_string(sharedBundleInfo.sharedModuleInfos[0].versionCode) + in ProcessSharedBundleProvisionInfo() 696 ServiceConstants::PATH_SEPARATOR + sharedBundleInfo.sharedModuleInfos[0].name + in ProcessSharedBundleProvisionInfo() 697 ServiceConstants::PATH_SEPARATOR + sharedBundleInfo.sharedModuleInfos[0].name + in ProcessSharedBundleProvisionInfo() 699 AddStockAppProvisionInfoByOTA(sharedBundleInfo.name, hspPath); in ProcessSharedBundleProvisionInfo()
|
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/include/ |
H A D | json_serializer.h | 144 void to_json(nlohmann::json &jsonObject, const SharedBundleInfo &sharedBundleInfo); 145 void from_json(const nlohmann::json &jsonObject, SharedBundleInfo &sharedBundleInfo);
|
/foundation/ability/ability_runtime/test/unittest/bundle_mgr_helper_test/ |
H A D | bundle_mgr_helper_test.cpp | 152 BundleInfo sharedBundleInfo; in HWTEST_F() local 153 auto ret = bundleMgrHelper->GetDependentBundleInfo(sharedBundleName, sharedBundleInfo); in HWTEST_F()
|
/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()
|
/foundation/ability/ability_runtime/interfaces/kits/native/appkit/ability_bundle_manager_helper/ |
H A D | bundle_mgr_helper.h | 56 ErrCode GetDependentBundleInfo(const std::string &sharedBundleName, BundleInfo &sharedBundleInfo,
|
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/include/bundlemgr/ |
H A D | bundle_mgr_interface.h | 225 * @param sharedBundleInfo Indicates the obtained BundleInfo object. 229 virtual ErrCode GetDependentBundleInfo(const std::string &sharedBundleName, BundleInfo &sharedBundleInfo, in GetDependentBundleInfo() argument 1333 virtual ErrCode GetSharedBundleInfoBySelf(const std::string &bundleName, SharedBundleInfo &sharedBundleInfo) in GetSharedBundleInfoBySelf() argument
|
H A D | bundle_mgr_proxy.h | 163 * @param sharedBundleInfo Indicates the obtained BundleInfo object. 167 virtual ErrCode GetDependentBundleInfo(const std::string &sharedBundleName, BundleInfo &sharedBundleInfo, 938 SharedBundleInfo &sharedBundleInfo) override;
|
/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; in HWTEST_F() local 688 SHARED_BUNDLE_NAME_A, sharedBundleInfo); in HWTEST_F()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ |
H A D | bundle_mgr_service_event_handler.cpp | 3515 for (const auto &sharedBundleInfo : shareBundleInfos) { in ProcessSharedBundleProvisionInfo() 3517 if ((allBundleNames.find(sharedBundleInfo.name) == allBundleNames.end()) && in ProcessSharedBundleProvisionInfo() 3518 !sharedBundleInfo.sharedModuleInfos.empty()) { in ProcessSharedBundleProvisionInfo() 3520 + ServiceConstants::PATH_SEPARATOR + sharedBundleInfo.name in ProcessSharedBundleProvisionInfo() 3522 + std::to_string(sharedBundleInfo.sharedModuleInfos[0].versionCode) + ServiceConstants::PATH_SEPARATOR in ProcessSharedBundleProvisionInfo() 3523 + sharedBundleInfo.sharedModuleInfos[0].name + ServiceConstants::PATH_SEPARATOR in ProcessSharedBundleProvisionInfo() 3524 + sharedBundleInfo.sharedModuleInfos[0].name + ServiceConstants::HSP_FILE_SUFFIX; in ProcessSharedBundleProvisionInfo() 3525 AddStockAppProvisionInfoByOTA(sharedBundleInfo.name, hspPath); in ProcessSharedBundleProvisionInfo()
|
H A D | bundle_mgr_host_impl.cpp | 318 BundleInfo &sharedBundleInfo, GetDependentBundleInfoFlag flag) in GetDependentBundleInfo() 334 return dataMgr->GetSharedBundleInfo(sharedBundleName, bundleInfoFlags, sharedBundleInfo); in GetDependentBundleInfo() 338 return dataMgr->GetAppServiceHspBundleInfo(sharedBundleName, sharedBundleInfo); in GetDependentBundleInfo() 341 if (dataMgr->GetAppServiceHspBundleInfo(sharedBundleName, sharedBundleInfo) == ERR_OK) { in GetDependentBundleInfo() 348 return dataMgr->GetSharedBundleInfo(sharedBundleName, bundleInfoFlags, sharedBundleInfo); in GetDependentBundleInfo() 3398 SharedBundleInfo &sharedBundleInfo) in GetSharedBundleInfoBySelf() 3419 return dataMgr->GetSharedBundleInfoBySelf(bundleName, sharedBundleInfo); in GetSharedBundleInfoBySelf() 317 GetDependentBundleInfo(const std::string &sharedBundleName, BundleInfo &sharedBundleInfo, GetDependentBundleInfoFlag flag) GetDependentBundleInfo() argument 3397 GetSharedBundleInfoBySelf(const std::string &bundleName, SharedBundleInfo &sharedBundleInfo) GetSharedBundleInfoBySelf() argument
|
H A D | inner_bundle_info.cpp | 2006 bool InnerBundleInfo::GetSharedBundleInfo(SharedBundleInfo &sharedBundleInfo) const in GetSharedBundleInfo() 2008 sharedBundleInfo.name = GetBundleName(); in GetSharedBundleInfo() 2009 sharedBundleInfo.compatiblePolicy = CompatiblePolicy::BACKWARD_COMPATIBILITY; in GetSharedBundleInfo() 2027 sharedBundleInfo.sharedModuleInfos = sharedModuleInfos; in GetSharedBundleInfo()
|
H A D | bundle_data_mgr.cpp | 6643 SharedBundleInfo sharedBundleInfo; in GetAllSharedBundleInfo() local 6644 innerBundleInfo.GetSharedBundleInfo(sharedBundleInfo); in GetAllSharedBundleInfo() 6645 sharedBundles.emplace_back(sharedBundleInfo); in GetAllSharedBundleInfo() 6669 SharedBundleInfo sharedBundleInfo; in GetSharedBundleInfo() local 6670 errCode = GetSharedBundleInfoBySelf(dep.bundleName, sharedBundleInfo); in GetSharedBundleInfo() 6676 sharedBundles.emplace_back(sharedBundleInfo); in GetSharedBundleInfo() 6682 ErrCode BundleDataMgr::GetSharedBundleInfoBySelf(const std::string &bundleName, SharedBundleInfo &sharedBundleInfo) in GetSharedBundleInfoBySelf() argument 6698 innerBundleInfo.GetSharedBundleInfo(sharedBundleInfo); in GetSharedBundleInfoBySelf()
|
/foundation/ability/ability_runtime/frameworks/native/appkit/ability_bundle_manager_helper/ |
H A D | bundle_mgr_helper.cpp | 385 ErrCode BundleMgrHelper::GetDependentBundleInfo(const std::string &sharedBundleName, BundleInfo &sharedBundleInfo, in GetDependentBundleInfo() argument 396 return bundleMgr->GetDependentBundleInfo(sharedBundleName, sharedBundleInfo, flag); in GetDependentBundleInfo()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/ |
H A D | bundle_mgr_host_impl.h | 151 * @param sharedBundleInfo Indicates the obtained BundleInfo object. 155 virtual ErrCode GetDependentBundleInfo(const std::string &sharedBundleName, BundleInfo &sharedBundleInfo, 898 SharedBundleInfo &sharedBundleInfo) override;
|
H A D | bundle_data_mgr.h | 867 ErrCode GetSharedBundleInfoBySelf(const std::string &bundleName, SharedBundleInfo &sharedBundleInfo);
|
H A D | inner_bundle_info.h | 2162 bool GetSharedBundleInfo(SharedBundleInfo &sharedBundleInfo) const;
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_permission_grant_test/ |
H A D | bms_bundle_permission_false_test.cpp | 1205 BundleInfo sharedBundleInfo; in HWTEST_F() local 1206 ErrCode ret = bundleMgrHostImpl_->GetDependentBundleInfo(BUNDLE_NAME, sharedBundleInfo); in HWTEST_F()
|
H A D | bms_bundle_permission_system_app_test.cpp | 1251 SharedBundleInfo sharedBundleInfo; in HWTEST_F() local 1252 ErrCode ret = bundleMgrHostImpl_->GetSharedBundleInfoBySelf(BUNDLE_NAME, sharedBundleInfo); in HWTEST_F()
|
/foundation/bundlemanager/bundle_tool/frameworks/src/ |
H A D | bundle_command.cpp | 49 const std::string SHARED_BUNDLE_INFO = "sharedBundleInfo"; 2559 SharedBundleInfo sharedBundleInfo; in DumpShared() local 2560 ErrCode ret = bundleMgrProxy_->GetSharedBundleInfoBySelf(bundleName, sharedBundleInfo); in DumpShared() 2566 sharedBundleInfoJson = nlohmann::json {{SHARED_BUNDLE_INFO, sharedBundleInfo}}; in DumpShared()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_kit_service_test/ |
H A D | bms_bundle_kit_service_test.cpp | 12091 SharedBundleInfo sharedBundleInfo; in HWTEST_F() local 12092 sharedBundleInfo.name = COMMON_EVENT_NAME; in HWTEST_F() 12094 to_json(jsonObj, sharedBundleInfo); in HWTEST_F() 12130 SharedBundleInfo sharedBundleInfo; in HWTEST_F() local 12131 auto ret = bundleMgrProxy->GetSharedBundleInfoBySelf("", sharedBundleInfo); in HWTEST_F() 12133 ret = bundleMgrProxy->GetSharedBundleInfoBySelf(BUNDLE_NAME_TEST, sharedBundleInfo); in HWTEST_F() 12138 ret = dataMgr->GetSharedBundleInfoBySelf("", sharedBundleInfo); in HWTEST_F() 12143 ret = dataMgr->GetSharedBundleInfoBySelf(BUNDLE_NAME_TEST, sharedBundleInfo); in HWTEST_F() 12147 ret = hostImpl->GetSharedBundleInfoBySelf(BUNDLE_NAME_TEST, sharedBundleInfo); in HWTEST_F() 12161 SharedBundleInfo sharedBundleInfo; in HWTEST_F() local [all...] |
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_data_storage_test/ |
H A D | bms_bundle_data_storage_database_test.cpp | 3220 BaseSharedBundleInfo sharedBundleInfo; in HWTEST_F() local 3221 bool ret = info.GetMaxVerBaseSharedBundleInfo(MODULE_NAME_TEST, sharedBundleInfo); in HWTEST_F() 3225 ret = info.GetMaxVerBaseSharedBundleInfo(MODULE_NAME_TEST, sharedBundleInfo); in HWTEST_F()
|
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/src/bundlemgr/ |
H A D | bundle_mgr_proxy.cpp | 3755 ErrCode BundleMgrProxy::GetSharedBundleInfoBySelf(const std::string &bundleName, SharedBundleInfo &sharedBundleInfo) in GetSharedBundleInfoBySelf() argument 3769 data, sharedBundleInfo); in GetSharedBundleInfoBySelf()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_manager_test/ |
H A D | bms_bundle_manager_test.cpp | 2497 SharedBundleInfo sharedBundleInfo; in HWTEST_F() local 2528 retCode = hostImpl->GetSharedBundleInfoBySelf("", sharedBundleInfo); in HWTEST_F()
|