d88dfe8607af019186a309674d9081a056ed3daa |
|
11-Apr-2017 |
Mark Salyzyn <salyzyn@google.com> |
libhardware: deprecate cutils/log.h Replace cutils/log.h with log/log.h. Sort headers. Minimize conflicts. Add missing required headers. Test: compile Bug: 34250038 Change-Id: I5c0f231cbfed90b73e0538c9d32ad3226c7cc5e4
/hardware/libhardware/modules/sensors/SensorEventQueue.cpp
|
22bf9724a177548cc439231bfde4a2fda636f4e2 |
|
15-Nov-2013 |
Aaron Whyte <awhyte@google.com> |
Removed unneeded linux/input.h includes, to fix Mac SDK build Change-Id: I3bcfadb9c95a9239d8098989c60d5604bfdfb66f
/hardware/libhardware/modules/sensors/SensorEventQueue.cpp
|
c69f3a70ecbc4303cdfdea961f7a2a4a8f58fa05 |
|
29-Oct-2013 |
Aaron Whyte <awhyte@google.com> |
Tests SensorEventQueue I/O when the queue is full. Reduced debug logging in multihal. Change-Id: I30e80630ce5d97776c53f26d6096ef59b9b2f35a
/hardware/libhardware/modules/sensors/SensorEventQueue.cpp
|
92863c14b7d36f74ec715b45ca6adc8bf95dc87c |
|
29-Oct-2013 |
Aaron Whyte <awhyte@google.com> |
MultiHal multithreaded polling Change-Id: I3ebe380169eed1c8deeca2860d1788be6c14837e
/hardware/libhardware/modules/sensors/SensorEventQueue.cpp
|
ab6ec384c456022f37a9c6183d3afbcefcb436a9 |
|
23-Oct-2013 |
Aaron Whyte <awhyte@google.com> |
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. Change-Id: I58418d69eebebeb96befb08ba3aed080f0f08551
/hardware/libhardware/modules/sensors/SensorEventQueue.cpp
|