816ef8939db90c01f550ef4392ec66ec255c65fa |
|
18-Oct-2017 |
Andrew Rossignol <aarossig@google.com> |
Makes audio an optional feature of CHRE Bug: 67001170 Test: ./run_sim.sh, ./run_tests.sh, ./load_chre.sh Change-Id: I85fb937fc6a5ee188c5d67a7b5f226cbf28cb0cf
/system/chre/platform/linux/init.cc
|
d443a3b57becd166852c4c08bb279866a4ab913d |
|
30-Sep-2017 |
Andrew Rossignol <aarossig@google.com> |
Add command-line flags for audio files to the simulator Bug: 67001170 Test: ./run_sim.sh, with different permutations of flags Change-Id: Iee98ef3f1df8b30a01ed01710f52734239ee431f
/system/chre/platform/linux/init.cc
|
fc4d354a2ad34172f508a9017b49747b9193eaf8 |
|
30-Aug-2017 |
Andrew Rossignol <aarossig@google.com> |
Adds support for DSO nanoapps in the simulator Bug: 65119819 Test: ./run_sim.sh --no_static_nanoapps \ --nanoapp wifi_offload.so ./load_chre.sh Change-Id: I4f18680f14ed2a277da9033c64ac286d2813318c
/system/chre/platform/linux/init.cc
|
b70b2e230d5976533ea70dbb3077a5d28f4d8deb |
|
29-Aug-2017 |
Andrew Rossignol <aarossig@google.com> |
Adds support to the simulator for handling command-line arguments - Uses TCLAP for parsing Bug: 65119819 Test: ./run_sim.sh --version Change-Id: I4e1f769571a60ecbe1b39cfc69a2270216a9bd71
/system/chre/platform/linux/init.cc
|
9526b7b52ed3e6cb198c649f582877acb27f1c56 |
|
30-May-2017 |
Andrew Rossignol <aarossig@google.com> |
Replaces getCurrentEventLoop with inEventLoopThread - Allows removing some global state for the event loop object. - Further continues the removal of support for multiple event loops. Test: run_sim.sh run_tests.sh load_chre.sh Change-Id: Ic527c0b660c96b7c448c25c230a7dfd1fec21383
/system/chre/platform/linux/init.cc
|
f53ddfb0683e210f9cf803d968c2d8c5d3b00a55 |
|
17-May-2017 |
Andrew Rossignol <aarossig@google.com> |
Reorganizes static nanoapp loading - Avoids the use of functions marked with the constructor attribute to allow the garbage collector to strip them out if unreferenced. - Moves the concept of static nanoapp loading to core/ since the logic is the same across all platforms. - The platform-specific portion of static nanoapp loading is still handled by the CHRE_STATIC_NANOAPP_INIT macro. Test: run_sim.sh load_chre.sh Change-Id: If79b40203fb1125208cb1c7c4a3239b4065f449e
/system/chre/platform/linux/init.cc
|
2003cdc07c3ad198d58ba26524d215c9a1b3bdd9 |
|
11-Apr-2017 |
Andrew Rossignol <aarossig@google.com> |
Adds PlatformLog, adds it to the init/deinit and implements for Linux - Allows platforms to inject storage and an implementation for logging - For Linux, makes logging thread-safe - SLPI is added as an empty shell for now Test: Run the sim, load_chre.sh Change-Id: I7cfb9ede5ce4c47cf3c43ce9e0078c96827cb521
/system/chre/platform/linux/init.cc
|
cc39d7566ed61c7127020228e1439a49e07074f9 |
|
07-Apr-2017 |
Brian Duddie <bduddie@google.com> |
Run CHRE in separate thread on Linux As the signal handler runs in the context of the main thread, run CHRE in a separate thread to avoid a potential deadlock when stopping. Test: run simulator Change-Id: Iaa2dd6a3629c89c406d3c3e1146699751bcccfc0
/system/chre/platform/linux/init.cc
|
e969b9be8eca27ffc875167879ab0ec093b3e313 |
|
16-Mar-2017 |
Andrew Rossignol <aarossig@google.com> |
Implements static nanoapp loading - Removes the list of nanoapps from the platform init code - Introduces a new weakly linked nanoapp list on a per-platform basis - Adds a LoadStaticNanoapps method Test: Compile + run simulator and device. Change-Id: Ib4927655977a088650b3954437de3f594ee6529d
/system/chre/platform/linux/init.cc
|
2de17c9c5c541d72248f8371dfb4d7e402dc93e8 |
|
16-Mar-2017 |
Andrew Rossignol <aarossig@google.com> |
Updates EventLoop to construct and own Nanoapps - It is provided with a pointer to a platform nanoapp instead. - Nanoapps are now allocated dynamically. - Shortens the init path for Linux/SLPI - Prepares for more robust static nanoapp support Test: Compile and run simulator, compile for device Change-Id: I92503478f59745ac565403bffe8903c73f28b32e
/system/chre/platform/linux/init.cc
|
aa499877f69da5b99776f5b58ee5ecee824ddbc8 |
|
11-Mar-2017 |
Meng-hsuan Chung <menghsuan@google.com> |
Adds an IMU Cal nanoapp Change-Id: I47f32a6ebd5214d74b883e5d9b8f254c7862e69b
/system/chre/platform/linux/init.cc
|
1587af4ff0a6574d626c6e2d392173d151a23720 |
|
10-Mar-2017 |
Andrew Rossignol <aarossig@google.com> |
Extends the WifiWorld sample nanoapp - Adds support for requesting scan monitoring if supported. - Logs the async result of enabling scan monitoring. - Logging Wifi scans is left as a TODO as event dispatching is not yet enabled. Test: Compile and run the simulator, on-device testing is next Change-Id: I000a9fb2856dbf557d2c862bee5320a331dab552
/system/chre/platform/linux/init.cc
|
579217423fe687db29d115af976cad8e9178e034 |
|
08-Mar-2017 |
Mehdi Alizadeh <mett@google.com> |
Stop nanoapps after exiting the event loop Test: Run the simulator Change-Id: I78deeb31dc8c180dc4cb2921788b01845b7ac131
/system/chre/platform/linux/init.cc
|
ece2a2d31bf96888182e2b37165bafb499bbdd58 |
|
03-Mar-2017 |
Andrew Rossignol <aarossig@google.com> |
Simplifies the linux init path Change-Id: I9cc6db530d73f6bd8ff2002cf2550454efef85f6
/system/chre/platform/linux/init.cc
|
388d81b80425f66acb306c774e46d53221d36b33 |
|
01-Mar-2017 |
Andrew Rossignol <aarossig@google.com> |
Adds support for Makefile Linux and GoogleTest builds - gtest runs, but no tests are registered yet - Linux runs successfully - The next step is to migrate tests to run with gtest and remove BUILD files Change-Id: I94606074f8aea1f3b1a164227efbe3184b02b2a7
/system/chre/platform/linux/init.cc
|
1795db1e2282dac8454cf59d23314f70b6930f7b |
|
18-Jan-2017 |
Andrew Rossignol <aarossig@google.com> |
Adds a SensorRequestManager - Implements chreSensorFindDefault. - There is still work to be done for setting the rate of the sensor. Change-Id: Ia070cecfa0b3b157910d79ef3019773b2e8be612
/system/chre/platform/linux/init.cc
|
b5ef2cebc2d8b17e1dd4fa026d3842f97c79d8fb |
|
12-Jan-2017 |
Andrew Rossignol <aarossig@google.com> |
Adds chre::deinit() and SensorContext::deinit() - Allows releasing the QMI client for the SLPI - Left as a TODO for Linux Change-Id: I7977727e29944559f8c54667d189d127fc0f17d0
/system/chre/platform/linux/init.cc
|
b1c45b9446bd6bf2e95b0768353165e8009594f6 |
|
10-Jan-2017 |
Andrew Rossignol <aarossig@google.com> |
Adds an EventLoopManager - Manages all event loops - Created as a singleton to own CHRE state including future resources that will be shared by all event loops (ie: sensors). Change-Id: If04d5a239149e894464f8721e1c3c3f548ba578e
/system/chre/platform/linux/init.cc
|
725bef45ca127971b3ea798cd1f4e4b2c0d8fe9d |
|
10-Dec-2016 |
Andrew Rossignol <aarossig@google.com> |
Implements portions of the SystemTimer. - Supports requesting a timer and delivering events. - TimerHandle generation logic. - Multiplexes multiple requests into one underlying timer. - Adds a TimerWorld sample app to test cyclic and one-shot timers. Change-Id: Id992790b49618f94ab2a7ce76098394e5cc161d4
/system/chre/platform/linux/init.cc
|
0a0460cb9eb6e27c120b758ebd3fa6d8d8dbfcea |
|
09-Dec-2016 |
Andrew Rossignol <aarossig@google.com> |
Renames currentEventLoop to getCurrentEventLoop Change-Id: If5e60648732965af510fade292ba874900119f5c
/system/chre/platform/linux/init.cc
|
7bff27b2f4f5374a8f20a89b38067236535aa473 |
|
08-Dec-2016 |
Andrew Rossignol <aarossig@google.com> |
Documents the SystemTimer class, prefers Nanoseconds over uint64_t - Adds a conversion from milliseconds to nanoseconds. - Adds a little more documentation around the Linux implementation. - The set function now accepts the callback and data to pass in to allow reusing the same timer. Change-Id: I4c17c96db3922b73e6675d5718a1ea55a13e4c37
/system/chre/platform/linux/init.cc
|
4927ee586656424c827920876673228fbdcf27c3 |
|
25-Nov-2016 |
Andrew Rossignol <aarossig@google.com> |
Implements the MemoryPool and integrates with the EventLoop Unit tests are also added to the MemoryPool. Change-Id: Icaf521c9b683d9a21a73995f6ce4a70a5ed1e9f7
/system/chre/platform/linux/init.cc
|
e64f180233e64c40b56993cfea3696c5b4b16395 |
|
04-Nov-2016 |
Brian Duddie <bduddie@google.com> |
Initial import of CHRE source from external repo Starting at commit 46a52e0 from contexthub-base. Change-Id: I373f3a99b74757daae465b78a3d19bfce4770364
/system/chre/platform/linux/init.cc
|