3ab136380efdabdd06f96ab3633b1fc74c624576 |
|
06-May-2017 |
Ben Fennema <fennema@google.com> |
chre: pass through sensor config events (EVT_APP_SENSOR_*) These events only get sent to apps that registered a sensor, so it is ok to pass them through to a chre app. Bug: 38052282 Test: Register a sensor in a chre nanoapp and verify it receives sensor config events Signed-off-by: Ben Fennema <fennema@google.com> Change-Id: I38549d7b23f5b8782c5c5a713f51a0d220cbba1c
/device/google/contexthub/firmware/app/chre/common/chre_app.c
|
2464d3c90be72d8933069d58ac21276f8d8d59d7 |
|
11-Mar-2017 |
Ben Fennema <fennema@google.com> |
chre: ignore flush events Test: use nanoapp_cmd to send a flush Change-Id: Iaf24a36a9c2d4270d06191ba81360275ba1235ae Signed-off-by: Ben Fennema <fennema@google.com>
/device/google/contexthub/firmware/app/chre/common/chre_app.c
|
4c23b9d47e485b1f578f297788f81cc94e99601b |
|
10-Jan-2017 |
Ben Fennema <fennema@google.com> |
sensors: add broadcast on sensor rate/latency change Add function to allow (un)subscribing to mutiple events at once Add support for CHRE_EVENT_SENSOR_SAMPLING_CHANGE Test: Passively subscribe to a sensor and confirm CHRE_EVENT_SENSOR_SAMPLING_CHANGE events are received when the sensor is turned on/off from sensorlogger. Change-Id: I1e3b0dc6369eceb9029afc702c739e9ad4e3ca60 Signed-off-by: Ben Fennema <fennema@google.com>
/device/google/contexthub/firmware/app/chre/common/chre_app.c
|
e2dc6e9ce2e636b577abbfe1eb0c2e2875d16f11 |
|
03-Jan-2017 |
Ben Fennema <fennema@google.com> |
chre: set one-shot for any motion and no motion sensors zero out prox padding and set invalid to false add mininum default interval for CHRE_SENSOR_INTERVAL_DEFAULT (currently set to 1Hz) Test: run baro gts test Change-Id: I137005a68c03223d4a7113a3ec5de2377e4adf4b Signed-off-by: Ben Fennema <fennema@google.com>
/device/google/contexthub/firmware/app/chre/common/chre_app.c
|
ccdc66d2bada54b8278026c33d66a1b7b208834b |
|
21-Oct-2016 |
Ben Fennema <fennema@google.com> |
nanohub: chre: add support for osChreSensorConfigure Bug: 32319611 Test: subscribe to sensor using chre calls and verify samples are received by the chre event handler in the expected chre format. Change-Id: I54b328e79d17412585113e1ac1f852b33c655b34 Signed-off-by: Ben Fennema <fennema@google.com>
/device/google/contexthub/firmware/app/chre/common/chre_app.c
|
015cb9b8ddc5779d3d7299143d52712585c97272 |
|
05-Oct-2016 |
Alexey Polyudov <apolyudov@google.com> |
nanohub: fix event handling for CHRE Test: scenario is below cherry-pick ag/1511251 build and update the nanohub OS; rebuild all the GTS nanoapps and then rebuild GTS itself gts-tradefed run everything --skip-system-status-check com.android.compatibility.common.tradefed.targetprep.NetworkConnectivityChecker --module GtsLocationTestCases --test com.google.android.location.gts.ContextHubSendEventNanoAppTest#runTest --primary-abi-only Test should pass Bug: 31975247 Change-Id: I4b1dfa5ee42e8418356bfffe6199dae0bdb84d64 Signed-off-by: Alexey Polyudov <apolyudov@google.com>
/device/google/contexthub/firmware/app/chre/common/chre_app.c
|
b78969e7bce5b6d57a3e6b99315f44fe77b5d2b6 |
|
15-Sep-2016 |
Alexey Polyudov <apolyudov@google.com> |
nanohub: add CHRE message support this patch adds nanohub OS capability to understand a new host message format in addition to the old one, currently the only one supported by HAL. This is necessary for a smooth transition between the two. New format allows to pass message type as required by CHRE Bug: 31393280 Change-Id: I0ea649862bd90c349ab82237a5922133f5d730eb Signed-off-by: Alexey Polyudov <apolyudov@google.com>
/device/google/contexthub/firmware/app/chre/common/chre_app.c
|
b71013e3e1ef2d7e2e415ca628ef6a9e84af1e9a |
|
03-Sep-2016 |
Alexey Polyudov <apolyudov@google.com> |
nanohub: add c++ support nanohub implementation is not using ARM EABI support provided by toolchain. To have basic c++ support (no exceptions, no RTTI) support for dynamic construction/destruction and global and static local constructors is required. NOTE: global and static local destructors are not supported, because __aeabi_atexit() is currently a stub. This patch adds necessary support. Bug: 31256189 Change-Id: I15ce4a064654f9fa8ca9b1b76102282c86dbc41e Signed-off-by: Alexey Polyudov <apolyudov@google.com>
/device/google/contexthub/firmware/app/chre/common/chre_app.c
|
6b9ccdeee53dd54d2c815b753412e83c1303a8ba |
|
13-Jul-2016 |
Alexey Polyudov <apolyudov@google.com> |
initial CHRE API implementation for nanohub This implementation does not yet have support for sensors (other than enumeration). It does have support for heap management, events, host messages, timers. Bug: 30189428 Change-Id: I973bc25f787d325eb4fbca23d9949660b36b4677 Signed-off-by: Alexey Polyudov <apolyudov@google.com>
/device/google/contexthub/firmware/app/chre/common/chre_app.c
|