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/shared/chre_api_sensor.cc
|
9695b7bc89781c40aeb545ac0e879ff063590bf0 |
|
11-May-2017 |
Andrew Rossignol <aarossig@google.com> |
Compile CHRE with hidden visibility - Export the API with a new DLL_EXPORT macro - Prevents external code from calling into CHRE Test: load_chre.sh, see activity.so load + run Change-Id: Ic57fc7e15e115f394cb14e0a4f5729c25c21a1cf
/system/chre/platform/shared/chre_api_sensor.cc
|
53cec69ff23e5ffabf9f29d824c14fbdb18dc856 |
|
17-Apr-2017 |
Brian Duddie <bduddie@google.com> |
Rework sensor model Model Sensor as a composite object made up of common code, common interface and platform-specific implementation, and platform-specific interface and implementation. These interfaces are composed via inheritance, as they are in chre::Nanoapp, but without polymorphic behavior. Test: run sensor world on SLPI Change-Id: I568688e012d0777c863be2c8b1f301322dfde0f6
/system/chre/platform/shared/chre_api_sensor.cc
|
59e4cbe02c3dbfd3375dd39ac2691065c813353b |
|
04-Apr-2017 |
Meng-hsuan Chung <menghsuan@google.com> |
Implements the chreGetSensorSamplingStatus CHRE API Currently, it only returns the latest CHRE request. Added a TODO to return the platform's sampling status. Also updated SensorWorld to exercise this API. Change-Id: I5a034925d5e905f4b0509eb8fda947f6deb7a1da
/system/chre/platform/shared/chre_api_sensor.cc
|
841e366daaacd7a893046add8535c9a23d9bc599 |
|
10-Mar-2017 |
Andrew Rossignol <aarossig@google.com> |
Adds validateChreApiCall to EventLoopManager Test: Compile and run on device Change-Id: I6aca2f849fe3c6c519faa2fc55714c8e3baeef3f
/system/chre/platform/shared/chre_api_sensor.cc
|
48fda6e1eedf6ba80ae7596fc7676f8318a1e88e |
|
07-Mar-2017 |
Meng-hsuan Chung <menghsuan@google.com> |
Implements the chreGetSensorInfo CHRE API Also modifies SensorWorld nanoapp to exercise the API. Change-Id: If71643bbc98edc5fb8a753aa546aa31ee4c27f48
/system/chre/platform/shared/chre_api_sensor.cc
|
8d7fbecab6b025243dcdb6dc28f49e37430dc650 |
|
27-Jan-2017 |
Andrew Rossignol <aarossig@google.com> |
Implements the chreSensorConfigure method - Implements support for adding/updating/removing a request from the SensorRequestManager Change-Id: Id5ac1c4eebe851501f8997e98e011b3d5c7eaa55
/system/chre/platform/shared/chre_api_sensor.cc
|
4446be9be8f90e66d3cb4d30393862fc725230da |
|
26-Jan-2017 |
Andrew Rossignol <aarossig@google.com> |
Renames chre/core/sensors.h to chre/core/sensor_request.h - This better represents the function of the file. - Makes space for a new class called Sensor in core/ without having sensors and sensor which could be confusing. Change-Id: I5483ee5c2d73d44cbfcb07ffbf5c8db8a4c86395
/system/chre/platform/shared/chre_api_sensor.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/shared/chre_api_sensor.cc
|
38bec5401084a884b19e8523649548d6a4f7169a |
|
07-Jan-2017 |
Andrew Rossignol <aarossig@google.com> |
Adds a SensorContext to platform - Adds a chre_api_sensor to platform/shared with TODO. - SensorContext allows interacting with platform sensors. - Linux is a TODO. - SLPI just grabs the service object for now. More work to come! Change-Id: Icb407e917477b0aa19a8b8e33bdcb21f61047fb3
/system/chre/platform/shared/chre_api_sensor.cc
|