Age | Commit message (Collapse) | Author |
|
When detasking a sensor, an event is enqueue to unsubscribe from the sensor events.
It is possible for a sensor sample to be in the queue before the unsubscribe, causing
that sensor event to be delivered after the sensor is detasked.
We need to check the requested rate (vs the current rate, in case the sensor has
multiple requestors). Only forward samples when there is a requested rate.
Export sensorGetReqRate so chre_app.c can call it.
Change osChreApiGetTime to use sensorGetTime so it can be compared to sensor
timestamps.
Bug: 62301968
Test: run CHQTS several times and make sure sensor tests don't fail randomly
Change-Id: I56f228182c610ab82aa0e267b24de70c740d39fb
Signed-off-by: Ben Fennema <fennema@google.com>
|
|
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>
|
|
1. rearrange tree so that soft links are no longer necessary
2. decouple OS variants build from app build
3. add support for output directory
Bug: 29635686
Change-Id: I273b823c29582a85c632e43c23b10fa44123d8af
|