Home
last modified time | relevance | path

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

/device/google/contexthub/util/nanotool/
Dsensorevent.cpp109 if (event_data.size() < (sizeof(struct SensorEventHeader) + in GetNumSamples()
118 event_data.data() + sizeof(struct SensorEventHeader)); in GetNumSamples()
127 const struct SensorEventHeader *header = in GetReferenceTime()
128 reinterpret_cast<const struct SensorEventHeader *>(event_data.data()); in GetReferenceTime()
163 unsigned int offset = (sizeof(struct SensorEventHeader) + in GetSampleAtIndex()
182 unsigned int min_size = (sizeof(struct SensorEventHeader) + in SizeIsValid()
240 event_data.data() + sizeof(struct SensorEventHeader)); in StringForSample()
266 event_data.data() + sizeof(struct SensorEventHeader)); in StringForSample()
Dsensorevent.h78 struct SensorEventHeader : public Event { struct