Home
last modified time | relevance | path

Searched refs:RenameFile (Results 1 - 25 of 28) sorted by relevance

12

/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/bundle_daemon/src/
H A Dbundle_daemon_handler.cpp99 int32_t BundleDaemonHandler::RenameFile(const char *oldFile, const char *newFile) in RenameFile() function in OHOS::BundleDaemonHandler
111 if (!BundleFileUtils::RenameFile(realOldPath, newFile)) { in RenameFile()
201 if (!BundleFileUtils::RenameFile(static_cast<char *>(realOldPath), newFile)) { in MoveFile()
202 PRINTE("BundleDaemonHandler", "RenameFile fail!"); in MoveFile()
230 if (!BundleFileUtils::RenameFile(oldFileName.c_str(), newFileName.c_str())) { in MoveFile()
231 PRINTW("BundleDaemonHandler", "RenameFile fail!"); in MoveFile()
H A Dbundle_file_utils.cpp135 bool BundleFileUtils::RenameFile(const char *oldFile, const char *newFile) in RenameFile() function in OHOS::BundleFileUtils
H A Dbundle_daemon.cpp185 return BundleDaemon::GetInstance().handler_.RenameFile(oldFile.c_str(), newFile.c_str()); in RenameFileInvoke()
/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/bundle_daemon/include/
H A Dbundle_daemon_handler.h28 int32_t RenameFile(const char *oldFile, const char *newFile);
H A Dbundle_file_utils.h36 static bool RenameFile(const char *oldDir, const char *newDir);
/foundation/filemanagement/file_api/interfaces/kits/cj/src/
H A Dmove_file.cpp131 static int RenameFile(const string &src, const string &dest) in RenameFile() function
178 return RenameFile(src, dest); in MoveFile()
H A Dfile_fs_impl.cpp561 static int RenameFile(const string &src, const string &dest, const int mode, deque<struct ConflictFiles> &errfiles) in RenameFile() function
620 int res = RenameFile(src, dest, mode, errfiles); in RecurMoveDir()
/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/include/
H A Dbundle_daemon_client.h37 int32_t RenameFile(const char *oldFile, const char *newFile);
H A Dbundle_util.h63 static bool RenameFile(const char *oldFile, const char *newFile);
/foundation/distributeddatamgr/preferences/frameworks/native/src/
H A Dpreferences_xml_utils.cpp108 static bool RenameFile(const std::string &fileName, const std::string &fileType) in RenameFile() function
120 return RenameFile(fileName, STR_BACKUP); in RenameToBackupFile()
125 return RenameFile(fileName, STR_BROKEN); in RenameToBrokenFile()
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/include/
H A Dsqlite_utils.h55 static bool RenameFile(const std::string &srcFile, const std::string &destFile);
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fs/properties/
H A Dmove.cpp137 static int RenameFile(const string &src, const string &dest) in RenameFile() function
175 return RenameFile(src, dest); in MoveFile()
H A Dmovedir.cpp125 static int RenameFile(const string &src, const string &dest, const int mode, deque<struct ErrFiles> &errfiles) in RenameFile() function
240 int res = RenameFile(src, dest, mode, errfiles); in RecurMoveDir()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_install_daemon_test/
H A Dbms_install_daemon_operator_test.cpp627 * @tc.desc: 1. calling RenameFile of InstalldOperator
632 auto ret = InstalldOperator::RenameFile("", ""); in HWTEST_F()
634 ret = InstalldOperator::RenameFile("", "/test/123"); in HWTEST_F()
636 ret = InstalldOperator::RenameFile("/test/123", ""); in HWTEST_F()
638 ret = InstalldOperator::RenameFile("/test/123", "/test/123"); in HWTEST_F()
640 ret = InstalldOperator::RenameFile("/test/123", TEST_PATH); in HWTEST_F()
647 * @tc.desc: 1. calling RenameFile of InstalldOperator
652 auto ret = InstalldOperator::RenameFile(TEST_PATH, TEST_PATH); in HWTEST_F()
1050 * @tc.desc: 1. calling RenameFile of InstalldOperator
1057 auto result = InstalldOperator::RenameFile("/dat in HWTEST_F()
[all...]
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/
H A Dbundle_util.h169 static bool RenameFile(const std::string &oldPath, const std::string &newPath);
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/installd/
H A Dinstalld_operator.h139 static bool RenameFile(const std::string &oldPath, const std::string &newPath);
/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/src/
H A Dbundle_daemon_client.cpp244 int32_t BundleDaemonClient::RenameFile(const char *oldFile, const char *newFile) in RegisterCallback() function in OHOS::BundleDaemonClient
H A Dbundle_installer.cpp361 if (BundleDaemonClient::GetInstance().RenameFile(tmpPath.c_str(), codePath) != EC_SUCCESS) { in HandleFileAndBackUpRecord()
737 if (BundleDaemonClient::GetInstance().RenameFile(tmpJsonPath.c_str(), jsonPath.c_str()) != EC_SUCCESS) { in RenameJsonFile()
H A Dgt_bundle_installer.cpp840 if (!BundleUtil::RenameFile(tmpJsonPath, jsonPath)) { in RenameJsonFile()
H A Dbundle_util.cpp916 bool BundleUtil::RenameFile(const char *oldFile, const char *newFile) in RenameFile() function in OHOS::BundleUtil
/foundation/filemanagement/user_file_service/utils/
H A Dfile_util.h200 static int RenameFile(const string &src, const string &dest) in RenameFile() function
205 HILOG_ERROR("RenameFile: Failed to request heap memory."); in RenameFile()
210 HILOG_DEBUG("RenameFile: using CopyAndDeleteFile."); in RenameFile()
214 HILOG_ERROR("RenameFile: Failed to move file using rename syscall ret %{public}d ", ret); in RenameFile()
/foundation/filemanagement/user_file_service/interfaces/kits/native/trash/src/
H A Dfile_trash_n_exporter.cpp311 return RenameFile(srcFile, newDestFile); in MoveFile()
313 return RenameFile(srcFile, destFile); in MoveFile()
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/
H A Dsqlite_utils.cpp133 bool SqliteUtils::RenameFile(const std::string &srcFile, const std::string &destFile) in RenameFile() function in OHOS::NativeRdb::SqliteUtils
H A Drdb_security_manager.cpp604 SqliteUtils::RenameFile(reKeyFile, keyFile); in ChangeKeyFile()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/installd/
H A Dinstalld_operator.cpp643 return RenameFile(realOldPath, newPath); in RenameDir()
715 bool InstalldOperator::RenameFile(const std::string &oldPath, const std::string &newPath) in RenameFile() function in OHOS::AppExecFwk::InstalldOperator
1600 if (!RenameFile(srcPath, destPath)) { in MoveFile()

Completed in 30 milliseconds

12