summaryrefslogtreecommitdiff
path: root/services/java/com/android/server/SensorService.java
AgeCommit message (Collapse)Author
2010-07-19new SensorServiceMathias Agopian
remove old sensor service and implement SensorManager on top of the new (native) SensorManger API. Change-Id: Iddb77d498755da3e11646473a44d651f12f40281
2010-03-01fix [2476230] sensor battery stats could get out of sync if an error occursMathias Agopian
Fixed a few problems with the SensorService: - a race condition when talking to the BatteryStatService - only report changes to BatteryStatService when there are no errors (ie: when a change actually happens) - tell the BatteryStatService when a sensor is deactivated because its client died - rewrite enableSensor() so it's readable - implement dump() so dumpsys will display some infos about active sensors - recompute the delay properly when sensors are added/removed
2010-03-01Switch the services library to using the new SlogJoe Onorato
2009-08-30SensorService: call close_data_source when we have no more sensor clients.Mike Lockwood
Change-Id: I94accda4571c3f2cf6f8a5b6801e37c30c027fe1 Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-05-23Sensors: Use a native_handle for the data channel instead of a single file ↵Mike Lockwood
descriptor. This eliminates the requirement that all sensors share a single file descriptor. This, along with concurrent changes in other projects, fixes bugs b/1614524 and b/1614481 Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-03-05auto import from //depot/cupcake/@136594The Android Open Source Project
2009-03-03auto import from //depot/cupcake/@135843The Android Open Source Project
2009-03-03auto import from //depot/cupcake/@135843The Android Open Source Project
2009-02-19auto import from //branches/cupcake/...@132276The Android Open Source Project
2009-02-10auto import from //branches/cupcake/...@130745The Android Open Source Project
2008-12-17Code drop from //branches/cupcake/...@124589The Android Open Source Project
2008-10-21Initial ContributionThe Android Open Source Project