Home
last modified time | relevance | path

Searched refs:dbFile_ (Results 1 – 4 of 4) sorted by relevance

/base/hiviewdfx/hiview/plugins/eventservice/store/
Dsys_event_db_backup.cpp35 dbFile_ = SysEventDao::GetDataFile(type); in SysEventDbBackup()
41 auto sysEventQuery = SysEventDao::BuildQuery(dbFile_); in IsBroken()
44 HIVIEW_LOGE("sys event db=%{public}s is broken", dbFile_.c_str()); in IsBroken()
62 HIVIEW_LOGW("start to recover db file=%{public}s", dbFile_.c_str()); in Recover()
77 if (!FileUtil::RenameFile(dbBakFile_, dbFile_)) { in RecoverFromBackup()
96 if (FileUtil::FileExists(dbFile_) && !FileUtil::RemoveFile(dbFile_)) { in RemoveDbFile()
100 std::string walDbFile = dbFile_ + "-wal"; in RemoveDbFile()
/base/hiviewdfx/hiview/plugins/eventservice/include/
Dsys_event_db_backup.h40 std::string dbFile_; variable
/base/hiviewdfx/hiview/base/event_store/
Dsys_event_query.cpp545 SysEventQuery::SysEventQuery(const std::string &dbFile): dbFile_(dbFile) in SysEventQuery()
808 return dbFile_; in GetDbFile()
828 std::shared_ptr<DocStore> docStore = StoreMgrProxy::GetInstance().GetDocStore(dbFile_); in ExecuteSQL()
854 std::shared_ptr<DocStore> docStore = StoreMgrProxy::GetInstance().GetDocStore(dbFile_); in ExecuteWithCallback()
/base/hiviewdfx/hiview/base/event_store/include/
Dsys_event_query.h229 std::string dbFile_;