• Home
  • Raw
  • Download

Lines Matching refs:mSensorEventBuffer

290             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()
999 mSensorEventBuffer[i].data[4] = -1; in threadLoop()
1014 if (mSensorEventBuffer[i].type == SENSOR_TYPE_META_DATA) { in threadLoop()
1015 const int sensor_handle = mSensorEventBuffer[i].meta_data.sensor; in threadLoop()
1025 if (mSensorEventBuffer[i].type == SENSOR_TYPE_DYNAMIC_SENSOR_META) { in threadLoop()
1026 if (mSensorEventBuffer[i].dynamic_sensor_meta.connected) { in threadLoop()
1027 int handle = mSensorEventBuffer[i].dynamic_sensor_meta.handle; in threadLoop()
1029 *(mSensorEventBuffer[i].dynamic_sensor_meta.sensor); in threadLoop()
1034 const auto& uuid = mSensorEventBuffer[i].dynamic_sensor_meta.uuid; in threadLoop()
1051 int handle = mSensorEventBuffer[i].dynamic_sensor_meta.handle; in threadLoop()
1070 connection->sendEvents(mSensorEventBuffer, count, mSensorEventScratch, in threadLoop()
1076 cleanupAutoDisabledSensorLocked(connection, mSensorEventBuffer, count); in threadLoop()