History log of /external/libbrillo/brillo/message_loops/base_message_loop.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
922d235dca34496fd30e1b15b2bf24b4a6949288 09-Feb-2016 Alex Deymo <deymo@google.com> Drop the required base::MessageLoopForIO when creating a BaseMessageLoop.

This patch adds a new default constructor to brillo::BaseMessageLoop
dropping the requirement to create and pass a base::MessageLoopForIO.
Instead, the default constructor will create and keep its own copy.

Bug: 26987669
TEST=`m` on edison-eng

Change-Id: Ibd8a1d98cbbc1cc1d39f5e90412902edd6840a45
/external/libbrillo/brillo/message_loops/base_message_loop.h
d671746a66d87edf9598cfbe077b3430e50a09d3 14-Jan-2016 Alex Deymo <deymo@google.com> Don't delete and add the binder fd in BaseMessageLoop.

The binder driver polling mechanism doesn't work well with epoll. In
particular, you can't add the binder file descriptor to epoll (with
EPOLL_CTL_ADD) when there's work to do in the binder driver, then
wait for it when there isn't any more work to do.

To avoid this situation, we only add the binder file descriptor at the
beginning and never try to remove and add it back when running
callbacks for it.

Bug: 26524111
TEST=unittests for parsing.
TEST=Tested with an example service, strace shows the binder fd is not added/removed each time.

Change-Id: I11d6af5593fa78631f80e9ba09d933f4b8ef70df
/external/libbrillo/brillo/message_loops/base_message_loop.h
fed60b0c640828b320f56293c8bebc43fd2b1da8 27-Oct-2015 Alex Vakulenko <avakulenko@google.com> Rename "libchromeos" into "libbrillo"

Renamed libchromeos[-.*] libraries into libbrillo-...

BUG: 24872993
Change-Id: Ibab1623b6a08a55cae3662e941d0d6644ff14df4
/external/libbrillo/brillo/message_loops/base_message_loop.h
9ed0cab99f18acb3570a35e9408f24355f6b8324 13-Oct-2015 Alex Vakulenko <avakulenko@google.com> Move chromeos symbols into brillo namespace

And move the include files into "brillo" directory instead of "chromeos"

BUG: 24872993
TEST=built aosp and brillo and unit tests pass on dragonoboard

Change-Id: Ieb979d1ebd3152921d36cd15acbd6247f02aae69
/external/libbrillo/brillo/message_loops/base_message_loop.h