Home
last modified time | relevance | path

Searched refs:modulePackage (Results 1 – 25 of 55) sorted by relevance

123

/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_installer_test/
H A Dbms_system_bundle_installer_test.cpp180 std::string modulePackage = MODULE_NAME; variable
181 bool result = UninstallSystemBundle(bundleName, modulePackage);
193 std::string modulePackage = MODULE_NAME; variable
194 bool result = UninstallSystemBundle(bundleName, modulePackage);
206 std::string modulePackage = EMPTY_STRING; variable
207 bool result = UninstallSystemBundle(bundleName, modulePackage);
219 std::string modulePackage = EMPTY_STRING; variable
337 std::string modulePackage = MODULE_NAME; variable
354 std::string modulePackage = MODULE_NAME; variable
371 std::string modulePackage = EMPTY_STRING; variable
[all …]
/ohos5.0/foundation/bundlemanager/bundle_framework/test/systemtest/common/bms/bms_install_system_test/
H A Dbms_install_system_test.cpp412 std::string modulePackage = THIRD_BASE_BUNDLE_NAME + ".h1"; variable
434 std::string modulePackage = THIRD_BASE_BUNDLE_NAME + ".h1"; variable
473 std::string modulePackage = THIRD_BASE_BUNDLE_NAME + ".h1"; variable
626 modulePackage = THIRD_BASE_BUNDLE_NAME + ".h1";
777 modulePackage = THIRD_BASE_BUNDLE_NAME + ".h2";
812 modulePackage = THIRD_BASE_BUNDLE_NAME + ".h2";
876 modulePackage = THIRD_BASE_BUNDLE_NAME + ".h2";
911 modulePackage = THIRD_BASE_BUNDLE_NAME + ".h2";
980 modulePackage = THIRD_BASE_BUNDLE_NAME + ".h2";
1014 modulePackage = THIRD_BASE_BUNDLE_NAME + ".h2";
[all …]
/ohos5.0/foundation/ability/ability_runtime/frameworks/simulator/ability_simulator/include/bundle_parser/
H A Dinner_bundle_info.h38 std::string modulePackage; member
128 const std::string &modulePackage, int32_t userId = Constants::UNSPECIFIED_USERID) const;
174 …void InsertInnerModuleInfo(const std::string &modulePackage, const InnerModuleInfo &innerModuleInf… 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;
/ohos5.0/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) … in GetHapModuleInfo()
60 "modulePackage:%{public}s", modulePackage.c_str()); in GetHapModuleInfo()
61 … std::optional<HapModuleInfo> hapMouduleInfo = bundleInfo_->FindHapModuleInfo(modulePackage, uid); in GetHapModuleInfo()
H A Dinner_bundle_info.cpp195 {MODULE_PACKAGE, info.modulePackage}, in to_json()
283 info.modulePackage, in from_json()
893 std::optional<HapModuleInfo> InnerBundleInfo::FindHapModuleInfo(const std::string &modulePackage, i… in FindHapModuleInfo() argument
895 auto it = innerModuleInfos_.find(modulePackage); in FindHapModuleInfo()
897 TAG_LOGE(AAFwkTag::ABILITY_SIM, "not find module %{public}s", modulePackage.c_str()); in FindHapModuleInfo()
902 hapInfo.package = it->second.modulePackage; in FindHapModuleInfo()
945 key.append(".").append(modulePackage).append("."); in FindHapModuleInfo()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/
H A Dinner_bundle_info.h70 std::string modulePackage; member
212 void RemoveModuleInfo(const std::string &modulePackage);
546 innerModuleInfos_[modulePackage] = innerModuleInfo; in ReplaceInnerModuleInfo()
877 currentPackage_ = modulePackage; in SetCurrentModulePackage()
928 return innerModuleInfos_.at(modulePackage).hapPath; in GetModuleHapPath()
967 bool FindModule(std::string modulePackage) const in FindModule() argument
972 bool IsEntryModule(std::string modulePackage) const in IsEntryModule() argument
974 if (FindModule(modulePackage)) { in IsEntryModule()
975 return innerModuleInfos_.at(modulePackage).isEntry; in IsEntryModule()
1001 std::string GetModuleDir(std::string modulePackage) const in GetModuleDir() argument
[all …]
H A Dsystem_bundle_installer.h91 bool UninstallSystemBundle(const std::string &bundleName, const std::string &modulePackage);
H A Dbundle_installer.h84 …void Uninstall(const std::string &bundleName, const std::string &modulePackage, const InstallParam…
H A Dbundle_installer_manager.h90 void CreateUninstallTask(const std::string &bundleName, const std::string &modulePackage,
/ohos5.0/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()
/ohos5.0/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()
/ohos5.0/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()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/overlay/
H A Dbundle_overlay_data_manager.cpp267 …ayDataMgr::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() argument
306 if (moduleInfo.second.targetModuleName == modulePackage) { in ResetInternalOverlayModuleState()
/ohos5.0/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_application/bundleinstallerproxy_fuzzer/
H A Dbundleinstallerproxy_fuzzer.cpp43 std::string modulePackage (reinterpret_cast<const char*>(data), size); in DoSomethingInterestingWithMyAPI()
44 bundleinstallerProxy.Uninstall(bundleFilePath, modulePackage, installParam, statusReceiver); in DoSomethingInterestingWithMyAPI()
/ohos5.0/foundation/bundlemanager/bundle_tool/test/mock/
H A Dmock_bundle_installer_host.cpp72 …MockBundleInstallerHost::Uninstall(const std::string &bundleName, const std::string &modulePackage, in Uninstall() argument
78 APP_LOGI("modulePackage: %{public}s", modulePackage.c_str()); in Uninstall()
/ohos5.0/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);
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dbundle_installer.cpp158 … const std::string &bundleName, const std::string &modulePackage, const InstallParam &installParam) in Uninstall() argument
166 resultCode = UninstallBundle(bundleName, modulePackage, userInstallParam); in Uninstall()
184 resultCode = UninstallBundle(bundleName, modulePackage, installParam); in Uninstall()
H A Dbundle_installer_manager.cpp137 …tallerManager::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 Dbase_bundle_installer.cpp207 .modulePackage = moduleName_, in InstallBundle()
528 modulePackage.c_str(), bundleName.c_str()); in UninstallBundle()
545 .modulePackage = modulePackage, in UninstallBundle()
1410 auto modulePackage = info.GetCurrentModulePackage(); in RollBack() local
1411 if (installedModules_[modulePackage]) { in RollBack()
1415 oldInfo.SetCurrentModulePackage(modulePackage); in RollBack()
1424 RemoveInfo(bundleName_, modulePackage); in RollBack()
1660 if (bundleName.empty() || modulePackage.empty()) { in ProcessBundleUninstall()
1752 if (oldInfo.IsOnlyModule(modulePackage)) { in ProcessBundleUninstall()
3478 auto moduleDir = info.GetModuleDir(modulePackage); in RemoveModuleAndDataDir()
[all …]
H A Dsystem_bundle_installer.cpp190 …leInstaller::UninstallSystemBundle(const std::string &bundleName, const std::string &modulePackage) in UninstallSystemBundle() argument
206 ErrCode result = UninstallBundle(bundleName, modulePackage, installParam); in UninstallSystemBundle()
/ohos5.0/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) c…
249 …SystemTest::CheckAppDirExist(const std::string &bundleName, const std::string &modulePackage) const in CheckAppDirExist()
253 …sExist = commonTool.CheckFilePathISExist(BUNDLE_DATA_ROOT_PATH + bundleName + "/" + modulePackage); in CheckAppDirExist()
261 …const std::string &bundleName, const std::string &modulePackage, const std::string &abilityName) c… in CheckAppAbilityExist() argument
266 …commonTool.CheckFilePathISExist(CODE_ROOT_PATH + bundleName + "/" + modulePackage + "/" + abilityN… in CheckAppAbilityExist()
333 … const std::string &bundleName, const std::string &modulePackage, std::vector<std::string> &resvec) in HapUninstall() argument
350 installerProxy->Uninstall(bundleName, modulePackage, installParam, statusReceiver); in HapUninstall()
697 std::string modulePackage = BASE_MODULE_PACKAGE + ".h1"; variable
[all …]
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_event_handler_test/
H A Dmock_system_bundle_installer.cpp142 …leInstaller::UninstallSystemBundle(const std::string &bundleName, const std::string &modulePackage) in UninstallSystemBundle() argument
160 ErrCode result = UninstallBundle(bundleName, modulePackage, installParam); in UninstallSystemBundle()
/ohos5.0/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; variable
186 bundleInstallerManager->CreateUninstallTask(bundleName, modulePackage, installParam, receiver);
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_uninstaller_test/
H A Dbms_bundle_uninstaller_test.cpp72 …ErrCode UninstallModule(const std::string &bundleName, const std::string &modulePackage, int32_t u…
145 …leUninstallerTest::UninstallModule(const std::string &bundleName, const std::string &modulePackage, in UninstallModule() argument
164 bool result = installer->Uninstall(bundleName, modulePackage, installParam, receiver); in UninstallModule()

123