Home
last modified time | relevance | path

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

/frameworks/native/services/sensorservice/
DSensorService.cpp350 mSensorEventBuffer = new sensors_event_t[minBufferSize]; in onFirstRef()
968 ssize_t count = device.poll(mSensorEventBuffer, numEventMax); in threadLoop()
981 mSensorEventBuffer[i].flags = 0; in threadLoop()
992 if (isWakeUpSensorEvent(mSensorEventBuffer[i])) { in threadLoop()
1003 recordLastValueLocked(mSensorEventBuffer, count); in threadLoop()
1007 sensors_event_t const * const event = mSensorEventBuffer; in threadLoop()
1032 mSensorEventBuffer[count + k] = out; in threadLoop()
1039 recordLastValueLocked(&mSensorEventBuffer[count], k); in threadLoop()
1042 sortEventBuffer(mSensorEventBuffer, count); in threadLoop()
1050 if (mSensorEventBuffer[i].type == SENSOR_TYPE_ROTATION_VECTOR) { in threadLoop()
[all …]
DSensorService.h489 sensors_event_t *mSensorEventBuffer, *mSensorEventScratch; variable