Home
last modified time | relevance | path

Searched refs:sysVersion (Results 1 – 12 of 12) sorted by relevance

/ohos5.0/base/hiviewdfx/hiview/base/event_store/test/unittest/common/
H A Dsys_event_store_utility_test.cpp49 headExtra.sysVersion = ""; in ReadDocDetails()
111 ASSERT_EQ(headExtra.sysVersion.empty(), isVersionEmpty); in TestSystemVersionOfDocReader()
213 ASSERT_EQ(headExtra.sysVersion.size(), 0);
224 ASSERT_EQ(headExtra.sysVersion.size(), 0);
245 std::string sysVersion; variable
249 ASSERT_GT(headExtra.sysVersion.size(), 0);
/ohos5.0/base/hiviewdfx/hiview/base/event_store/utility/writer/
H A Dsys_event_doc_writer.cpp76 headExtra.sysVersion != Parameter::GetSysVersionStr() || in Write()
160 auto sysVersion = Parameter::GetSysVersionStr(); in WriteHeader() local
161 uint32_t sysVersionSize = sysVersion.length() + 1; // reserve one byte for '\0' in WriteHeader()
170 out_.write(sysVersion.c_str(), sysVersionSize); // append system version in WriteHeader()
/ohos5.0/base/hiviewdfx/hiview/base/event_store/utility/reader/
H A Dcontent_reader_version_4.cpp35 if (!GetDataString(docStream, headExtra.sysVersion)) { in ReadDocDetails()
45 headExtra.sysVersion.c_str(), headExtra.patchVersion.c_str()); in ReadDocDetails()
H A Dcontent_reader_version_3.cpp36 if (!GetDataString(docStream, headExtra.sysVersion)) { in ReadDocDetails()
40 HIVIEW_LOGD("version read from db:%{public}s", headExtra.sysVersion.c_str()); in ReadDocDetails()
H A Dcontent_reader_version_1.cpp100 headExtra.sysVersion = ""; // system version was not stored in doc header in version 1 in ReadDocDetails()
H A Dcontent_reader_version_2.cpp102 headExtra.sysVersion = ""; // system version was not stored in doc header with version 2 in ReadDocDetails()
H A Dsys_event_doc_reader.cpp322 …entries.emplace(info_.seq, info_.timestamp, rawData, headExtra_.sysVersion, headExtra_.patchVersio… in TryToAddEntry()
/ohos5.0/base/hiviewdfx/hiview/base/event_store/include/
H A Dsys_event_query.h48 std::string sysVersion; member
53 : id(id), ts(ts), data(data), sysVersion("") {} in Entry()
56 std::string& sysVersion, std::string& patchVersion) in Entry()
57 : id(id), ts(ts), data(data), sysVersion(sysVersion), patchVersion(patchVersion) {} in Entry()
/ohos5.0/base/hiviewdfx/hiview/base/event_store/utility/reader/include/
H A Dcontent_reader.h47 std::string sysVersion; member
/ohos5.0/base/hiviewdfx/hiview/base/
H A Dsys_event.cpp105 const std::string& sysVersion, const std::string& patchVersion) in SysEvent() argument
113 sysVersion_ = sysVersion; in SysEvent()
/ohos5.0/base/hiviewdfx/hiview/base/include/
H A Dsys_event.h64 const std::string& sysVersion, const std::string& patchVersion);
/ohos5.0/base/hiviewdfx/hiview/base/event_store/dao/
H A Dsys_event_query.cpp509 …resultSet.eventRecords_.emplace_back("", nullptr, entry.data, entry.id, entry.sysVersion, entry.pa… in Execute()