• Home
  • Raw
  • Download

Lines Matching refs:mSensorEventBuffer

261             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()
594 mSensorEventBuffer[i].data[4] = -1; in threadLoop()
605 if (mSensorEventBuffer[i].type == SENSOR_TYPE_META_DATA) { in threadLoop()
606 const int sensor_handle = mSensorEventBuffer[i].meta_data.sensor; in threadLoop()
616 if (mSensorEventBuffer[i].type == SENSOR_TYPE_DYNAMIC_SENSOR_META) { in threadLoop()
617 if (mSensorEventBuffer[i].dynamic_sensor_meta.connected) { in threadLoop()
618 int handle = mSensorEventBuffer[i].dynamic_sensor_meta.handle; in threadLoop()
620 *(mSensorEventBuffer[i].dynamic_sensor_meta.sensor); in threadLoop()
625 const auto& uuid = mSensorEventBuffer[i].dynamic_sensor_meta.uuid; in threadLoop()
642 int handle = mSensorEventBuffer[i].dynamic_sensor_meta.handle; in threadLoop()
667 activeConnections[i]->sendEvents(mSensorEventBuffer, count, mSensorEventScratch, in threadLoop()
673 cleanupAutoDisabledSensorLocked(activeConnections[i], mSensorEventBuffer, in threadLoop()