Home
last modified time | relevance | path

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

/hardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/
DJsonFakeValueGenerator.cpp109 Json::Value rawEvent = rawEvents[i]; in parseFakeValueJson() local
110 if (!rawEvent.isObject()) { in parseFakeValueJson()
112 rawEvent.toStyledString().c_str()); in parseFakeValueJson()
115 if (rawEvent["prop"].empty() || rawEvent["areaId"].empty() || rawEvent["value"].empty() || in parseFakeValueJson()
116 rawEvent["timestamp"].empty()) { in parseFakeValueJson()
118 rawEvent.toStyledString().c_str()); in parseFakeValueJson()
122 .timestamp = rawEvent["timestamp"].asInt64(), in parseFakeValueJson()
123 .areaId = rawEvent["areaId"].asInt(), in parseFakeValueJson()
124 .prop = rawEvent["prop"].asInt(), in parseFakeValueJson()
127 Json::Value rawEventValue = rawEvent["value"]; in parseFakeValueJson()