/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/bundle_daemon/src/ |
H A D | bundle_daemon_handler.cpp | 99 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 D | bundle_file_utils.cpp | 135 bool BundleFileUtils::RenameFile(const char *oldFile, const char *newFile) in RenameFile() function in OHOS::BundleFileUtils
|
H A D | bundle_daemon.cpp | 185 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 D | bundle_daemon_handler.h | 28 int32_t RenameFile(const char *oldFile, const char *newFile);
|
H A D | bundle_file_utils.h | 36 static bool RenameFile(const char *oldDir, const char *newDir);
|
/foundation/filemanagement/file_api/interfaces/kits/cj/src/ |
H A D | move_file.cpp | 131 static int RenameFile(const string &src, const string &dest) in RenameFile() function 178 return RenameFile(src, dest); in MoveFile()
|
H A D | file_fs_impl.cpp | 561 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 D | bundle_daemon_client.h | 37 int32_t RenameFile(const char *oldFile, const char *newFile);
|
H A D | bundle_util.h | 63 static bool RenameFile(const char *oldFile, const char *newFile);
|
/foundation/distributeddatamgr/preferences/frameworks/native/src/ |
H A D | preferences_xml_utils.cpp | 108 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 D | sqlite_utils.h | 55 static bool RenameFile(const std::string &srcFile, const std::string &destFile);
|
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fs/properties/ |
H A D | move.cpp | 137 static int RenameFile(const string &src, const string &dest) in RenameFile() function 175 return RenameFile(src, dest); in MoveFile()
|
H A D | movedir.cpp | 125 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 D | bms_install_daemon_operator_test.cpp | 627 * @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 D | bundle_util.h | 169 static bool RenameFile(const std::string &oldPath, const std::string &newPath);
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/installd/ |
H A D | installd_operator.h | 139 static bool RenameFile(const std::string &oldPath, const std::string &newPath);
|
/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/src/ |
H A D | bundle_daemon_client.cpp | 244 int32_t BundleDaemonClient::RenameFile(const char *oldFile, const char *newFile) in RegisterCallback() function in OHOS::BundleDaemonClient
|
H A D | bundle_installer.cpp | 361 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 D | gt_bundle_installer.cpp | 840 if (!BundleUtil::RenameFile(tmpJsonPath, jsonPath)) { in RenameJsonFile()
|
H A D | bundle_util.cpp | 916 bool BundleUtil::RenameFile(const char *oldFile, const char *newFile) in RenameFile() function in OHOS::BundleUtil
|
/foundation/filemanagement/user_file_service/utils/ |
H A D | file_util.h | 200 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 D | file_trash_n_exporter.cpp | 311 return RenameFile(srcFile, newDestFile);
in MoveFile() 313 return RenameFile(srcFile, destFile);
in MoveFile()
|
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/ |
H A D | sqlite_utils.cpp | 133 bool SqliteUtils::RenameFile(const std::string &srcFile, const std::string &destFile) in RenameFile() function in OHOS::NativeRdb::SqliteUtils
|
H A D | rdb_security_manager.cpp | 604 SqliteUtils::RenameFile(reKeyFile, keyFile);
in ChangeKeyFile()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/installd/ |
H A D | installd_operator.cpp | 643 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()
|