replicant-frameworks_native/services/sensorservice
Mathias Agopian ac9a96da65 fix a dead-lock in sensorservice
sensorservice would deadlock if for some reason
a sensor failed to enable.

simplifed the code a bit, and made it behave a little
closer to mr1.1 -- I couldn't convince myself that
some changes in how locks were used were correct.

Bug: 9794362
Change-Id: I6110f5dbb67e543f1c71d127de2299232badb36a
2013-07-12 02:08:06 -07:00
..
tests improve sensorservice_test output 2012-06-27 17:07:55 -07:00
Android.mk Sensor changes. 2013-04-12 09:34:44 -07:00
BatteryService.cpp improve sensor battery usage tracking 2012-09-18 23:33:36 -07:00
BatteryService.h improve sensor battery usage tracking 2012-09-18 23:33:36 -07:00
CorrectedGyroSensor.cpp use quaternions instead of MRPs 2012-06-27 17:07:55 -07:00
CorrectedGyroSensor.h 9-axis sensor fusion with Kalman filter 2012-06-27 17:07:54 -07:00
Fusion.cpp improve sensor fusion 2012-06-28 18:21:43 -07:00
Fusion.h Fix occasional fusion divergence by detecting it and resetting the fusion. 2012-06-27 17:07:55 -07:00
GravitySensor.cpp use quaternions instead of MRPs 2012-06-27 17:07:55 -07:00
GravitySensor.h use quaternions instead of MRPs 2012-06-27 17:07:55 -07:00
LinearAccelerationSensor.cpp 9-axis sensor fusion with Kalman filter 2012-06-27 17:07:54 -07:00
LinearAccelerationSensor.h 9-axis sensor fusion with Kalman filter 2012-06-27 17:07:54 -07:00
mat.h Fix occasional fusion divergence by detecting it and resetting the fusion. 2012-06-27 17:07:55 -07:00
OrientationSensor.cpp use quaternions instead of MRPs 2012-06-27 17:07:55 -07:00
OrientationSensor.h 9-axis sensor fusion with Kalman filter 2012-06-27 17:07:54 -07:00
quat.h use quaternions instead of MRPs 2012-06-27 17:07:55 -07:00
RotationVectorSensor.cpp use quaternions instead of MRPs 2012-06-27 17:07:55 -07:00
RotationVectorSensor.h use quaternions instead of MRPs 2012-06-27 17:07:55 -07:00
SensorDevice.cpp fix a dead-lock in sensorservice 2013-07-12 02:08:06 -07:00
SensorDevice.h fix a dead-lock in sensorservice 2013-07-12 02:08:06 -07:00
SensorFusion.cpp Rename (IF_)LOGD(_IF) to (IF_)ALOGD(_IF) DO NOT MERGE 2012-06-27 17:07:56 -07:00
SensorFusion.h use quaternions instead of MRPs 2012-06-27 17:07:55 -07:00
SensorInterface.cpp fix a dead-lock in sensorservice 2013-07-12 02:08:06 -07:00
SensorInterface.h fix a dead-lock in sensorservice 2013-07-12 02:08:06 -07:00
SensorService.cpp fix a dead-lock in sensorservice 2013-07-12 02:08:06 -07:00
SensorService.h fix a dead-lock in sensorservice 2013-07-12 02:08:06 -07:00
traits.h 9-axis sensor fusion with Kalman filter 2012-06-27 17:07:54 -07:00
vec.h More error checks to avoid div by zero. 2012-06-27 17:07:55 -07:00