Home
last modified time | relevance | path

Searched refs:modulePackage (Results 1 - 25 of 60) sorted by relevance

123

/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_installer_test/
H A Dbms_system_bundle_installer_test.cpp49 bool UninstallSystemBundle(const std::string &bundleName, const std::string &modulePackage) const;
76 const std::string &bundleName, const std::string &modulePackage) const in UninstallSystemBundle()
79 return installer->UninstallSystemBundle(bundleName, modulePackage); in UninstallSystemBundle()
175 * @tc.desc: Pass in the correct bundlename and the correct modulePackage to get the return false
180 std::string modulePackage = MODULE_NAME; in HWTEST_F() local
181 bool result = UninstallSystemBundle(bundleName, modulePackage); in HWTEST_F()
188 * @tc.desc: Pass in an empty bundleName and the correct modulePackage to get the return false
193 std::string modulePackage = MODULE_NAME; in HWTEST_F() local
194 bool result = UninstallSystemBundle(bundleName, modulePackage); in HWTEST_F()
201 * @tc.desc: Pass in an empty bundleName and an empty modulePackage t
206 std::string modulePackage = EMPTY_STRING; HWTEST_F() local
219 std::string modulePackage = EMPTY_STRING; HWTEST_F() local
337 std::string modulePackage = MODULE_NAME; HWTEST_F() local
354 std::string modulePackage = MODULE_NAME; HWTEST_F() local
371 std::string modulePackage = EMPTY_STRING; HWTEST_F() local
388 std::string modulePackage = EMPTY_STRING; HWTEST_F() local
[all...]
/foundation/bundlemanager/bundle_framework/test/systemtest/common/bms/bms_install_system_test/
H A Dbms_install_system_test.cpp150 void CheckInstallIsSuccess(const std::string &bundleName, const std::string &modulePackage,
343 const std::string &bundleName, const std::string &modulePackage, const std::vector<std::string> &abilityNames) const in CheckInstallIsSuccess()
346 EXPECT_TRUE(CheckFilePath(CODE_ROOT_PATH + bundleName + "/" + modulePackage + "/config.json")); in CheckInstallIsSuccess()
348 std::string strDataPath = DATA_ROOT_PATH + bundleName + "/" + modulePackage + "/"; in CheckInstallIsSuccess()
412 std::string modulePackage = THIRD_BASE_BUNDLE_NAME + ".h1"; in HWTEST_F() local
434 std::string modulePackage = THIRD_BASE_BUNDLE_NAME + ".h1"; in HWTEST_F() local
473 std::string modulePackage = THIRD_BASE_BUNDLE_NAME + ".h1"; in HWTEST_F() local
511 std::string modulePackage = THIRD_BASE_BUNDLE_NAME + ".h2"; in HWTEST_F() local
541 std::string modulePackage = THIRD_BASE_BUNDLE_NAME + ".h2"; in HWTEST_F() local
572 std::string modulePackage in HWTEST_F() local
342 CheckInstallIsSuccess( const std::string &bundleName, const std::string &modulePackage, const std::vector<std::string> &abilityNames) const CheckInstallIsSuccess() argument
619 std::string modulePackage = THIRD_BASE_BUNDLE_NAME + ".h2"; HWTEST_F() local
654 std::string modulePackage = THIRD_BASE_BUNDLE_NAME + ".h1"; HWTEST_F() local
682 std::string modulePackage = THIRD_BASE_BUNDLE_NAME + ".h1"; HWTEST_F() local
710 std::string modulePackage = THIRD_BASE_BUNDLE_NAME + ".h1"; HWTEST_F() local
742 std::string modulePackage = THIRD_BASE_BUNDLE_NAME + ".h1"; HWTEST_F() local
775 std::string modulePackage = THIRD_BASE_BUNDLE_NAME + ".h1"; HWTEST_F() local
810 std::string modulePackage = THIRD_BASE_BUNDLE_NAME + ".h1"; HWTEST_F() local
845 std::string modulePackage = THIRD_BASE_BUNDLE_NAME + ".h1"; HWTEST_F() local
874 std::string modulePackage = THIRD_BASE_BUNDLE_NAME + ".h1"; HWTEST_F() local
909 std::string modulePackage = THIRD_BASE_BUNDLE_NAME + ".h1"; HWTEST_F() local
945 std::string modulePackage = THIRD_BASE_BUNDLE_NAME + ".h1"; HWTEST_F() local
978 std::string modulePackage = THIRD_BASE_BUNDLE_NAME + ".h1"; HWTEST_F() local
1012 std::string modulePackage = THIRD_BASE_BUNDLE_NAME + ".h1"; HWTEST_F() local
1071 std::string modulePackage = THIRD_BASE_BUNDLE_NAME + ".h1"; HWTEST_F() local
1095 std::string modulePackage = THIRD_BASE_BUNDLE_NAME + ".h1"; HWTEST_F() local
1203 std::string modulePackage = THIRD_BASE_BUNDLE_NAME + ".h1"; HWTEST_F() local
1238 std::string modulePackage = SYSTEM_BASE_BUNDLE_NAME + ".h1"; HWTEST_F() local
1350 std::string modulePackage = THIRD_BASE_BUNDLE_NAME + ".h1"; HWTEST_F() local
1450 std::string modulePackage = THIRD_BASE_BUNDLE_NAME + ".h1"; HWTEST_F() local
1477 std::string modulePackage = SYSTEM_BASE_BUNDLE_NAME + ".h1"; HWTEST_F() local
1519 std::string modulePackage = SYSTEM_BASE_BUNDLE_NAME + ".h1"; HWTEST_F() local
1554 std::string modulePackage = THIRD_BASE_BUNDLE_NAME + ".h2"; HWTEST_F() local
1587 std::string modulePackage = THIRD_BASE_BUNDLE_NAME + ".h2"; HWTEST_F() local
1620 std::string modulePackage = THIRD_BASE_BUNDLE_NAME + ".h2"; HWTEST_F() local
1653 std::string modulePackage = THIRD_BASE_BUNDLE_NAME + ".h2"; HWTEST_F() local
1689 std::string modulePackage = THIRD_BASE_BUNDLE_NAME + ".h2"; HWTEST_F() local
1728 std::string modulePackage = THIRD_BASE_BUNDLE_NAME + ".h2"; HWTEST_F() local
1764 std::string modulePackage = THIRD_BASE_BUNDLE_NAME + ".h1"; HWTEST_F() local
1822 std::string modulePackage = THIRD_BASE_BUNDLE_NAME + ".h1"; HWTEST_F() local
1848 std::string modulePackage = THIRD_BASE_BUNDLE_NAME + ".h1"; HWTEST_F() local
[all...]
/foundation/ability/ability_runtime/frameworks/simulator/ability_simulator/include/bundle_parser/
H A Dinner_bundle_info.h38 std::string modulePackage; member
123 * @param modulePackage Indicates the module package.
128 const std::string &modulePackage, int32_t userId = Constants::UNSPECIFIED_USERID) const;
171 * @param modulePackage Indicates the modulePackage object as key.
174 void InsertInnerModuleInfo(const std::string &modulePackage, const InnerModuleInfo &innerModuleInfo) in InsertInnerModuleInfo() argument
176 innerModuleInfos_.try_emplace(modulePackage, innerModuleInfo); in InsertInnerModuleInfo()
205 void SetCurrentModulePackage(const std::string &modulePackage) in SetCurrentModulePackage() argument
207 currentPackage_ = modulePackage; in SetCurrentModulePackage()
H A Dbundle_container.h35 std::shared_ptr<HapModuleInfo> GetHapModuleInfo(const std::string &modulePackage) const;
/foundation/ability/ability_runtime/frameworks/simulator/ability_simulator/src/bundle_parser/
H A Dbundle_container.cpp55 std::shared_ptr<HapModuleInfo> BundleContainer::GetHapModuleInfo(const std::string &modulePackage) const in GetHapModuleInfo()
60 "modulePackage:%{public}s", modulePackage.c_str()); in GetHapModuleInfo()
61 std::optional<HapModuleInfo> hapMouduleInfo = bundleInfo_->FindHapModuleInfo(modulePackage, uid); in GetHapModuleInfo()
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/basebundleinstallerremovemoduleanddatadir_fuzzer/
H A Dbasebundleinstallerremovemoduleanddatadir_fuzzer.cpp32 std::string modulePackage; in DoSomethingInterestingWithMyAPI() local
35 auto ret1 = basebundleinstall.RemoveModuleAndDataDir(info, modulePackage, userId, isKeepData); in DoSomethingInterestingWithMyAPI()
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/basebundleinstalleruninstallbundlemodule_fuzzer/
H A Dbasebundleinstalleruninstallbundlemodule_fuzzer.cpp32 std::string modulePackage; in DoSomethingInterestingWithMyAPI() local
34 auto ret1 = basebundleinstall.UninstallBundle(bundleName, modulePackage, installParam); in DoSomethingInterestingWithMyAPI()
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/basebundleinstallerprocessbundleuninstall_fuzzer/
H A Dbasebundleinstallerprocessbundleuninstall_fuzzer.cpp32 std::string modulePackage = ""; in DoSomethingInterestingWithMyAPI() local
36 basebundleinstall.ProcessBundleUninstall(bundleName, modulePackage, installParam, uid); in DoSomethingInterestingWithMyAPI()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/
H A Dinner_bundle_info.h91 std::string modulePackage; member
210 * @param modulePackage Indicates the module package to be remove.
213 void RemoveModuleInfo(const std::string &modulePackage);
216 * @param modulePackage Indicates the module package.
221 const std::string &modulePackage, int32_t userId = Constants::UNSPECIFIED_USERID, int32_t appIndex = 0) const;
224 * @param modulePackage Indicates the module package.
229 int32_t flags, const std::string &modulePackage, HapModuleInfo &hapModuleInfo) const;
530 * @param modulePackage Indicates the modulePackage object as key.
533 void InsertInnerModuleInfo(const std::string &modulePackage, cons argument
543 ReplaceInnerModuleInfo(const std::string &modulePackage, const InnerModuleInfo &innerModuleInfo) ReplaceInnerModuleInfo() argument
855 SetCurrentModulePackage(const std::string &modulePackage) SetCurrentModulePackage() argument
1007 IsOnlyModule(const std::string &modulePackage) IsOnlyModule() argument
[all...]
H A Dsystem_bundle_installer.h86 * @brief Uninstall preinstall app by modulePackage.
91 bool UninstallSystemBundle(const std::string &bundleName, const std::string &modulePackage);
H A Dbundle_common_event_mgr.h64 std::string modulePackage = ""; member
H A Dhmp_bundle_installer.h52 bool UninstallSystemBundle(const std::string &bundleName, const std::string &modulePackage);
H A Dbundle_installer_manager.h85 * @param modulePackage Indicates the module package of the module to uninstall.
90 void CreateUninstallTask(const std::string &bundleName, const std::string &modulePackage,
H A Dbundle_installer.h80 * @param modulePackage Indicates the module package of the module to uninstall.
84 void Uninstall(const std::string &bundleName, const std::string &modulePackage, const InstallParam &installParam);
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_application/bundleinstallerproxy_fuzzer/
H A Dbundleinstallerproxy_fuzzer.cpp42 std::string modulePackage (reinterpret_cast<const char*>(data), size); in DoSomethingInterestingWithMyAPI()
43 bundleinstallerProxy.Uninstall(bundleFilePath, modulePackage, installParam, statusReceiver); in DoSomethingInterestingWithMyAPI()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/overlay/
H A Dbundle_overlay_data_manager.cpp267 void OverlayDataMgr::RemoveOverlayModuleInfo(const std::string &bundleName, const std::string &modulePackage, in RemoveOverlayModuleInfo() argument
271 if (!oldInfo.FindModule(modulePackage)) { in RemoveOverlayModuleInfo()
275 std::string targetModuleName = innerModuleInfos.at(modulePackage).targetModuleName; in RemoveOverlayModuleInfo()
280 ResetInternalOverlayModuleState(innerModuleInfos, modulePackage, oldInfo); in RemoveOverlayModuleInfo()
284 oldInfo.RemoveOverlayModuleInfo(targetModuleName, bundleName, modulePackage); in RemoveOverlayModuleInfo()
285 oldInfo.ClearOverlayModuleStates(modulePackage); in RemoveOverlayModuleInfo()
295 targetInnerBundleInfo.RemoveOverlayModuleInfo(targetModuleName, bundleName, modulePackage); in RemoveOverlayModuleInfo()
297 oldInfo.ClearOverlayModuleStates(modulePackage); in RemoveOverlayModuleInfo()
303 const std::string &modulePackage, InnerBundleInfo &oldInfo) in ResetInternalOverlayModuleState()
306 if (moduleInfo.second.targetModuleName == modulePackage) { in ResetInternalOverlayModuleState()
302 ResetInternalOverlayModuleState(const std::map<std::string, InnerModuleInfo> &innerModuleInfos, const std::string &modulePackage, InnerBundleInfo &oldInfo) ResetInternalOverlayModuleState() argument
[all...]
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/overlay/
H A Dbundle_overlay_data_manager.h47 void RemoveOverlayModuleInfo(const std::string &bundleName, const std::string &modulePackage,
61 const std::string &modulePackage, InnerBundleInfo &oldInfo);
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_application/bundleinstallerhost_fuzzer/
H A Dbundleinstallerhost_fuzzer.cpp61 std::string modulePackage(std::string(data, size)); in DoSomethingInterestingWithMyAPI()
71 bundleInstallerHost->Uninstall(bundleName, modulePackage, installParam, statusReceiver); in DoSomethingInterestingWithMyAPI()
/foundation/bundlemanager/bundle_tool/test/mock/
H A Dmock_bundle_installer_host.cpp72 bool MockBundleInstallerHost::Uninstall(const std::string &bundleName, const std::string &modulePackage, in Uninstall() argument
78 APP_LOGI("modulePackage: %{public}s", modulePackage.c_str()); in Uninstall()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_event_handler_test/
H A Dmock_system_bundle_installer.cpp142 bool SystemBundleInstaller::UninstallSystemBundle(const std::string &bundleName, const std::string &modulePackage) in UninstallSystemBundle() argument
160 ErrCode result = UninstallBundle(bundleName, modulePackage, installParam); in UninstallSystemBundle()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dbundle_installer_manager.cpp137 void BundleInstallerManager::CreateUninstallTask(const std::string &bundleName, const std::string &modulePackage, in CreateUninstallTask() argument
145 auto task = [installer, bundleName, modulePackage, installParam] { in CreateUninstallTask()
148 installer->Uninstall(bundleName, modulePackage, installParam); in CreateUninstallTask()
H A Dbundle_installer.cpp162 const std::string &bundleName, const std::string &modulePackage, const InstallParam &installParam) in Uninstall()
170 resultCode = UninstallBundle(bundleName, modulePackage, userInstallParam); in Uninstall()
188 resultCode = UninstallBundle(bundleName, modulePackage, installParam); in Uninstall()
161 Uninstall( const std::string &bundleName, const std::string &modulePackage, const InstallParam &installParam) Uninstall() argument
H A Dbase_bundle_installer.cpp186 .modulePackage = item.second.GetCurModuleName(), in SendStartInstallNotify()
216 .modulePackage = moduleName_, in InstallBundle()
529 const std::string &bundleName, const std::string &modulePackage, const InstallParam &installParam) in UninstallBundle()
534 modulePackage.c_str(), bundleName.c_str()); in UninstallBundle()
542 ErrCode result = ProcessBundleUninstall(bundleName, modulePackage, installParam, uid); in UninstallBundle()
558 .modulePackage = modulePackage, in UninstallBundle()
573 LOG_D(BMS_TAG_INSTALLER, "finish uninstall %{public}s in %{public}s", modulePackage.c_str(), bundleName.c_str()); in UninstallBundle()
675 auto oldModule = oldInfo.FetchInnerModuleInfos().find(newModuleInfo.modulePackage); in SaveOldRemovableInfo()
677 LOG_E(BMS_TAG_INSTALLER, "can not find module %{public}s in oldInfo", newModuleInfo.modulePackage in SaveOldRemovableInfo()
528 UninstallBundle( const std::string &bundleName, const std::string &modulePackage, const InstallParam &installParam) UninstallBundle() argument
1408 auto modulePackage = info.GetCurrentModulePackage(); RollBack() local
1664 ProcessBundleUninstall( const std::string &bundleName, const std::string &modulePackage, const InstallParam &installParam, int32_t &uid) ProcessBundleUninstall() argument
3626 RemoveModuleAndDataDir( const InnerBundleInfo &info, const std::string &modulePackage, int32_t userId, bool isKeepData) const RemoveModuleAndDataDir() argument
3887 std::string modulePackage = item.second.GetCurModuleName(); GetRemoveExtensionDirs() local
[all...]
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_installer_manager_test/
H A Dbms_bundle_installer_manager_test.cpp184 std::string modulePackage = MODULE_PACKAGE; in HWTEST_F() local
186 bundleInstallerManager->CreateUninstallTask(bundleName, modulePackage, installParam, receiver); in HWTEST_F()
/foundation/bundlemanager/bundle_framework/test/systemtest/common/bms/bms_uninstall_system_test/
H A Dbms_uninstall_system_test.cpp109 const std::string &bundleName, const std::string &modulePackage, std::vector<std::string> &resvec);
118 bool CheckAppDirExist(const std::string &bundleName, const std::string &modulePackage) const;
120 const std::string &bundleName, const std::string &modulePackage, const std::string &abilityName) const;
249 bool BmsUninstallSystemTest::CheckAppDirExist(const std::string &bundleName, const std::string &modulePackage) const in CheckAppDirExist()
253 bool chkFileIsExist = commonTool.CheckFilePathISExist(BUNDLE_DATA_ROOT_PATH + bundleName + "/" + modulePackage); in CheckAppDirExist()
261 const std::string &bundleName, const std::string &modulePackage, const std::string &abilityName) const in CheckAppAbilityExist()
266 commonTool.CheckFilePathISExist(CODE_ROOT_PATH + bundleName + "/" + modulePackage + "/" + abilityName); in CheckAppAbilityExist()
333 const std::string &bundleName, const std::string &modulePackage, std::vector<std::string> &resvec) in HapUninstall()
350 installerProxy->Uninstall(bundleName, modulePackage, installParam, statusReceiver); in HapUninstall()
697 std::string modulePackage in HWTEST_F() local
260 CheckAppAbilityExist( const std::string &bundleName, const std::string &modulePackage, const std::string &abilityName) const CheckAppAbilityExist() argument
332 HapUninstall( const std::string &bundleName, const std::string &modulePackage, std::vector<std::string> &resvec) HapUninstall() argument
[all...]

Completed in 22 milliseconds

123