No description
Find a file
Mike Lockwood f847762477 DO NOT MERGE: Sensor multi HAL
Squashed commit of:

Move sensors multi HAL to libhardware

Added a SensorEventQueue, a circular buffer meant for reading with one thread
and polling a subhal with another. The writing thread gets access to pointers
in the internal buffer. This design avoids a memcpy on write when the multihal
fetches subhal events using poll().

Unit-tests include multithreaded reading and writing lots of events, in
random-sized chunks.

This is not used by the multihal yet. That will be a different CL.

MultiHal multithreaded polling

Tests SensorEventQueue I/O when the queue is full.
Reduced debug logging in multihal.

deactivated multihal logspam, made warnings warnings, left critical startup info

Removed unneeded linux/input.h includes, to fix Mac SDK build

Change-Id: I1e35508949df98a1acef7a4a2d012eea87b4a5eb
2013-12-09 15:26:55 -08:00
include/hardware Update HWC documentation for virtual displays 2013-11-13 14:48:15 -08:00
modules DO NOT MERGE: Sensor multi HAL 2013-12-09 15:26:55 -08:00
tests am b44ff650: Camera2 Test: Skip CameraModuleTest for HAL V1 devices 2013-10-29 18:37:02 -07:00
Android.mk Add liblog 2013-04-09 21:57:28 -07:00
CleanSpec.mk Add an empty CleanSpec.mk 2010-03-08 18:04:52 -08:00
hardware.c hardware: look in /vendor for default.so 2013-09-30 14:23:01 -07:00
MODULE_LICENSE_APACHE2 auto import from //depot/cupcake/@135843 2009-03-03 19:32:14 -08:00
NOTICE auto import from //depot/cupcake/@135843 2009-03-03 19:32:14 -08:00