/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_installer_test/ |
H A D | bms_system_bundle_installer_test.cpp | 180 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 D | bms_install_system_test.cpp | 412 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 D | inner_bundle_info.h | 38 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 D | bundle_container.h | 35 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 D | bundle_container.cpp | 55 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 D | inner_bundle_info.cpp | 195 {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 D | inner_bundle_info.h | 70 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 D | system_bundle_installer.h | 91 bool UninstallSystemBundle(const std::string &bundleName, const std::string &modulePackage);
|
H A D | bundle_installer.h | 84 …void Uninstall(const std::string &bundleName, const std::string &modulePackage, const InstallParam…
|
H A D | bundle_installer_manager.h | 90 void CreateUninstallTask(const std::string &bundleName, const std::string &modulePackage,
|
/ohos5.0/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/basebundleinstallerremovemoduleanddatadir_fuzzer/ |
H A D | basebundleinstallerremovemoduleanddatadir_fuzzer.cpp | 32 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 D | basebundleinstalleruninstallbundlemodule_fuzzer.cpp | 32 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 D | basebundleinstallerprocessbundleuninstall_fuzzer.cpp | 32 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 D | bundle_overlay_data_manager.cpp | 267 …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 D | bundleinstallerproxy_fuzzer.cpp | 43 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 D | mock_bundle_installer_host.cpp | 72 …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 D | bundle_overlay_data_manager.h | 47 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 D | bundle_installer.cpp | 158 … 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 D | bundle_installer_manager.cpp | 137 …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 D | base_bundle_installer.cpp | 207 .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 D | system_bundle_installer.cpp | 190 …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 D | bms_uninstall_system_test.cpp | 109 …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 D | mock_system_bundle_installer.cpp | 142 …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 D | bms_bundle_installer_manager_test.cpp | 184 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 D | bms_bundle_uninstaller_test.cpp | 72 …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()
|