Searched refs:condStr (Results 1 – 3 of 3) sorted by relevance
/ohos5.0/base/hiviewdfx/hiview/adapter/plugins/eventservice/service/idl/src/ |
H A D | event_query_wrapper_builder.cpp | 51 bool ConditionParser::ParseCondition(const std::string& condStr, EventStore::Cond& condition) in ParseCondition() argument 53 … if (extraInfoCondCache.empty() || extraInfoCondCache.find(condStr) == extraInfoCondCache.end()) { in ParseCondition() 55 if (ParseQueryCondition(condStr, cond)) { in ParseCondition() 56 extraInfoCondCache[condStr] = cond; in ParseCondition() 59 auto iter = extraInfoCondCache.find(condStr); in ParseCondition() 151 bool ConditionParser::ParseQueryCondition(const std::string& condStr, EventStore::Cond& condition) in ParseQueryCondition() argument 153 if (condStr.empty()) { in ParseQueryCondition() 161 if (!reader->parse(condStr.data(), condStr.data() + condStr.size(), &root, &errs)) { in ParseQueryCondition() 162 HIVIEW_LOGE("failed to parse condition string: %{public}s.", condStr.c_str()); in ParseQueryCondition()
|
/ohos5.0/base/hiviewdfx/hiview/adapter/plugins/eventservice/service/idl/include/ |
H A D | event_query_wrapper_builder.h | 36 bool ParseCondition(const std::string& condStr, EventStore::Cond& condition); 45 bool ParseQueryCondition(const std::string& condStr, EventStore::Cond& condition);
|
/ohos5.0/base/hiviewdfx/hiview/adapter/plugins/eventservice/service/test/unittest/common/ |
H A D | sys_event_service_ohos_test.cpp | 326 std::string condStr = R"~({"version":"V1", "condition":{"and":[{"param":"NAME", "op":"=", variable 328 auto ret = parser.ParseCondition(condStr, cond);
|