Home
last modified time | relevance | path

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

/base/sensors/sensor/utils/common/src/
Dreport_data_callback.cpp30 eventsBuf_.readPos = 0; in ReportDataCallback()
42 eventsBuf_.readPos = 0; in ~ReportDataCallback()
68 cb->eventsBuf_.readPos = cb->eventsBuf_.writePosition; in ReportEventCallback()
/base/sensors/sensor/services/sensor/src/
Dsensor_data_processer.cpp245 int32_t sensorId = eventsBuf.circularBuf[eventsBuf.readPos].sensorTypeId; in EventFilter()
249 SendEvents(channel, eventsBuf.circularBuf[eventsBuf.readPos]); in EventFilter()
268 eventsBuf.readPos++; in ProcessEvents()
269 if (eventsBuf.readPos == CIRCULAR_BUF_LEN) { in ProcessEvents()
270 eventsBuf.readPos = 0; in ProcessEvents()
/base/sensors/sensor/utils/common/include/
Dreport_data_callback.h29 int32_t readPos; member