Lines Matching refs:mSensorEventBuffer
250 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()
580 mSensorEventBuffer[i].data[4] = -1; in threadLoop()
591 if (mSensorEventBuffer[i].type == SENSOR_TYPE_META_DATA) { in threadLoop()
592 const int sensor_handle = mSensorEventBuffer[i].meta_data.sensor; in threadLoop()
602 if (mSensorEventBuffer[i].type == SENSOR_TYPE_DYNAMIC_SENSOR_META) { in threadLoop()
603 if (mSensorEventBuffer[i].dynamic_sensor_meta.connected) { in threadLoop()
604 int handle = mSensorEventBuffer[i].dynamic_sensor_meta.handle; in threadLoop()
606 *(mSensorEventBuffer[i].dynamic_sensor_meta.sensor); in threadLoop()
611 const auto& uuid = mSensorEventBuffer[i].dynamic_sensor_meta.uuid; in threadLoop()
628 int handle = mSensorEventBuffer[i].dynamic_sensor_meta.handle; in threadLoop()
653 activeConnections[i]->sendEvents(mSensorEventBuffer, count, mSensorEventScratch, in threadLoop()
659 cleanupAutoDisabledSensorLocked(activeConnections[i], mSensorEventBuffer, in threadLoop()