replicant-frameworks_native/services
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
..
batteryservice BatteryProperty: Add property ENERGY_COUNTER and 64-bit integer properties 2014-05-16 03:05:11 +00:00
inputflinger Fix type for temp variable 2014-08-29 16:16:26 -07:00
powermanager Make IPowerManager native conform to .aidl for oneway 2014-09-05 17:12:24 -07:00
sensorservice Fix a possible SensorService deadlock. 2014-09-28 21:26:49 +00:00
surfaceflinger surfaceflinger: Check sideband stream changed to trigger sideband Layer update. 2014-09-23 17:26:00 -07:00