Home
last modified time | relevance | path

Searched refs:RemoveFile (Results 1 - 25 of 54) sorted by relevance

123

/base/hiviewdfx/hiview/base/event_store/store/
H A Dsys_event_backup.cpp44 if (FileUtil::FileExists(backupTmpFile_) && !FileUtil::RemoveFile(backupTmpFile_)) { in Backup()
51 FileUtil::RemoveFile(backupTmpFile_); in Backup()
57 FileUtil::RemoveFile(backupBakFile_); in Backup()
60 FileUtil::RemoveFile(backupTmpFile_); in Backup()
67 FileUtil::RemoveFile(backupTmpFile_); in Backup()
73 FileUtil::RemoveFile(backupBakFile_); in Backup()
112 FileUtil::RemoveFile(backupTmpFile_); in CheckBackupFile()
113 FileUtil::RemoveFile(backupBakFile_); in CheckBackupFile()
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/cleaner/
H A Dapp_event_log_cleaner.cpp55 if (!FileUtil::RemoveFile(delFile)) { in ClearSpace()
70 if (!FileUtil::RemoveFile(file)) { in ClearData()
/base/hiviewdfx/hiview/base/utility/
H A Dhiview_db_util.cpp40 if (!FileUtil::RemoveFile(dbFiles[i])) { in ClearDbFilesByTimestampOrder()
112 if (!FileUtil::RemoveFile(dbFile)) { in MoveDbFilesToUploadDir()
129 if (!FileUtil::RemoveFile(dbPath)) { in MoveDbFileToUploadDir()
/base/hiviewdfx/hiview/core/test/unittest/common/
H A Dparam_update_test.cpp84 FileUtil::RemoveFile(TEST_CONFIG_FILE); in TearDown()
105 FileUtil::RemoveFile(TEST_CONFIG_FILE); in HWTEST_F()
/base/hiviewdfx/hiview/plugins/event_store/event_export/task/expire/
H A Devent_delete_handler.cpp42 FileUtil::RemoveFile(file); in Delete()
/base/hiviewdfx/hiview/plugins/unified_collector/test/unittest/common/
H A Dcpu_storage_test.cpp75 FileUtil::RemoveFile(DB_PATH); in HWTEST_F()
92 FileUtil::RemoveFile(DB_PATH); in HWTEST_F()
124 FileUtil::RemoveFile(DB_PATH); in HWTEST_F()
/base/hiviewdfx/hisysevent/adapter/native/idl/include/
H A Dfile_util.h29 bool RemoveFile(const std::string& file);
/base/security/security_guard/services/config_manager/src/
H A Dconfig_subscriber.cpp53 if (!RemoveFile(file)) { in UpdateConfig()
/base/hiviewdfx/hitrace/utils/
H A Dtrace_utils.cpp44 void RemoveFile(const std::string& fileName) in RemoveFile() function
48 HILOG_WARN(LOG_CORE, "RemoveFile :: open file failed: %{public}s", fileName.c_str()); in RemoveFile()
52 HILOG_WARN(LOG_CORE, "RemoveFile :: get file lock failed, skip remove: %{public}s", fileName.c_str()); in RemoveFile()
57 HILOG_INFO(LOG_CORE, "RemoveFile :: Delete %{public}s success.", fileName.c_str()); in RemoveFile()
59 HILOG_WARN(LOG_CORE, "RemoveFile :: Delete %{public}s failed.", fileName.c_str()); in RemoveFile()
139 RemoveFile(TRACE_DEFAULT_DIR + name); in DelSnapshotTraceFile()
159 RemoveFile(TRACE_DEFAULT_DIR + snapshotTraceFiles[i].filename); in DelSnapshotTraceFile()
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/utility/include/
H A Dfile_util.h29 bool RemoveFile(const std::string& file);
/base/request/request/frameworks/cj/ffi/include/
H A Dcj_request_common.h38 void RemoveFile(const std::string &filePath);
/base/hiviewdfx/hiview/base/running_status_logger/
H A Drunning_status_logger.cpp102 if ((allLogFiles.size() == logFileCntLimit) && !FileUtil::RemoveFile(allLogFiles.front())) { in GetLogWroteDestFile()
122 if ((allLogFiles.size() == logFileCntLimit) && !FileUtil::RemoveFile(allLogFiles.front())) { in GetLogWroteDestFile()
/base/hiviewdfx/hiview/base/logstore/
H A Dlog_store_ex.cpp121 FileUtil::RemoveFile(it->path_); in DoDeleteLogFiles()
174 return FileUtil::RemoveFile(path); in RemoveLogFile()
/base/hiviewdfx/hiview/base/event_publish/
H A Devent_publish.cpp135 FileUtil::RemoveFile(destPath); in CopyExternalLog()
344 (void)FileUtil::RemoveFile(srcPath); in SendEventToSandBox()
350 (void)FileUtil::RemoveFile(srcPath); in SendEventToSandBox()
359 (void)FileUtil::RemoveFile(srcPath); in SendEventToSandBox()
385 (void)FileUtil::RemoveFile(srcPath); in PushEvent()
/base/hiviewdfx/hiview/base/event_store/test/unittest/common/
H A Dsys_event_backup_test.cpp106 FileUtil::RemoveFile(databaseDir + "event_sequence"); in HWTEST_F()
/base/hiviewdfx/hiview/plugins/event_store/event_export/task/export/
H A Devent_write_handler.cpp95 if (!FileUtil::RemoveFile(item.first)) { in Rollback()
/base/hiviewdfx/hiview/plugins/faultlogger/common/
H A Dlog_analyzer.cpp60 FileUtil::RemoveFile(logPath); in AnalysisFaultlog()
/base/hiviewdfx/hisysevent/adapter/native/idl/src/
H A Dfile_util.cpp47 bool RemoveFile(const std::string& file) in RemoveFile() function
/base/hiviewdfx/hiview/adapter/plugins/eventservice/service/idl/src/
H A Ddata_publisher_sys_event_callback.cpp74 if (!FileUtil::RemoveFile(srcPath)) { in HandleEventFile()
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/utility/
H A Dfile_util.cpp49 bool RemoveFile(const std::string& file) in RemoveFile() function
81 return RemoveFile(dir); in ForceRemoveDirectory()
/base/hiviewdfx/hiview/plugins/freeze_detector/test/unittest/common/
H A Dfreeze_detector_test.cpp89 FileUtil::RemoveFile(i); in GetFreezeDectorTestFile()
95 FileUtil::RemoveFile(i); in GetFreezeDectorTestFile()
101 FileUtil::RemoveFile(i); in GetFreezeDectorTestFile()
118 FileUtil::RemoveFile(decLogPath); in GetFreezeDectorTestFile()
/base/hiviewdfx/hidumper/services/native/src/
H A Ddump_log_manager.cpp88 RemoveFile(str); in EraseLogs()
/base/request/request/frameworks/cj/ffi/src/
H A Dcj_notify_data_listener.cpp79 RemoveFile(filePath); in ProcessHeaderReceive()
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/observer/
H A Dos_event_listener.cpp103 (void)FileUtil::RemoveFile(file); in Init()
218 (void)FileUtil::RemoveFile(file); in HandleInotify()
/base/hiviewdfx/hiview/framework/native/unified_collection/collector/utils/
H A Dtrace_manager.cpp136 FileUtil::RemoveFile(UNIFIED_SHARE_TEMP_PATH + fileName); in RecoverTmpTrace()

Completed in 8 milliseconds

123