Home
last modified time | relevance | path

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

/frameworks/native/services/sensorservice/
DSensorService.cpp250 mSensorEventBuffer = new sensors_event_t[minBufferSize]; in onFirstRef()
493 ssize_t count = device.poll(mSensorEventBuffer, numEventMax); in threadLoop()
501 mSensorEventBuffer[i].flags = 0; in threadLoop()
521 if (isWakeUpSensorEvent(mSensorEventBuffer[i])) { in threadLoop()
530 recordLastValueLocked(mSensorEventBuffer, count); in threadLoop()
534 sensors_event_t const * const event = mSensorEventBuffer; in threadLoop()
559 mSensorEventBuffer[count + k] = out; in threadLoop()
566 recordLastValueLocked(&mSensorEventBuffer[count], k); in threadLoop()
569 sortEventBuffer(mSensorEventBuffer, count); in threadLoop()
577 if (mSensorEventBuffer[i].type == SENSOR_TYPE_ROTATION_VECTOR) { in threadLoop()
[all …]
DSensorService.h237 sensors_event_t *mSensorEventBuffer, *mSensorEventScratch; variable