Home
last modified time | relevance | path

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

/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()
/base/account/os_account/services/accountmgr/test/unittest/os_account/
H A Dos_account_control_file_manager_test.cpp119 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 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
/base/hiviewdfx/hiview/plugins/reliability/leak_detectors/native_leak/
H A Dnative_leak_util.cpp58 if (!FaultDetectorUtil::RenameFile(filePath, newPath)) { in RemoveInvalidFile()
/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, 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 Devent_write_handler.cpp76 if (!FileUtil::RenameFile(item.first, item.second)) { in CopyTmpZipFilesToDest()
/base/hiviewdfx/hiview/plugins/reliability/leak_detectors/
H A Dfault_detector_util.h55 static bool RenameFile(const std::string &path, const std::string &newPath);
H A Dfault_detector_util.cpp220 bool FaultDetectorUtil::RenameFile(const string &path, const string &newPath) in RenameFile() function in OHOS::HiviewDFX::FaultDetectorUtil
/base/hiviewdfx/hiview/base/utility/include/
H A Dfile_util.h104 bool RenameFile(const std::string& src, const std::string& dest);
/base/hiviewdfx/hiview/base/utility/test/unittest/common/
H A Dadapter_utility_ohos_test.cpp465 * @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 Dfile_util.cpp407 bool RenameFile(const std::string& src, const std::string& dest) in RenameFile() function
/base/hiviewdfx/hiview/plugins/unified_collector/app_trace/
H A Dapp_trace_context.cpp107 FileUtil::RenameFile(result.data[0], traceFileName); in InnerDumpAppTrace()
/base/hiviewdfx/hiview/framework/native/unified_collection/collector/utils/
H A Dtrace_utils.cpp434 FileUtil::RenameFile(UNIFIED_SHARE_TEMP_PATH + zipFileName, destZipPathWithVersion); in ZipTraceFile()

Completed in 9 milliseconds