/foundation/ability/ability_runtime/services/abilitymgr/src/utils/ |
H A D | main_element_utils.cpp | 28 * @param mainElement The returned main element. 32 bool IsMainElementTypeOk(const AppExecFwk::HapModuleInfo &hapModuleInfo, const std::string &mainElement, in IsMainElementTypeOk() argument 38 if (abilityInfo.name == mainElement) { in IsMainElementTypeOk() 46 if (extensionInfo.name == mainElement) { in IsMainElementTypeOk() 55 const std::string &mainElement, bool updateEnable, int32_t userId) in UpdateMainElement() 59 auto ret = abilityMs->UpdateKeepAliveEnableState(bundleName, moduleName, mainElement, updateEnable, userId); in UpdateMainElement() 62 "update keepAlive fail,bundle:%{public}s,mainElement:%{public}s,enable:%{public}d,userId:%{public}d", in UpdateMainElement() 63 bundleName.c_str(), mainElement.c_str(), updateEnable, userId); in UpdateMainElement() 68 const std::string &processName, std::string &mainElement, in CheckMainElement() 73 mainElement in CheckMainElement() 54 UpdateMainElement(const std::string &bundleName, const std::string &moduleName, const std::string &mainElement, bool updateEnable, int32_t userId) UpdateMainElement() argument 67 CheckMainElement(const AppExecFwk::HapModuleInfo &hapModuleInfo, const std::string &processName, std::string &mainElement, std::set<uint32_t> &needEraseIndexSet, size_t bundleInfoIndex, int32_t userId) CheckMainElement() argument [all...] |
/foundation/ability/ability_runtime/test/unittest/main_element_utils_test/ |
H A D | main_element_utils_test.cpp | 56 std::string mainElement = ""; in HWTEST_F() local 66 processName, mainElement, needEraseIndexSet, bundleInfoIndex); in HWTEST_F() 82 std::string mainElement = ""; in HWTEST_F() local 92 processName, mainElement, needEraseIndexSet, bundleInfoIndex); in HWTEST_F() 108 std::string mainElement = ""; in HWTEST_F() local 120 processName, mainElement, needEraseIndexSet, bundleInfoIndex); in HWTEST_F() 136 std::string mainElement = ""; in HWTEST_F() local 148 processName, mainElement, needEraseIndexSet, bundleInfoIndex); in HWTEST_F() 164 std::string mainElement = ""; in HWTEST_F() local 170 processName, mainElement, needEraseIndexSe in HWTEST_F() 186 std::string mainElement = ""; HWTEST_F() local [all...] |
/foundation/ability/ability_runtime/services/abilitymgr/include/utils/ |
H A D | main_element_utils.h | 34 * @param mainElement The returned main element. 41 std::string &mainElement, std::set<uint32_t> &needEraseIndexSet, size_t bundleInfoIndex, int32_t userId = 0); 48 * @param mainElement The returned main element. 53 const std::string &mainElement, bool updateEnable, int32_t userId);
|
/foundation/ability/ability_runtime/services/abilitymgr/src/resident_process/ |
H A D | resident_process_manager.cpp | 86 std::string mainElement; in StartResidentProcessWithMainElement() local 88 processName, mainElement, needEraseIndexSet, i, userId)) { in StartResidentProcessWithMainElement() 95 want.SetElementName(hapModuleInfo.bundleName, mainElement); in StartResidentProcessWithMainElement() 96 ResidentAbilityInfoGuard residentAbilityInfoGuard(hapModuleInfo.bundleName, mainElement, userId); in StartResidentProcessWithMainElement() 97 TAG_LOGI(AAFwkTag::ABILITYMGR, "call, bundleName: %{public}s, mainElement: %{public}s", in StartResidentProcessWithMainElement() 98 hapModuleInfo.bundleName.c_str(), mainElement.c_str()); in StartResidentProcessWithMainElement() 102 hapModuleInfo.name, mainElement, true, userId); in StartResidentProcessWithMainElement() 104 AddFailedResidentAbility(hapModuleInfo.bundleName, mainElement, userId); in StartResidentProcessWithMainElement() 122 std::string mainElement; in NotifyDisableResidentProcess() local 124 processName, mainElement, needEraseIndexSe in NotifyDisableResidentProcess() [all...] |
/foundation/ability/ability_runtime/services/abilitymgr/src/data_ability/ |
H A D | data_ability_manager.cpp | 657 std::string mainElement = hapModuleInfo.mainAbility; in RestartDataAbility() local 658 if (abilityRecord->GetAbilityInfo().name != mainElement || in RestartDataAbility() 664 hapModuleInfo.abilityInfos, mainElement, uriStr); in RestartDataAbility()
|
/foundation/ability/ability_runtime/frameworks/simulator/ability_simulator/src/bundle_parser/ |
H A D | module_profile.cpp | 261 std::string mainElement; member 1238 module.mainElement, in from_json() 1681 innerModuleInfo.mainAbility = moduleJson.module.mainElement; in ToInnerModuleInfo()
|
/foundation/ability/ability_runtime/services/abilitymgr/include/ |
H A D | ability_connect_manager.h | 334 const std::string &mainElement, bool updateEnable);
|
H A D | ability_manager_service.h | 1815 const std::string &mainElement, bool updateEnable, int32_t userId);
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ |
H A D | module_profile.cpp | 284 std::string mainElement; member 1319 module.mainElement, in from_json() 2258 innerModuleInfo.mainAbility = moduleJson.module.mainElement; in ToInnerModuleInfo()
|
/foundation/ability/ability_runtime/services/abilitymgr/src/ |
H A D | ability_connect_manager.cpp | 3281 const std::string &moduleName, const std::string &mainElement, bool updateEnable) in UpdateKeepAliveEnableState() 3287 abilityRecord->GetAbilityInfo().name == mainElement && in UpdateKeepAliveEnableState() 3291 bundleName.c_str(), moduleName.c_str(), mainElement.c_str(), updateEnable); in UpdateKeepAliveEnableState() 3280 UpdateKeepAliveEnableState(const std::string &bundleName, const std::string &moduleName, const std::string &mainElement, bool updateEnable) UpdateKeepAliveEnableState() argument
|
H A D | ability_manager_service.cpp | 12252 const std::string &moduleName, const std::string &mainElement, bool updateEnable, int32_t userId) in UpdateKeepAliveEnableState() 12256 int32_t ret = connectManager->UpdateKeepAliveEnableState(bundleName, moduleName, mainElement, updateEnable); in UpdateKeepAliveEnableState() 12251 UpdateKeepAliveEnableState(const std::string &bundleName, const std::string &moduleName, const std::string &mainElement, bool updateEnable, int32_t userId) UpdateKeepAliveEnableState() argument
|