/base/hiviewdfx/hiview/base/event_store/store/ |
H A D | sys_event_backup.cpp | 58 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()
|
/base/account/os_account/services/accountmgr/test/unittest/os_account/ |
H A D | os_account_control_file_manager_test.cpp | 119 static int RenameFile(const std::string &src, const std::string &des) in RenameFile() function 536 RenameFile(Constants::BASE_OSACCOUNT_CONSTRAINTS_JSON_PATH, in HWTEST_F() 541 RenameFile(Constants::BASE_OSACCOUNT_CONSTRAINTS_JSON_PATH + "_blk", in HWTEST_F() 569 RenameFile(Constants::BASE_OSACCOUNT_CONSTRAINTS_JSON_PATH, in HWTEST_F() 576 RenameFile(Constants::BASE_OSACCOUNT_CONSTRAINTS_JSON_PATH + "_blk", in HWTEST_F() 588 RenameFile(Constants::BASE_OSACCOUNT_CONSTRAINTS_JSON_PATH, in HWTEST_F() 592 RenameFile(Constants::BASE_OSACCOUNT_CONSTRAINTS_JSON_PATH + "_blk", in HWTEST_F() 605 RenameFile(Constants::GLOBAL_OSACCOUNT_CONSTRAINTS_JSON_PATH, in HWTEST_F() 610 RenameFile(Constants::GLOBAL_OSACCOUNT_CONSTRAINTS_JSON_PATH + "_blk", in HWTEST_F() 623 RenameFile(Constant in HWTEST_F() [all...] |
/base/security/selinux_adapter/test/unittest/common/ |
H A D | test_common.h | 31 int RenameFile(const std::string &src, const std::string &des);
|
H A D | test_common.cpp | 150 int RenameFile(const std::string &src, const std::string &des) in RenameFile() function
|
/base/hiviewdfx/hiview/plugins/reliability/leak_detectors/native_leak/ |
H A D | native_leak_util.cpp | 58 if (!FaultDetectorUtil::RenameFile(filePath, newPath)) { in RemoveInvalidFile()
|
/base/account/os_account/services/accountmgr/test/unittest/common/account_mgr_service_test/ |
H A D | account_dump_helper_test.cpp | 109 static int RenameFile(const std::string &src, const std::string &des) in RenameFile() function 437 RenameFile(Constants::ACCOUNT_LIST_FILE_JSON_PATH, in HWTEST_F() 445 RenameFile(Constants::ACCOUNT_LIST_FILE_JSON_PATH + "_blk", in HWTEST_F() 460 RenameFile(Constants::ACCOUNT_LIST_FILE_JSON_PATH, in HWTEST_F() 475 RenameFile(Constants::ACCOUNT_LIST_FILE_JSON_PATH + "_blk", in HWTEST_F()
|
/base/hiviewdfx/hiview/plugins/event_store/event_export/task/export/ |
H A D | event_write_handler.cpp | 76 if (!FileUtil::RenameFile(item.first, item.second)) { in CopyTmpZipFilesToDest()
|
/base/hiviewdfx/hiview/plugins/reliability/leak_detectors/ |
H A D | fault_detector_util.h | 55 static bool RenameFile(const std::string &path, const std::string &newPath);
|
H A D | fault_detector_util.cpp | 220 bool FaultDetectorUtil::RenameFile(const string &path, const string &newPath) in RenameFile() function in OHOS::HiviewDFX::FaultDetectorUtil
|
/base/hiviewdfx/hiview/base/utility/include/ |
H A D | file_util.h | 104 bool RenameFile(const std::string& src, const std::string& dest);
|
/base/hiviewdfx/hiview/base/utility/test/unittest/common/ |
H A D | adapter_utility_ohos_test.cpp | 465 * @tc.desc: Test RenameFile defined in namespace FileUtil 472 auto ret = FileUtil::RenameFile(GenerateLogFileName(caseName, SUFFIX_0), in HWTEST_F() 477 (void)FileUtil::RenameFile(GenerateLogFileName(caseName, SUFFIX_0), in HWTEST_F()
|
/base/hiviewdfx/hiview/base/utility/ |
H A D | file_util.cpp | 407 bool RenameFile(const std::string& src, const std::string& dest) in RenameFile() function
|
/base/hiviewdfx/hiview/plugins/unified_collector/app_trace/ |
H A D | app_trace_context.cpp | 107 FileUtil::RenameFile(result.data[0], traceFileName); in InnerDumpAppTrace()
|
/base/hiviewdfx/hiview/framework/native/unified_collection/collector/utils/ |
H A D | trace_utils.cpp | 434 FileUtil::RenameFile(UNIFIED_SHARE_TEMP_PATH + zipFileName, destZipPathWithVersion);
in ZipTraceFile()
|