Home
last modified time | relevance | path

Searched refs:moduleDir (Results 1 - 11 of 11) sorted by relevance

/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dbundle_exception_handler.cpp118 auto moduleDir = appCodePath + ServiceConstants::PATH_SEPARATOR + mark.packageName; in InnerHandleInvalidBundle() local
128 if (InstalldClient::GetInstance()->RemoveDir(moduleDir + ServiceConstants::TMP_SUFFIX) == ERR_OK) { in InnerHandleInvalidBundle()
133 RemoveBundleAndDataDir(moduleDir, moduleDataDir, info.GetUserId())) { in InnerHandleInvalidBundle()
147 if (RemoveBundleAndDataDir(moduleDir, moduleDataDir, info.GetUserId())) { in InnerHandleInvalidBundle()
153 if (InstalldClient::GetInstance()->RenameModuleDir(moduleDir + ServiceConstants::TMP_SUFFIX, moduleDir) != in InnerHandleInvalidBundle()
H A Dbase_bundle_installer.cpp3353 auto moduleDir = info.GetAppCodePath() + ServiceConstants::PATH_SEPARATOR + info.GetCurrentModulePackage(); in ExtractModule() local
3354 info.AddModuleSrcDir(moduleDir); in ExtractModule()
3355 info.AddModuleResPath(moduleDir); in ExtractModule()
3600 std::string moduleDir = info.GetAppCodePath() + ServiceConstants::PATH_SEPARATOR in RemoveEmptyDirs() local
3603 InstalldClient::GetInstance()->IsDirEmpty(moduleDir, isDirEmpty); in RemoveEmptyDirs()
3605 LOG_D(BMS_TAG_INSTALLER, "remove empty dir : %{public}s", moduleDir.c_str()); in RemoveEmptyDirs()
3606 InstalldClient::GetInstance()->RemoveDir(moduleDir); in RemoveEmptyDirs()
3630 auto moduleDir = info.GetModuleDir(modulePackage); in RemoveModuleAndDataDir() local
3631 auto result = RemoveModuleDir(moduleDir); in RemoveModuleAndDataDir()
3668 auto moduleDir in RenameModuleDir() local
[all...]
H A Dbundle_mgr_service_event_handler.cpp810 auto moduleDir = info.GetAppCodePath() + ServiceConstants::PATH_SEPARATOR + info.GetCurrentModulePackage(); in SaveInstallInfoToCache() local
811 info.AddModuleSrcDir(moduleDir); in SaveInstallInfoToCache()
812 info.AddModuleResPath(moduleDir); in SaveInstallInfoToCache()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/shared/
H A Dinner_shared_bundle_installer.cpp340 std::string moduleDir = versionDir + ServiceConstants::PATH_SEPARATOR + moduleName; in ExtractSharedBundles() local
341 result = MkdirIfNotExist(moduleDir); in ExtractSharedBundles()
344 result = ProcessNativeLibrary(bundlePath, moduleDir, moduleName, versionDir, newInfo); in ExtractSharedBundles()
352 std::string realHspPath = moduleDir + ServiceConstants::PATH_SEPARATOR + moduleName + in ExtractSharedBundles()
354 result = SaveHspToRealInstallationDir(bundlePath, moduleDir, moduleName, realHspPath); in ExtractSharedBundles()
363 newInfo.AddModuleSrcDir(moduleDir); in ExtractSharedBundles()
364 newInfo.AddModuleResPath(moduleDir); in ExtractSharedBundles()
373 std::string moduleDir = std::string(Constants::BUNDLE_CODE_DIR) + ServiceConstants::PATH_SEPARATOR + bundleName_ + in UpdateInnerModuleInfo() local
377 ErrCode result = InstalldClient::GetInstance()->IsExistDir(moduleDir, isDirExist); in UpdateInnerModuleInfo()
380 newBundleInfo_.AddModuleSrcDir(moduleDir); in UpdateInnerModuleInfo()
587 SaveHspToRealInstallationDir(const std::string &bundlePath, const std::string &moduleDir, const std::string &moduleName, const std::string &realHspPath) SaveHspToRealInstallationDir() argument
680 ProcessNativeLibrary( const std::string &bundlePath, const std::string &moduleDir, const std::string &moduleName, const std::string &versionDir, InnerBundleInfo &newInfo) ProcessNativeLibrary() argument
[all...]
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/app_service_fwk/
H A Dapp_service_fwk_installer.cpp244 std::string moduleDir = in RemoveModuleDataDir() local
249 APP_LOGI("start to remove module dir: %{public}s", moduleDir.c_str()); in RemoveModuleDataDir()
250 if (InstalldClient::GetInstance()->RemoveDir(moduleDir) != ERR_OK) { in RemoveModuleDataDir()
251 APP_LOGW("remove module dir %{public}s failed", moduleDir.c_str()); in RemoveModuleDataDir()
579 std::string moduleDir = versionDir + AppExecFwk::ServiceConstants::PATH_SEPARATOR + moduleName; in ExtractModule() local
580 result = MkdirIfNotExist(moduleDir); in ExtractModule()
583 result = ProcessNativeLibrary(bundlePath, moduleDir, moduleName, versionDir, newInfo, copyHapToInstallPath); in ExtractModule()
588 newInfo.AddModuleSrcDir(moduleDir); in ExtractModule()
589 newInfo.AddModuleResPath(moduleDir); in ExtractModule()
592 std::string realHspPath = moduleDir in ExtractModule()
640 std::string moduleDir = versionDir + AppExecFwk::ServiceConstants::PATH_SEPARATOR + moduleName; ExtractModule() local
667 ProcessNativeLibrary( const std::string &bundlePath, const std::string &moduleDir, const std::string &moduleName, const std::string &versionDir, InnerBundleInfo &newInfo, bool copyHapToInstallPath) ProcessNativeLibrary() argument
[all...]
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/shared/
H A Dinner_shared_bundle_installer.h111 ErrCode SaveHspToRealInstallationDir(const std::string &bundlePath, const std::string &moduleDir,
116 const std::string &moduleDir, const std::string &moduleName, const std::string &versionDir,
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/mock/src/
H A Dbundle_mgr_service_event_handler.cpp324 auto moduleDir = info.GetAppCodePath() + ServiceConstants::PATH_SEPARATOR + info.GetCurrentModulePackage(); in SaveInstallInfoToCache() local
325 info.AddModuleSrcDir(moduleDir); in SaveInstallInfoToCache()
326 info.AddModuleResPath(moduleDir); in SaveInstallInfoToCache()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/app_service_fwk/
H A Dapp_service_fwk_installer.h70 const std::string &moduleDir,
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_app_provision_info_test/
H A Dbms_bundle_app_provision_info_test.cpp1876 std::string moduleDir; in HWTEST_F() local
1882 ErrCode ret = installer.SaveHspToRealInstallationDir(bundlePath, moduleDir, moduleName, realHspPath); in HWTEST_F()
1885 installer.SaveHspToRealInstallationDir(bundlePath, moduleDir, moduleName, realHspPath); in HWTEST_F()
1888 installer.SaveHspToRealInstallationDir(bundlePath, moduleDir, moduleName, realHspPath); in HWTEST_F()
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/src/
H A Dbundle_info.cpp435 for (auto &moduleDir : moduleDirs) { in Marshalling()
436 WRITE_PARCEL_AND_RETURN_FALSE_IF_FAIL(String16, parcel, Str8ToStr16(moduleDir)); in Marshalling()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_kit_service_test/
H A Dbms_bundle_data_mgr_test.cpp4846 std::string moduleDir = Constants::BUNDLE_CODE_DIR + BUNDLE_TEST1 + in HWTEST_F() local
4848 bool ret = BundleUtil::CreateDir(moduleDir); in HWTEST_F()
4861 ret = BundleUtil::DeleteDir(moduleDir); in HWTEST_F()
4872 std::string moduleDir = "data/test/bundleDir"; in HWTEST_F() local
4873 bool ret = BundleUtil::CreateDir(moduleDir); in HWTEST_F()
4878 BundleExceptionHandler.RemoveBundleAndDataDir(moduleDir, moduleDir + ServiceConstants::HAPS, USERID); in HWTEST_F()
4881 ret = BundleUtil::DeleteDir(moduleDir); in HWTEST_F()

Completed in 35 milliseconds