Searched refs:sysVersion (Results 1 – 12 of 12) sorted by relevance
/ohos5.0/base/hiviewdfx/hiview/base/event_store/test/unittest/common/ |
H A D | sys_event_store_utility_test.cpp | 49 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 D | sys_event_doc_writer.cpp | 76 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 D | content_reader_version_4.cpp | 35 if (!GetDataString(docStream, headExtra.sysVersion)) { in ReadDocDetails() 45 headExtra.sysVersion.c_str(), headExtra.patchVersion.c_str()); in ReadDocDetails()
|
H A D | content_reader_version_3.cpp | 36 if (!GetDataString(docStream, headExtra.sysVersion)) { in ReadDocDetails() 40 HIVIEW_LOGD("version read from db:%{public}s", headExtra.sysVersion.c_str()); in ReadDocDetails()
|
H A D | content_reader_version_1.cpp | 100 headExtra.sysVersion = ""; // system version was not stored in doc header in version 1 in ReadDocDetails()
|
H A D | content_reader_version_2.cpp | 102 headExtra.sysVersion = ""; // system version was not stored in doc header with version 2 in ReadDocDetails()
|
H A D | sys_event_doc_reader.cpp | 322 …entries.emplace(info_.seq, info_.timestamp, rawData, headExtra_.sysVersion, headExtra_.patchVersio… in TryToAddEntry()
|
/ohos5.0/base/hiviewdfx/hiview/base/event_store/include/ |
H A D | sys_event_query.h | 48 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 D | content_reader.h | 47 std::string sysVersion; member
|
/ohos5.0/base/hiviewdfx/hiview/base/ |
H A D | sys_event.cpp | 105 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 D | sys_event.h | 64 const std::string& sysVersion, const std::string& patchVersion);
|
/ohos5.0/base/hiviewdfx/hiview/base/event_store/dao/ |
H A D | sys_event_query.cpp | 509 …resultSet.eventRecords_.emplace_back("", nullptr, entry.data, entry.id, entry.sysVersion, entry.pa… in Execute()
|