a9962ce69ef78a4720183c70deb5db8cfbc70cf0 |
|
16-Apr-2015 |
Mark Salyzyn <salyzyn@google.com> |
bluedroid: compile error hammerhead-userdebug_clang - This was a clang complaint, not a gcc complaint - memset event to be portable to all compile environments - error as follows: external/bluetooth/bluedroid/osi/./src/reactor.c:90:34: error: missing field data initializer [-Werror,-Wmissing-field-initializers] struct epoll_event event = { 0 }; ^ external/bluetooth/bluedroid/osi/./src/reactor.c:151:34: error: missing field data initializer [-Werror,-Wmissing-field-initializers] struct epoll_event event = { 0 }; ^ external/bluetooth/bluedroid/osi/./src/reactor.c:174:34: error: missing field data initializer [-Werror,-Wmissing-field-initializers] struct epoll_event event = { 0 }; ^ 3 errors generated. make: *** [out/target/product/hammerhead/obj/STATIC_LIBRARIES/libosi_intermediates/./src/reactor.o] Error 1 Change-Id: I14b884cf1665c68aff1e5afd3df65ac10af474d2
/system/bt/osi/src/reactor.c
|
3e59b5b6f2ce1295e3e2711afcd2cdf0dd7e22b6 |
|
01-Apr-2015 |
Etan Cohen <etancohen@google.com> |
Fix build issues in bluedroid on master Change-Id: I0d3e93ea61dd03505fe9db902ed90bdd4141cab2
/system/bt/osi/src/reactor.c
|
0f9b91e150e153229235c163861198e23600e636 |
|
12-Mar-2015 |
Sharvil Nanavati <sharvil@google.com> |
Use fully qualified path for OSI includes.
/system/bt/osi/src/reactor.c
|
44802768c447ab480d4227b3a852a97d923b816d |
|
24-Dec-2014 |
Sharvil Nanavati <sharvil@google.com> |
Add platform-independent logging macros to OSI. These macros should replace ALOG* and the various trace macros used throughout bluedroid. This change eliminates all uses of the ALOG* macros in favor of the new ones.
/system/bt/osi/src/reactor.c
|
cee5cb10c6513a0180f7e1abdca41e7a4cc565ec |
|
30-Aug-2014 |
Sharvil Nanavati <sharvil@google.com> |
Don't pass in uninitialized memory to epoll_ctl. Make valgrind happy.
/system/bt/osi/src/reactor.c
|
384f8a948e9837475c4f504a626205334522df2a |
|
26-Aug-2014 |
Zach Johnson <zachoverflow@google.com> |
Move some of osi to use the allocation interfaces Also changes some tests to ensure all memory freed.
/system/bt/osi/src/reactor.c
|
fbf89085bf308a98b00da77d1538539f6dd58604 |
|
13-Aug-2014 |
Sharvil Nanavati <sharvil@google.com> |
Switch to an epoll-based reactor implementation. epoll is a much nicer interface that very closely matches the reactor interface. It's also thread-safe which makes it a more suitable choice for bluedroid. As a result of this change, reactor_register and reactor_unregister are both thread-safe without introducing any synchronization in user-space.
/system/bt/osi/src/reactor.c
|
ec4059a70320b2020e0c0a41baa27082004d479d |
|
05-Aug-2014 |
Zach Johnson <zachoverflow@google.com> |
Fix reactor to use prepend, fix reactor tests
/system/bt/osi/src/reactor.c
|
2cb29985655784b0775519e581bc3f29e95c45ea |
|
02-Aug-2014 |
Sharvil Nanavati <sharvil@google.com> |
Define INVALID_FD to improve readability and reduce likelihood of errors
/system/bt/osi/src/reactor.c
|
13959e09db608be74b80de6ec2bc6730a8cce5df |
|
26-Jul-2014 |
Sharvil Nanavati <sharvil@google.com> |
Wake up reactor whenever a new object is registered/unregistered. Before this change, if the reactor was blocked waiting for an event and a new object was registered, it would not wait for events on the new object until it woke up on its own. This change forces the reactor to re-evaluate the file descriptor set whenever the object list is modified.
/system/bt/osi/src/reactor.c
|
19084c6242d8ddb366a52eba5084c974280cce0f |
|
24-Jun-2014 |
Sharvil Nanavati <sharvil@google.com> |
Implement the reactor pattern in C. This code will form the basis of most select-based event loops in bluedroid. It provides a thread-safe abort routine and a separation between the dispatcher and event handler code. Change-Id: I6f1c033d18f045ba273187dab607c209dfe32d30
/system/bt/osi/src/reactor.c
|