Home
last modified time | relevance | path

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

/device/google/contexthub/util/nanotool/
Dsensorevent.cpp204 const SingleAxisDataPoint *sample = in StringForSample()
205 reinterpret_cast<const SingleAxisDataPoint *>(GetSampleAtIndex(index)); in StringForSample()
215 return sizeof(struct SingleAxisDataPoint); in GetSampleDataSize()
221 const SingleAxisDataPoint *sample = in StringForSample()
222 reinterpret_cast<const SingleAxisDataPoint *>(GetSampleAtIndex(index)); in StringForSample()
Dsensorevent.h36 struct SingleAxisDataPoint { struct
/device/google/contexthub/firmware/inc/
DhostIntf.h61 … struct SingleAxisDataPoint single[HOSTINTF_SENSOR_DATA_MAX / sizeof(struct SingleAxisDataPoint)];
Dsensors.h58 struct SingleAxisDataPoint { struct
72 struct SingleAxisDataPoint samples[]; argument
/device/google/contexthub/firmware/src/
DhostIntf.c638 … packetSamples = HOSTINTF_SENSOR_DATA_MAX / sizeof(struct SingleAxisDataPoint); in initSensors()
720 …ActiveSensorTable[j].packetSamples = HOSTINTF_SENSOR_DATA_MAX / sizeof(struct SingleAxisDataPoint); in initSensors()
851 … sensor->buffer.length = sizeof(struct SingleAxisDataEvent) + sizeof(struct SingleAxisDataPoint); in copySingleSamples()
876 sensor->buffer.length += sizeof(struct SingleAxisDataPoint); in copySingleSamples()
887 sensor->buffer.length += sizeof(struct SingleAxisDataPoint); in copySingleSamples()
1221 … sensor->buffer.length = sizeof(struct SingleAxisDataEvent) + sizeof(struct SingleAxisDataPoint); in hostIntfHandleEvent()
1231 sensor->buffer.length += sizeof(struct SingleAxisDataPoint); in hostIntfHandleEvent()