Home
last modified time | relevance | path

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

/frameworks/native/services/sensorservice/
DSensorService.cpp261 mSensorEventBuffer = new sensors_event_t[minBufferSize]; in onFirstRef()
507 ssize_t count = device.poll(mSensorEventBuffer, numEventMax); in threadLoop()
515 mSensorEventBuffer[i].flags = 0; in threadLoop()
535 if (isWakeUpSensorEvent(mSensorEventBuffer[i])) { in threadLoop()
544 recordLastValueLocked(mSensorEventBuffer, count); in threadLoop()
548 sensors_event_t const * const event = mSensorEventBuffer; in threadLoop()
573 mSensorEventBuffer[count + k] = out; in threadLoop()
580 recordLastValueLocked(&mSensorEventBuffer[count], k); in threadLoop()
583 sortEventBuffer(mSensorEventBuffer, count); in threadLoop()
591 if (mSensorEventBuffer[i].type == SENSOR_TYPE_ROTATION_VECTOR) { in threadLoop()
[all …]
DSensorService.h239 sensors_event_t *mSensorEventBuffer, *mSensorEventScratch; variable