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/apps/unload_tester/unload_tester.cc
|
50d7d95f1d8cae0e9c6202086b9bd432adff7bf1 |
|
23-May-2017 |
Andrew Rossignol <aarossig@google.com> |
Removes support for multiple event loops - This feature is not needed and was not implemented entirely. - This leaves many TODOs. - Most CHRE systems are single-threaded. - Multi-threaded support can be handled in a better way and held under conditional compilation to reduce code size. Test: run_sim.sh, load_chre.sh Change-Id: I33fa68bc24ee423c6a3a190e5ba75bfcf7074ed3
/system/chre/apps/unload_tester/unload_tester.cc
|
6248f7a215a1625b71154bb723565f23fb1f26e6 |
|
02-May-2017 |
Andrew Rossignol <aarossig@google.com> |
Implements the chreConfigureNanoappInfoEvents API Test: run_sim.sh Change-Id: I83ecf42bb8b16d6b74a21d980cbc8828c1126b16
/system/chre/apps/unload_tester/unload_tester.cc
|
e5d8b38a4814e88b04bcad8e8e9835c375e725bd |
|
11-Apr-2017 |
Brian Duddie <bduddie@google.com> |
Reduce logspam from start/stop events Update sample apps to ignore nanoapp started/stopped events if they don't use them. Test: run simulator Change-Id: Icba38c137ef8687e23a7d4c20ebf9802f246bfe2
/system/chre/apps/unload_tester/unload_tester.cc
|
62f187d9d736346275492e916f6001576b68bb00 |
|
07-Apr-2017 |
Brian Duddie <bduddie@google.com> |
Implement chreGetNanoappInfoBy{AppId,InstanceId} Adds support for the CHRE API function to query information about another nanoapp running in the system. Test: run simulator with unload tester Change-Id: I2eca96d8a6b2be6e231819b6957dcf626114b83d
/system/chre/apps/unload_tester/unload_tester.cc
|
99f01ac9bd6e351538cb8922ef15d9e838e7339a |
|
06-Apr-2017 |
Brian Duddie <bduddie@google.com> |
Add support for unloading nanoapps Add the capability for clients on the host to dynamically request the unloading of a nanoapp. This initial implementation takes measures to avoid potentially referencing the memory in the nanoapp after it is unloaded, by flushing events and messages, but does not clean up after the nanoapp if it leaves a sensor request open, or a timer running, or doesn't free all of its dynamic memory, etc. As part of ensuring this safety, CHRE will now prevent a nanoapp that is being unloaded from sending events or messages just prior to invoking the nanoappEnd callback. Add an unload tester nanoapp that unloads the spammer test nanoapp after a short delay, to help verify that event and message cleanup is handled appropriately. Test: run unload tester nanoapp in simulator and on SLPI, use chre_test_client on SLPI to unload AR Change-Id: Ib6dbe26b6414e417401412375390ceef5663d4d9
/system/chre/apps/unload_tester/unload_tester.cc
|