platform_hardware_libhardware/modules/sensors/dynamic_sensor
Peng Xu 172c4014f3 Correct inotify usage and fix strong count accounting error
Fix an error in polling of inotify fd to avoid 100% CPU usage.
Refactored code to use android Looper.

Fix a string count accounting error that causes unpaired decStrong
crashing sensor hidl service.

Bug: 37719320
Bug: 37714835
Test: no longer have 100% CPU usage.
Test: tested connection of a few mouse/keyboard/usb disk/gnubby
      no crash observed.
Test: cts still working properly after fix.
Change-Id: Ibaa026151e5e4919d8dd134c16f5865d5e30ef8a
2017-04-27 00:22:56 -07:00
..
HidUtils Hid Utilities for HID based dynamic sensor 2017-04-18 15:56:57 -07:00
test HID dynamic sensor: add support to three types of sensor 2017-04-20 23:23:53 +00:00
Android.mk Build dynamic sensor host test only for linux host 2017-04-21 15:26:09 -07:00
BaseDynamicSensorDaemon.cpp HID dynamic sensor: add support to three types of sensor 2017-04-20 23:23:53 +00:00
BaseDynamicSensorDaemon.h HID dynamic sensor: add support to three types of sensor 2017-04-20 23:23:53 +00:00
BaseSensorObject.cpp HID dynamic sensor: add support to three types of sensor 2017-04-20 23:23:53 +00:00
BaseSensorObject.h HID dynamic sensor: add support to three types of sensor 2017-04-20 23:23:53 +00:00
ConnectionDetector.cpp Correct inotify usage and fix strong count accounting error 2017-04-27 00:22:56 -07:00
ConnectionDetector.h Correct inotify usage and fix strong count accounting error 2017-04-27 00:22:56 -07:00
DummyDynamicAccelDaemon.cpp HID dynamic sensor: add support to three types of sensor 2017-04-20 23:23:53 +00:00
DummyDynamicAccelDaemon.h HID dynamic sensor: add support to three types of sensor 2017-04-20 23:23:53 +00:00
DynamicSensorManager.cpp HID dynamic sensor: add support to three types of sensor 2017-04-20 23:23:53 +00:00
DynamicSensorManager.h HID dynamic sensor: add support to three types of sensor 2017-04-20 23:23:53 +00:00
HidDevice.h HID dynamic sensor: add support to three types of sensor 2017-04-20 23:23:53 +00:00
HidRawDevice.cpp HID dynamic sensor: add support to three types of sensor 2017-04-20 23:23:53 +00:00
HidRawDevice.h HID dynamic sensor: add support to three types of sensor 2017-04-20 23:23:53 +00:00
HidRawSensor.cpp HID dynamic sensor: add support to three types of sensor 2017-04-20 23:23:53 +00:00
HidRawSensor.h HID dynamic sensor: add support to three types of sensor 2017-04-20 23:23:53 +00:00
HidRawSensorDaemon.cpp HID dynamic sensor: add support to three types of sensor 2017-04-20 23:23:53 +00:00
HidRawSensorDaemon.h HID dynamic sensor: add support to three types of sensor 2017-04-20 23:23:53 +00:00
HidRawSensorDevice.cpp Correct inotify usage and fix strong count accounting error 2017-04-27 00:22:56 -07:00
HidRawSensorDevice.h HID dynamic sensor: add support to three types of sensor 2017-04-20 23:23:53 +00:00
HidSensorDef.h HID dynamic sensor: add support to three types of sensor 2017-04-20 23:23:53 +00:00
RingBuffer.cpp Dynamic sensor manager module - framework 2017-03-07 20:50:56 -08:00
RingBuffer.h Dynamic sensor manager module - framework 2017-03-07 20:50:56 -08:00
SensorEventCallback.h HID dynamic sensor: add support to three types of sensor 2017-04-20 23:23:53 +00:00
sensors.cpp Dynamic sensor manager module - framework 2017-03-07 20:50:56 -08:00
sensors.h Dynamic sensor manager -- implementation of basic sensor daemon 2017-04-07 20:54:18 +00:00
Utils.h HID dynamic sensor: add support to three types of sensor 2017-04-20 23:23:53 +00:00