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()
528 ssize_t count = device.poll(mSensorEventBuffer, numEventMax); in threadLoop()
536 mSensorEventBuffer[i].flags = 0; in threadLoop()
556 if (isWakeUpSensorEvent(mSensorEventBuffer[i])) { in threadLoop()
565 recordLastValueLocked(mSensorEventBuffer, count); in threadLoop()
569 sensors_event_t const * const event = mSensorEventBuffer; in threadLoop()
594 mSensorEventBuffer[count + k] = out; in threadLoop()
601 recordLastValueLocked(&mSensorEventBuffer[count], k); in threadLoop()
604 sortEventBuffer(mSensorEventBuffer, count); in threadLoop()
612 if (mSensorEventBuffer[i].type == SENSOR_TYPE_ROTATION_VECTOR) { in threadLoop()
[all …]
DSensorService.h246 sensors_event_t *mSensorEventBuffer, *mSensorEventScratch; variable