Home
last modified time | relevance | path

Searched refs:RenameFile (Results 1 – 25 of 44) sorted by relevance

12

/ohos5.0/base/hiviewdfx/hiview/base/event_store/store/
H A Dsys_event_backup.cpp58 if (FileUtil::FileExists(backupFile_) && !FileUtil::RenameFile(backupFile_, backupBakFile_)) { in Backup()
65 if (!FileUtil::RenameFile(backupTmpFile_, backupFile_)) { in Backup()
68 FileUtil::RenameFile(backupBakFile_, backupFile_); in Backup()
100 if (!FileUtil::RenameFile(backupBakFile_, backupFile_)) { in CheckBackupFile()
/ohos5.0/base/account/os_account/services/accountmgr/test/unittest/os_account/
H A Dos_account_control_file_manager_test.cpp116 static int RenameFile(const std::string &src, const std::string &des) in RenameFile() function
533 RenameFile(Constants::BASE_OSACCOUNT_CONSTRAINTS_JSON_PATH,
538 RenameFile(Constants::BASE_OSACCOUNT_CONSTRAINTS_JSON_PATH + "_blk",
566 RenameFile(Constants::BASE_OSACCOUNT_CONSTRAINTS_JSON_PATH,
573 RenameFile(Constants::BASE_OSACCOUNT_CONSTRAINTS_JSON_PATH + "_blk",
585 RenameFile(Constants::BASE_OSACCOUNT_CONSTRAINTS_JSON_PATH,
589 RenameFile(Constants::BASE_OSACCOUNT_CONSTRAINTS_JSON_PATH + "_blk",
602 RenameFile(Constants::GLOBAL_OSACCOUNT_CONSTRAINTS_JSON_PATH,
607 RenameFile(Constants::GLOBAL_OSACCOUNT_CONSTRAINTS_JSON_PATH + "_blk",
620 RenameFile(Constants::SPECIFIC_OSACCOUNT_CONSTRAINTS_JSON_PATH,
[all …]
/ohos5.0/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()
230 if (!BundleFileUtils::RenameFile(oldFileName.c_str(), newFileName.c_str())) { 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()
/ohos5.0/base/account/os_account/services/accountmgr/test/unittest/common/account_mgr_service_test/
H A Daccount_dump_helper_test.cpp109 static int RenameFile(const std::string &src, const std::string &des) in RenameFile() function
437 RenameFile(Constants::ACCOUNT_LIST_FILE_JSON_PATH,
445 RenameFile(Constants::ACCOUNT_LIST_FILE_JSON_PATH + "_blk",
460 RenameFile(Constants::ACCOUNT_LIST_FILE_JSON_PATH,
475 RenameFile(Constants::ACCOUNT_LIST_FILE_JSON_PATH + "_blk",
/ohos5.0/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()
/ohos5.0/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/bundle_daemon/include/
H A Dbundle_file_utils.h36 static bool RenameFile(const char *oldDir, const char *newDir);
H A Dbundle_daemon_handler.h28 int32_t RenameFile(const char *oldFile, const char *newFile);
/ohos5.0/base/security/selinux_adapter/test/unittest/common/
H A Dtest_common.h31 int RenameFile(const std::string &src, const std::string &des);
H A Dtest_common.cpp150 int RenameFile(const std::string &src, const std::string &des) in RenameFile() function
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_install_daemon_test/
H A Dbms_install_daemon_operator_test.cpp597 auto ret = InstalldOperator::RenameFile("", "");
599 ret = InstalldOperator::RenameFile("", "/test/123");
601 ret = InstalldOperator::RenameFile("/test/123", "");
603 ret = InstalldOperator::RenameFile("/test/123", "/test/123");
615 auto ret = InstalldOperator::RenameFile(TEST_PATH, TEST_PATH);
1018 auto result = InstalldOperator::RenameFile("/data/OperatorTest", "/data/OperatorTest");
1020 result = InstalldOperator::RenameFile("/data/OperatorTest", "/data/OperatorTest1");
/ohos5.0/base/hiviewdfx/hiview/plugins/reliability/leak_detectors/native_leak/
H A Dnative_leak_util.cpp58 if (!FaultDetectorUtil::RenameFile(filePath, newPath)) { in RemoveInvalidFile()
/ohos5.0/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);
/ohos5.0/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fs/properties/
H A Dmove.cpp140 static int RenameFile(const string &src, const string &dest) in RenameFile() function
178 return RenameFile(src, dest); in MoveFile()
H A Dmovedir.cpp124 static int RenameFile(const string &src, const string &dest, const int mode, deque<struct ErrFiles>… in RenameFile() function
238 int res = RenameFile(src, dest, mode, errfiles); in RecurMoveDir()
/ohos5.0/foundation/distributeddatamgr/preferences/frameworks/native/src/
H A Dpreferences_xml_utils.cpp93 static bool RenameFile(const std::string &fileName, const std::string &fileType) in RenameFile() function
105 return RenameFile(fileName, STR_BACKUP); in RenameToBackupFile()
111 return RenameFile(fileName, STR_BROKEN); in RenameToBrokenFile()
/ohos5.0/base/hiviewdfx/hiview/plugins/reliability/leak_detectors/
H A Dfault_detector_util.h55 static bool RenameFile(const std::string &path, const std::string &newPath);
/ohos5.0/base/hiviewdfx/hiview/plugins/event_store/event_export/task/export/
H A Devent_write_handler.cpp87 if (!FileUtil::RenameFile(item.first, item.second)) { in CopyTmpZipFilesToDest()
/ohos5.0/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/include/
H A Dsqlite_utils.h55 static bool RenameFile(const std::string &srcFile, const std::string &destFile);
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/
H A Dbundle_util.h171 static bool RenameFile(const std::string &oldPath, const std::string &newPath);
/ohos5.0/base/hiviewdfx/hiview/base/utility/include/
H A Dfile_util.h104 bool RenameFile(const std::string& src, const std::string& dest);
/ohos5.0/foundation/filemanagement/user_file_service/utils/
H A Dfile_util.h198 static int RenameFile(const string &src, const string &dest) in RenameFile() function
/ohos5.0/base/hiviewdfx/hiview/base/utility/test/unittest/common/
H A Dadapter_utility_ohos_test.cpp472 auto ret = FileUtil::RenameFile(GenerateLogFileName(caseName, SUFFIX_0),
477 (void)FileUtil::RenameFile(GenerateLogFileName(caseName, SUFFIX_0),

12