platform_hardware_libhardware/modules/sensors
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
..
dynamic_sensor Correct inotify usage and fix strong count accounting error 2017-04-27 00:22:56 -07:00
tests SensorEventQueue_test: Fix compiler warnings 2016-06-30 15:57:04 -07:00
Android.bp multihal: move to vendor 2017-04-14 11:07:49 -07:00
Android.mk Move default HAL libraries to vendor 2017-03-07 11:28:32 +08:00
multihal.cpp Drop support for old Sensor HALs. 2017-01-09 17:09:35 -08:00
multihal.h Sensors: MultiHal: add support for HIDL 2016-12-15 14:09:34 -08:00
SensorEventQueue.cpp DO NOT MERGE: Sensor multi HAL 2013-12-09 15:26:55 -08:00
SensorEventQueue.h Fix google-explicit-constructor warnings in libhardware 2016-06-30 14:21:20 -07:00