replicant-frameworks_native/services/sensorservice
Aravind Akella e148bc29c2 Fix a possible SensorService deadlock.
If the destructor of SensorEventConnection gets called when the main
 sendEvents loop of SensorService is executing it may result in a deadlock.
 The loop promotes each connection to a strong_pointer, calls sendEvents
 and cleans up the connection if necessary. It is possible that the sp's
 destructor may delete SensorEventConnection which will call the dtor
 ~SensorEventConnection(). This dtor again needs SensorService mLock to
 execute which may result in a deadlock.

Bug: 17617897
Change-Id: I76c244dbe85fadb591c0bd1a9a5eb01d93f56505
2014-09-28 21:26:49 +00:00
..
tests improve sensorservice_test output 2012-06-27 17:07:55 -07:00
Android.mk move services executables sources in their respective src folder 2013-07-22 12:25:18 -07:00
BatteryService.cpp Cleanup Binder interface between sensorservice and BatteryStats 2013-09-25 09:28:41 -07:00
BatteryService.h Cleanup Binder interface between sensorservice and BatteryStats 2013-09-25 09:28:41 -07:00
CorrectedGyroSensor.cpp native frameworks: 64-bit compile issues 2014-03-12 13:12:44 -07:00
CorrectedGyroSensor.h 9-axis sensor fusion with Kalman filter 2012-06-27 17:07:54 -07:00
Fusion.cpp revert parts of dc5b63e40, which made gyro drift estimation unstable 2013-05-30 14:26:36 -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 native frameworks: 64-bit compile issues 2014-03-12 13:12:44 -07:00
GravitySensor.h use quaternions instead of MRPs 2012-06-27 17:07:55 -07:00
LinearAccelerationSensor.cpp Fix for AOSP fusion sensors not handling multiple clients correctly. 2013-09-16 15:49:49 -07:00
LinearAccelerationSensor.h 9-axis sensor fusion with Kalman filter 2012-06-27 17:07:54 -07:00
main_sensorservice.cpp native frameworks: 64-bit compile issues 2014-03-12 13:12:44 -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 native frameworks: 64-bit compile issues 2014-03-12 13:12:44 -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 native frameworks: 64-bit compile issues 2014-03-12 13:12:44 -07:00
RotationVectorSensor.h use quaternions instead of MRPs 2012-06-27 17:07:55 -07:00
SensorDevice.cpp SensorService fixes. 2014-08-19 11:18:25 -07:00
SensorDevice.h Sensor batching. Changes to the native code. 2013-09-03 17:04:36 -07:00
SensorFusion.cpp am cdbf28b3: Merge "native frameworks: 64-bit compile issues" 2014-03-13 23:18:43 +00:00
SensorFusion.h Bug fix for SensorFusion data rate. 2014-03-06 19:07:18 +00:00
SensorInterface.cpp Surface maxDelay and isWakeUpSensor flag in Sensor.java. 2014-05-23 18:58:01 -07:00
SensorInterface.h native frameworks: 64-bit compile issues 2014-03-12 13:12:44 -07:00
SensorService.cpp Fix a possible SensorService deadlock. 2014-09-28 21:26:49 +00:00
SensorService.h SensorService fixes. 2014-09-15 20:32:21 +00: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