replicant-frameworks_native/services/sensorservice
Peng Xu 20483c4937 Avoiding flush on-change sensors at subscription
Initial sensor flush at subscription is a mechanism to avoid sensors
to get stale samples before subscription happens. However, there is a
slight chance that a most recent sample will be lost during the flush
process. This is OK for continuous sensors but problematic in
on-change sensor as on-change event does not come continuously and
a lost event can cause inconsistent state in client. Flush at
subscription of on-change sensor is disabled in this CL to avoid new
important on-change event to be discarded during the initial flush
process.

Bugs: b/24647069
      b/25241873
      b/24804819
     
Change-Id: Ibda099c6b9f5fb6e200f13cf13a850b0026e9e7c
2015-10-27 21:46:40 +00:00
..
tests SensorServiceTest: Fix build, warnings. 2015-05-02 21:03:44 -07:00
Android.mk
BatteryService.cpp
BatteryService.h
CorrectedGyroSensor.cpp
CorrectedGyroSensor.h
Fusion.cpp
Fusion.h
GravitySensor.cpp
GravitySensor.h
LinearAccelerationSensor.cpp
LinearAccelerationSensor.h
main_sensorservice.cpp
mat.h
OrientationSensor.cpp
OrientationSensor.h
quat.h
RotationVectorSensor.cpp
RotationVectorSensor.h
SensorDevice.cpp More information in sensor bugreports. 2015-06-18 14:24:05 -07:00
SensorDevice.h Add body sensors app op - framework native 2015-05-01 13:51:45 -07:00
SensorFusion.cpp am cdbf28b3: Merge "native frameworks: 64-bit compile issues" 2014-03-13 23:18:43 +00:00
SensorFusion.h
SensorInterface.cpp Surface maxDelay and isWakeUpSensor flag in Sensor.java. 2014-05-23 18:58:01 -07:00
SensorInterface.h
SensorService.cpp Avoiding flush on-change sensors at subscription 2015-10-27 21:46:40 +00:00
SensorService.h Enable sensor data injection mode through adb. 2015-06-30 14:59:58 -07:00
traits.h
vec.h