Searched refs:event_data (Results 1 – 8 of 8) sorted by relevance
136 if (event_data.size() < (sizeof(uint32_t) + sizeof(struct HostHubRawPacket) in IsValid()138 LOGW("Invalid/short AppToHost event of size %zu", event_data.size()); in IsValid()148 if (event_data.size() < sizeof(uint32_t) + sizeof(struct HostHubRawPacket)) { in GetTypedData()149 LOGW("Invalid/short AppToHost event of size %zu", event_data.size()); in GetTypedData()153 event_data.data() + sizeof(uint32_t)); in GetTypedData()
37 if (event_data.size() < (sizeof(uint32_t) + sizeof(uint32_t))) { in GetReason()38 LOGW("Invalid/short ResetReason event of size %zu", event_data.size()); in GetReason()42 event_data.data() + sizeof(uint32_t)); in GetReason()
37 if (event_data.size() < kHeaderSize) { in GetMessage()38 LOGW("Invalid/short LogEvent event of size %zu", event_data.size()); in GetMessage()42 event_data.data() + sizeof(uint32_t)); in GetMessage()
114 if (event_data.size() < (sizeof(struct SensorEventHeader) + in GetNumSamples()117 event_data.size()); in GetNumSamples()123 event_data.data() + sizeof(struct SensorEventHeader)); in GetNumSamples()133 reinterpret_cast<const struct SensorEventHeader *>(event_data.data()); in GetReferenceTime()171 event_data.data() + offset); in GetSampleAtIndex()189 if (event_data.size() < min_size) { in SizeIsValid()191 event_data.size(), min_size); in SizeIsValid()245 event_data.data() + sizeof(struct SensorEventHeader)); in StringForSample()272 event_data.data() + sizeof(struct SensorEventHeader)); in StringForSample()
136 event_data.resize(buffer.size()); in Populate()137 std::copy(buffer.begin(), buffer.end(), event_data.begin()); in Populate()158 return ReadEventResponse::EventTypeFromBuffer(event_data); in GetEventType()242 struct BrHostEventTx event_data; in GetBytes() member250 event->event_data.hdr.appId = kAppIdBridge; in GetBytes()251 event->event_data.hdr.dataLen = sizeof(BrHostEventData); in GetBytes()252 event->event_data.data.msgId = BRIDGE_HOST_EVENT_MSG_VERSION_INFO; in GetBytes()
148 std::vector<uint8_t> event_data; variable
122 uint16_t event_type, const chreSensorThreeAxisData *event_data) { in HandleSensorSamples() argument144 const auto &header = event_data->header; in HandleSensorSamples()145 const auto *data = event_data->readings; in HandleSensorSamples()162 uint16_t event_type, const chreSensorFloatData *event_data) { in HandleTemperatureSamples() argument167 event_data->header.readingCount > 0) { in HandleTemperatureSamples()168 const auto header = event_data->header; in HandleTemperatureSamples()169 const auto *data = event_data->readings; in HandleTemperatureSamples()
85 const chreSensorThreeAxisData *event_data);89 const chreSensorFloatData *event_data);