Home
last modified time | relevance | path

Searched refs:appIndexes (Results 1 - 17 of 17) sorted by relevance

/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/clone/
H A Dbundle_clone_installer.cpp226 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 Dstart_ability_utils.cpp134 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 Dbundle_resource_process.cpp260 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 Ddialog_session_manager.cpp439 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 Dbundle_mgr_helper.h108 ErrCode GetCloneAppIndexes(const std::string &bundleName, std::vector<int32_t> &appIndexes, int32_t userId);
/foundation/ability/ability_runtime/services/abilitymgr/src/
H A Dimplicit_start_processor.cpp535 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 Dbundle_mgr_helper.cpp908 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 Dbundle_mgr_host_impl.cpp1461 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 Dinner_bundle_info.cpp4629 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 Dbundle_mgr_interface.h1523 virtual ErrCode GetCloneAppIndexes(const std::string &bundleName, std::vector<int32_t> &appIndexes, in GetCloneAppIndexes() argument
H A Dbundle_mgr_proxy.h1076 virtual ErrCode GetCloneAppIndexes(const std::string &bundleName, std::vector<int32_t> &appIndexes,
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/
H A Dbundle_mgr_host_impl.h994 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 Dbundle_mgr_host.cpp3908 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 Dbundle_mgr_proxy.cpp5031 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 Dbundle_manager.cpp5295 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 Dacts_bms_kit_system_test.cpp9368 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 Dbms_bundle_kit_service_test.cpp9803 std::vector<int32_t> appIndexes; in HWTEST_F() local
9804 ErrCode ret = hostImpl->GetCloneAppIndexes(BUNDLE_NAME_DEMO, appIndexes, DEFAULT_USERID); in HWTEST_F()

Completed in 91 milliseconds