/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/clone/ |
H A D | bundle_clone_installer.cpp | 226 auto appIndexes = info.GetCloneBundleAppIndexes(); in ProcessCloneBundleInstall() local 228 if (appIndexes.find(appIndex) == appIndexes.end()) { in ProcessCloneBundleInstall() 298 auto appIndexes = info.GetCloneBundleAppIndexes(); in ProcessCloneBundleUninstall() local 299 if (appIndexes.find(appIndex) == appIndexes.end()) { in ProcessCloneBundleUninstall()
|
/foundation/ability/ability_runtime/services/abilitymgr/src/utils/ |
H A D | start_ability_utils.cpp | 134 std::vector<int32_t> appIndexes; in GetCloneAppIndexes() local 136 CHECK_POINTER_AND_RETURN(bms, appIndexes); in GetCloneAppIndexes() 137 IN_PROCESS_CALL_WITHOUT_RET(bms->GetCloneAppIndexes(bundleName, appIndexes, userId)); in GetCloneAppIndexes() 138 return appIndexes; in GetCloneAppIndexes()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/bundle_resource/ |
H A D | bundle_resource_process.cpp | 260 std::set<int32_t> appIndexes = innerBundleInfo.GetCloneBundleAppIndexes(); in InnerGetResourceInfo() local 261 if (!appIndexes.empty()) { in InnerGetResourceInfo() 263 std::vector<int32_t> indexes(appIndexes.begin(), appIndexes.end()); in InnerGetResourceInfo()
|
/foundation/ability/ability_runtime/services/abilitymgr/src/dialog_session/ |
H A D | dialog_session_manager.cpp | 439 auto appIndexes = StartAbilityUtils::GetCloneAppIndexes(bundleName, userId); in IsCreateCloneSelectorDialog() local 440 if (appIndexes.empty()) { in IsCreateCloneSelectorDialog()
|
/foundation/ability/ability_runtime/interfaces/kits/native/appkit/ability_bundle_manager_helper/ |
H A D | bundle_mgr_helper.h | 108 ErrCode GetCloneAppIndexes(const std::string &bundleName, std::vector<int32_t> &appIndexes, int32_t userId);
|
/foundation/ability/ability_runtime/services/abilitymgr/src/ |
H A D | implicit_start_processor.cpp | 535 auto appIndexes = StartAbilityUtils::GetCloneAppIndexes(request.want.GetBundle(), userId); in GenerateAbilityRequestByAppIndexes() local 536 if (appIndexes.size() > AbilityRuntime::GlobalConstant::MAX_APP_CLONE_INDEX) { in GenerateAbilityRequestByAppIndexes() 537 TAG_LOGE(AAFwkTag::ABILITYMGR, "too large appIndexes"); in GenerateAbilityRequestByAppIndexes() 546 for (auto &appIndex: appIndexes) { in GenerateAbilityRequestByAppIndexes()
|
/foundation/ability/ability_runtime/frameworks/native/appkit/ability_bundle_manager_helper/ |
H A D | bundle_mgr_helper.cpp | 908 ErrCode BundleMgrHelper::GetCloneAppIndexes(const std::string &bundleName, std::vector<int32_t> &appIndexes, in GetCloneAppIndexes() argument 919 return bundleMgr->GetCloneAppIndexes(bundleName, appIndexes, userId); in GetCloneAppIndexes()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ |
H A D | bundle_mgr_host_impl.cpp | 1461 std::vector<int32_t> appIndexes = dataMgr->GetCloneAppIndexes(bundleName, userId); in CheckAppIndex() local 1462 bool isAppIndexValid = std::find(appIndexes.cbegin(), appIndexes.cend(), appIndex) == appIndexes.cend(); in CheckAppIndex() 1464 APP_LOGE("appIndex is not in the installed appIndexes range"); in CheckAppIndex() 4255 ErrCode BundleMgrHostImpl::GetCloneAppIndexes(const std::string &bundleName, std::vector<int32_t> &appIndexes, in GetCloneAppIndexes() argument 4274 appIndexes = dataMgr->GetCloneAppIndexes(bundleName, userId); in GetCloneAppIndexes()
|
H A D | inner_bundle_info.cpp | 4629 std::set<int32_t> appIndexes; in GetCloneBundleAppIndexes() local 4632 appIndexes.insert(cloneInfo.second.appIndex); in GetCloneBundleAppIndexes() 4635 return appIndexes; in GetCloneBundleAppIndexes()
|
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/include/bundlemgr/ |
H A D | bundle_mgr_interface.h | 1523 virtual ErrCode GetCloneAppIndexes(const std::string &bundleName, std::vector<int32_t> &appIndexes, in GetCloneAppIndexes() argument
|
H A D | bundle_mgr_proxy.h | 1076 virtual ErrCode GetCloneAppIndexes(const std::string &bundleName, std::vector<int32_t> &appIndexes,
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/ |
H A D | bundle_mgr_host_impl.h | 994 virtual ErrCode GetCloneAppIndexes(const std::string &bundleName, std::vector<int32_t> &appIndexes,
|
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/src/bundlemgr/ |
H A D | bundle_mgr_host.cpp | 3908 std::vector<int32_t> appIndexes; in HandleGetCloneAppIndexes() local 3909 auto ret = GetCloneAppIndexes(bundleName, appIndexes, userId); in HandleGetCloneAppIndexes() 3914 if (ret == ERR_OK && !reply.WriteInt32Vector(appIndexes)) { in HandleGetCloneAppIndexes()
|
H A D | bundle_mgr_proxy.cpp | 5031 ErrCode BundleMgrProxy::GetCloneAppIndexes(const std::string &bundleName, std::vector<int32_t> &appIndexes, in GetCloneAppIndexes() argument 5059 if (!reply.ReadInt32Vector(&appIndexes)) { in GetCloneAppIndexes()
|
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/bundle_manager/ |
H A D | bundle_manager.cpp | 5295 std::vector<int32_t> appIndexes; in InnerGetAllAppCloneBundleInfo() local 5296 ErrCode getCloneIndexesRet = iBundleMgr->GetCloneAppIndexes(bundleName, appIndexes, userId); in InnerGetAllAppCloneBundleInfo() 5303 for (int32_t appIndex : appIndexes) { in InnerGetAllAppCloneBundleInfo()
|
/foundation/bundlemanager/bundle_framework/test/systemtest/common/bms/acts_bms_kit_system_test/ |
H A D | acts_bms_kit_system_test.cpp | 9368 std::vector<int32_t> appIndexes; in HWTEST_F() local 9369 ret = bundleMgrProxy->GetCloneAppIndexes(appName, appIndexes, USERID); in HWTEST_F() 9371 EXPECT_EQ(appIndexes.size(), 1); in HWTEST_F()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_kit_service_test/ |
H A D | bms_bundle_kit_service_test.cpp | 9803 std::vector<int32_t> appIndexes; in HWTEST_F() local 9804 ErrCode ret = hostImpl->GetCloneAppIndexes(BUNDLE_NAME_DEMO, appIndexes, DEFAULT_USERID); in HWTEST_F()
|