Home
last modified time | relevance | path

Searched refs:RenameModuleDir (Results 1 - 20 of 20) sorted by relevance

/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/basebundleinstallerrenamemoduledir_fuzzer/
H A Dbasebundleinstallerrenamemoduledir_fuzzer.cpp32 auto ret1 = basebundleinstall.RenameModuleDir(info); in DoSomethingInterestingWithMyAPI()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_install_daemon_test/
H A Dbms_install_daemon_test.cpp71 int RenameModuleDir(const std::string &oldPath, const std::string &newPath) const;
177 int BmsInstallDaemonTest::RenameModuleDir(const std::string &oldPath, const std::string &newPath) const in RenameModuleDir() function in OHOS::BmsInstallDaemonTest
182 return InstalldClient::GetInstance()->RenameModuleDir(oldPath, newPath); in RenameModuleDir()
733 int result1 = RenameModuleDir(TEMP_DIR, MODULE_DIR); in HWTEST_F()
782 int result1 = RenameModuleDir("", MODULE_DIR); in HWTEST_F()
800 int result1 = RenameModuleDir(TEMP_DIR, ""); in HWTEST_F()
H A Dbms_install_daemon_host_impl_test.cpp115 * @tc.desc: 1. calling RenameModuleDir of hostImpl
123 auto ret = hostImpl->RenameModuleDir(TEST_STRING, TEST_STRING); in HWTEST_F()
551 * @tc.desc: 1. calling RenameModuleDir of hostImpl
559 auto ret = hostImpl->RenameModuleDir("", TEST_STRING); in HWTEST_F()
561 ret = hostImpl->RenameModuleDir(TEST_STRING, ""); in HWTEST_F()
563 ret = hostImpl->RenameModuleDir("", ""); in HWTEST_F()
570 * @tc.desc: 1. calling RenameModuleDir of hostImpl
578 auto ret = hostImpl->RenameModuleDir(OVER_MAX_PATH_SIZE, TEST_STRING); in HWTEST_F()
H A Dbms_install_daemon_ipc_test.cpp195 * @tc.desc: 1. calling RenameModuleDir of proxy
203 auto ret = proxy->RenameModuleDir(TEST_STRING, TEST_STRING); in HWTEST_F()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/mock/src/
H A Dinstalld_client.cpp89 ErrCode InstalldClient::RenameModuleDir(const std::string &oldPath, const std::string &newPath) in RenameModuleDir() function in OHOS::AppExecFwk::InstalldClient
96 return CallService(&IInstalld::RenameModuleDir, oldPath, newPath); in RenameModuleDir()
H A Dmock_installd_host_impl.cpp59 ErrCode InstalldHostImpl::RenameModuleDir(const std::string &oldPath, const std::string &newPath) in RenameModuleDir() function in OHOS::AppExecFwk::InstalldHostImpl
H A Dmock_install_client.cpp67 ErrCode InstalldClient::RenameModuleDir(const std::string &oldPath, const std::string &newPath) in RenameModuleDir() function in OHOS::AppExecFwk::InstalldClient
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dbundle_exception_handler.cpp153 if (InstalldClient::GetInstance()->RenameModuleDir(moduleDir + ServiceConstants::TMP_SUFFIX, moduleDir) != in InnerHandleInvalidBundle()
H A Dinstalld_client.cpp95 ErrCode InstalldClient::RenameModuleDir(const std::string &oldPath, const std::string &newPath) in RenameModuleDir() function in OHOS::AppExecFwk::InstalldClient
102 return CallService(&IInstalld::RenameModuleDir, oldPath, newPath); in RenameModuleDir()
H A Dbase_bundle_installer.cpp3666 ErrCode BaseBundleInstaller::RenameModuleDir(const InnerBundleInfo &info) const in RenameModuleDir() function in OHOS::AppExecFwk::BaseBundleInstaller
3670 auto result = InstalldClient::GetInstance()->RenameModuleDir(moduleDir + ServiceConstants::TMP_SUFFIX, moduleDir); in RenameModuleDir()
5422 if ((ret = RenameModuleDir(info.second)) != ERR_OK) { in RenameAllTempDir()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/installd/
H A Dinstalld_host_impl.h78 virtual ErrCode RenameModuleDir(const std::string &oldPath, const std::string &newPath) override;
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/
H A Dinstalld_client.h59 ErrCode RenameModuleDir(const std::string &oldPath, const std::string &newPath);
H A Dbase_bundle_installer.h314 ErrCode RenameModuleDir(const InnerBundleInfo &info) const;
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/ipc/
H A Dinstalld_interface.h112 virtual ErrCode RenameModuleDir(const std::string &oldDir, const std::string &newDir) in RenameModuleDir() function in OHOS::AppExecFwk::IInstalld
H A Dinstalld_proxy.h80 virtual ErrCode RenameModuleDir(const std::string &oldPath, const std::string &newPath) override;
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_installd_client_test/
H A Dbms_installd_client_test.cpp304 * @tc.name: RenameModuleDir
305 * @tc.desc: Test whether RenameModuleDir is called normally.(oldPath is empty)
312 ErrCode result = installClient_->RenameModuleDir(oldPath, newPath); in HWTEST_F()
319 * @tc.name: RenameModuleDir
320 * @tc.desc: Test whether RenameModuleDir is called normally.(newPath is empty)
327 ErrCode result = installClient_->RenameModuleDir(oldPath, newPath); in HWTEST_F()
334 * @tc.name: RenameModuleDir
335 * @tc.desc: Test whether RenameModuleDir is called normally.
342 ErrCode result = installClient_->RenameModuleDir(oldPath, newPath); in HWTEST_F()
343 EXPECT_EQ(result, installClient_->CallService(&IInstalld::RenameModuleDir, oldPat in HWTEST_F()
[all...]
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_installer_test/
H A Dbms_bundle_installer_test.cpp2355 * @tc.desc: 1.Test the RenameModuleDir of InstalldHostImpl
2360 auto ret = impl.RenameModuleDir("", ""); in HWTEST_F()
2363 ret = impl.RenameModuleDir("", TEST_STRING); in HWTEST_F()
2366 ret = impl.RenameModuleDir(TEST_STRING, " "); in HWTEST_F()
2369 ret = impl.RenameModuleDir("wrong", "wrong"); in HWTEST_F()
2372 ret = impl.RenameModuleDir(TEST_STRING, TEST_STRING); in HWTEST_F()
4800 * @tc.name: test RenameModuleDir
4801 * @tc.desc: 1.Test the RenameModuleDir
4808 ErrCode res = installer.RenameModuleDir(info); in HWTEST_F()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ipc/
H A Dinstalld_host.cpp354 ErrCode result = RenameModuleDir(oldPath, newPath); in HandleRenameModuleDir()
H A Dinstalld_proxy.cpp170 ErrCode InstalldProxy::RenameModuleDir(const std::string &oldPath, const std::string &newPath) in RenameModuleDir() function in OHOS::AppExecFwk::InstalldProxy
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/installd/
H A Dinstalld_host_impl.cpp256 ErrCode InstalldHostImpl::RenameModuleDir(const std::string &oldPath, const std::string &newPath) in RenameModuleDir() function in OHOS::AppExecFwk::InstalldHostImpl
264 LOG_E(BMS_TAG_INSTALLD, "Calling the function RenameModuleDir with invalid param"); in RenameModuleDir()

Completed in 44 milliseconds