b75315a3e185b4559d73c69eea3b30679239fac1 |
|
21-Jun-2017 |
Andrew Rossignol <aarossig@google.com> |
Inlines small functions in core/ to reduce code size Before: 102926 After: 102510 Bug: 62838047 Test: load_chre.sh, basic sanity check Change-Id: I7eb76057ec7be4e552d841c74d9c9354fe1e5fc5
/system/chre/core/event_ref_queue.cc
|
5d9b2d68940f7dac47bf2fbad6f6069ed3b2faaa |
|
27-Mar-2017 |
Brian Duddie <bduddie@google.com> |
Clean up EventLoop, fix shutdown sequence Modify for-each Nanoapp loops to explicitly declare the type to make the code more readable. Update the shutdown sequence to only destroy the Nanoapp instance after flushing pending events and invoking the end callback, and stop accepting new events once the EventLoop stop request is received. Also, prevent loading of a nanoapp with the same app ID as another already loaded one. Test: run simulator Change-Id: Ib8842773f3567486a3f848f65a5c4602698c7090
/system/chre/core/event_ref_queue.cc
|
161e2e84682b0b70467f96d572565149c292592e |
|
22-Mar-2017 |
Brian Duddie <bduddie@google.com> |
Move the implementation of Event and EventRefQueue out of header Move the implementations of these classes into their own .cc files. They were initially header file-only implementations to quickly get started, and this goes against our convention of separating interface definition from implementation. Test: compile Change-Id: I91c8f0e80b983c4a42c810e982ed7df9c60b564c
/system/chre/core/event_ref_queue.cc
|