Home
last modified time | relevance | path

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

/frameworks/native/services/sensorservice/
DSensorService.cpp290 mSensorEventBuffer = new sensors_event_t[minBufferSize]; in onFirstRef()
914 ssize_t count = device.poll(mSensorEventBuffer, numEventMax); in threadLoop()
927 mSensorEventBuffer[i].flags = 0; in threadLoop()
938 if (isWakeUpSensorEvent(mSensorEventBuffer[i])) { in threadLoop()
949 recordLastValueLocked(mSensorEventBuffer, count); in threadLoop()
953 sensors_event_t const * const event = mSensorEventBuffer; in threadLoop()
978 mSensorEventBuffer[count + k] = out; in threadLoop()
985 recordLastValueLocked(&mSensorEventBuffer[count], k); in threadLoop()
988 sortEventBuffer(mSensorEventBuffer, count); in threadLoop()
996 if (mSensorEventBuffer[i].type == SENSOR_TYPE_ROTATION_VECTOR) { in threadLoop()
[all …]
DSensorService.h470 sensors_event_t *mSensorEventBuffer, *mSensorEventScratch; variable