/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/basebundleinstallerrenamemoduledir_fuzzer/ |
H A D | basebundleinstallerrenamemoduledir_fuzzer.cpp | 32 auto ret1 = basebundleinstall.RenameModuleDir(info); in DoSomethingInterestingWithMyAPI()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_install_daemon_test/ |
H A D | bms_install_daemon_test.cpp | 71 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 D | bms_install_daemon_host_impl_test.cpp | 115 * @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 D | bms_install_daemon_ipc_test.cpp | 195 * @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 D | installd_client.cpp | 89 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 D | mock_installd_host_impl.cpp | 59 ErrCode InstalldHostImpl::RenameModuleDir(const std::string &oldPath, const std::string &newPath)
in RenameModuleDir() function in OHOS::AppExecFwk::InstalldHostImpl
|
H A D | mock_install_client.cpp | 67 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 D | bundle_exception_handler.cpp | 153 if (InstalldClient::GetInstance()->RenameModuleDir(moduleDir + ServiceConstants::TMP_SUFFIX, moduleDir) != in InnerHandleInvalidBundle()
|
H A D | installd_client.cpp | 95 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 D | base_bundle_installer.cpp | 3666 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 D | installd_host_impl.h | 78 virtual ErrCode RenameModuleDir(const std::string &oldPath, const std::string &newPath) override;
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/ |
H A D | installd_client.h | 59 ErrCode RenameModuleDir(const std::string &oldPath, const std::string &newPath);
|
H A D | base_bundle_installer.h | 314 ErrCode RenameModuleDir(const InnerBundleInfo &info) const;
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/ipc/ |
H A D | installd_interface.h | 112 virtual ErrCode RenameModuleDir(const std::string &oldDir, const std::string &newDir) in RenameModuleDir() function in OHOS::AppExecFwk::IInstalld
|
H A D | installd_proxy.h | 80 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 D | bms_installd_client_test.cpp | 304 * @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 D | bms_bundle_installer_test.cpp | 2355 * @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 D | installd_host.cpp | 354 ErrCode result = RenameModuleDir(oldPath, newPath); in HandleRenameModuleDir()
|
H A D | installd_proxy.cpp | 170 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 D | installd_host_impl.cpp | 256 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()
|