Age | Commit message (Collapse) | Author |
|
In Emerald, robby project's sensor code has been moved to
/vendor/intel/robby/sensors
Change-Id: Iff11b2f079ba47003637c9a3024f997da34b5b02
|
|
Change-Id: I340fb240f4109cddfda70cd17a07d06fef0b8209
|
|
Remove reference to stlport
Bug: 23034764
Change-Id: I9b5cb0dfa2ec7bdc6676d39855fdb9dfecfb9e3a
|
|
|
|
Fix missing includes
BUG: 23034764
Change-Id: I80779060fc84befaf51a21857546e87f3e04c747
|
|
Poll with timeout = -1 for flush complete event and timeout = 1000
for regular sensor event
flush requests are tracked with vector. This requires to include stlport.
As stlport olverloads pow(), all calls to this function are also modified
to avoid ambiguous calls.
Change-Id: I4f8bd97289dbc3e18b5fb0911aa84bde4f401ad8
Signed-off-by: Like Yan <like.yan@intel.com>
|
|
Generating a flush_complete event right after receiving
a flush_request from the sensor services breaks the flow
as the client stops acquiring data.
Solution is to store the timestamp of the flush request
and issue the flush_complete event when the timestamp
of the sensor data matches
Change-Id: Idb273db3e69e6e2593c00298d3d458fc7c965830
Signed-off-by: Fei Li <feix.f.li@intel.com>
Signed-off-by: Guillaume Ranquet <guillaumex.ranquet@intel.com>
|
|
When the HAL writes to the pipe, each sensor sample is 104 bytes.
Adjust the pipe size to handle the worst case, where the full FIFO is
written to the pipe in one chunk.
Change-Id: If04b7246083e199832d31d8d58a37b7a1d3cf220
Signed-off-by: Guillaume Ranquet <guillaumex.ranquet@intel.com>
|
|
Change-Id: Ic3ead5d7b985c643a5da67e4105a76f589e71b22
Tracked-On: https://jira.ndg.intel.com/browse/MARVIN-966
Signed-off-by: Fei Li <feix.f.li@intel.com>
|
|
The iio length is just for allow buffer to store data,
2.5's raw data at least. the store_length is just the
real raw data length you want to batch in the buffer.
We must ensure length is large or equal to store_length.
Change-Id: I79b26daa9e95d853e649c3e2f6eb470bf636a5cc
Tracked-On: https://jira.ndg.intel.com/browse/MARVIN-962
Signed-off-by: Fei Li <feix.f.li@intel.com>
|
|
This reverts commit c4306755911e922ee72de7e8f159368538f0d94f.
Change-Id: I2efae19490b5cb7e0669ebda75a6f84e29a35230
|
|
fix sensor events timestamp out of expected range during CTS verifier test.
Change-Id: I271505dfb480374949d57b997d08d618dde0bcc2
Tracked-On: https://jira.ndg.intel.com/browse/MARVIN-914
Signed-off-by: Baixing Tan <baixingx.tan@intel.com>
|
|
As a workaround fixing the issue that lsm6ds3 sensor chip measured angle
less than real rotated angle.
Change-Id: I3625511628c7dc1359c7d14dcf619637c8b807b6
Tracked-On: https://jira.ndg.intel.com/browse/MARVIN-925
Signed-off-by: Fei Li <feix.f.li@intel.com>
|
|
fix the bug for all HW/SW sensors
Change-Id: Idc9809f55a3f3fe3171beb8b2bb55962a08d7b6b
Tracked-On: https://jira.ndg.intel.com/browse/MARVIN-882
Signed-off-by: Fei Li <feix.f.li@intel.com>
Reviewed-on: https://android.intel.com/421790
Reviewed-by: jenkins_ndg <jenkins_ndg@intel.com>
Reviewed-by: Ledentec, AlexandreX <alexandrex.ledentec@intel.com>
Reviewed-by: Tasayco Loarte, VictorX <victorx.tasayco.loarte@intel.com>
|
|
Change-Id: Iaf8d71531b9622ead2aa47fbb33db909a8d0e082
Tracked-On: https://jira.ndg.intel.com/browse/MARVIN-884
Signed-off-by: Like Yan <like.yan@intel.com>
Reviewed-on: https://android.intel.com/421747
Reviewed-by: Ledentec, AlexandreX <alexandrex.ledentec@intel.com>
Tested-by: Tasayco Loarte, VictorX <victorx.tasayco.loarte@intel.com>
Reviewed-by: Tasayco Loarte, VictorX <victorx.tasayco.loarte@intel.com>
|
|
Change-Id: Ie29ff4edf0adad6b49f5fe1ae057e723128585ac
Tracked-On: https://jira.ndg.intel.com/browse/MARVIN-880
Signed-off-by: Baixing Tan <baixingx.tan@intel.com>
Reviewed-on: https://android.intel.com/421534
Reviewed-by: Ledentec, AlexandreX <alexandrex.ledentec@intel.com>
Reviewed-by: Tasayco Loarte, VictorX <victorx.tasayco.loarte@intel.com>
|
|
The bug results in less sensor events reported than requested.
Change-Id: I61b4e22100d227d1c1e073da5e665dec4cf19943
Tracked-On: https://jira.ndg.intel.com/browse/MARVIN-592
Signed-off-by: Fei Li <feix.f.li@intel.com>
Reviewed-on: https://android.intel.com/414386
Reviewed-by: Ledentec, AlexandreX <alexandrex.ledentec@intel.com>
Tested-by: Ledentec, AlexandreX <alexandrex.ledentec@intel.com>
Reviewed-by: jenkins_ndg <jenkins_ndg@intel.com>
Reviewed-by: Tasayco Loarte, VictorX <victorx.tasayco.loarte@intel.com>
Reviewed-by: Hadjimegrian, MathieuX <mathieux.hadjimegrian@intel.com>
Tested-by: Hadjimegrian, MathieuX <mathieux.hadjimegrian@intel.com>
Reviewed-by: Maalem, Saadi <saadi.maalem@intel.com>
|
|
JIRA: MARVIN-522
Change-Id: I8ea95dfd8c2fff3ed4df5c59d808d45fccb238d0
Signed-off-by: Fei Li <feix.f.li@intel.com>
Reviewed-on: https://android.intel.com/394732
Reviewed-by: Maalem, Saadi <saadi.maalem@intel.com>
Reviewed-by: Tasayco Loarte, VictorX <victorx.tasayco.loarte@intel.com>
|
|
JIRA: MARVIN-315
Reverse Accelerometer (x and z axis) and Gyroscope (z axis) matrix to fix it.
Change-Id: I5da569afbc5ac2607c8c96caa5f339e7b01db0fc
Signed-off-by: Fei Li <feix.f.li@intel.com>
Reviewed-on: https://android.intel.com/389877
Reviewed-by: Tasayco Loarte, VictorX <victorx.tasayco.loarte@intel.com>
Reviewed-by: Ledentec, AlexandreX <alexandrex.ledentec@intel.com>
Reviewed-by: Maalem, Saadi <saadi.maalem@intel.com>
Tested-by: Tasayco Loarte, VictorX <victorx.tasayco.loarte@intel.com>
|
|
JIRA: MARVIN-99
Change-Id: Idc737ca92faaa1074262b1fa418f3f04d9e6e561
Signed-off-by: Fei Li <feix.f.li@intel.com>
Reviewed-on: https://android.intel.com/380493
Reviewed-by: jenkins_ndg <jenkins_ndg@intel.com>
Reviewed-by: Maalem, Saadi <saadi.maalem@intel.com>
Reviewed-by: Pujol, Benjamin <benjamin.pujol@intel.com>
|
|
JIRA: MARVIN-239
Fix bug in flush function for sensors:
1. for One-Shot sensor, return -EINVAL;
2. for sensors not using FIFO, return flush complete event;
3. for sensors using FIFO, flush data in FIFO.
Change-Id: I3e35a9be39150d2ca2be0166b516a722df8fefda
Signed-off-by: Fei Li <feix.f.li@intel.com>
Reviewed-on: https://android.intel.com/376695
Reviewed-by: Pujol, Benjamin <benjamin.pujol@intel.com>
|
|
tilt, als & accelero/gyro are common for robby devices.
Change-Id: I256befd1f7d9ad8755a1ba5334c3f629597d05bf
Signed-off-by: Saadi Maalem <saadi.maalem@intel.com>
|
|
JIRA: MARVIN-79
Load sensors calibration data at boot, and set the corresponding offset of IIO channels
to calibrate raw data of sensors
Change-Id: Iaf5842fd46edd8445a0a2ba03e765fa82a4f0519
Signed-off-by: Fei Li <feix.f.li@intel.com>
Reviewed-on: https://android.intel.com/379867
Reviewed-by: jenkins_ndg <jenkins_ndg@intel.com>
Reviewed-by: Marcenac, GuillaumeX <guillaumex.marcenac@intel.com>
Reviewed-by: Tasayco Loarte, VictorX <victorx.tasayco.loarte@intel.com>
Reviewed-by: Maalem, Saadi <saadi.maalem@intel.com>
Reviewed-by: Yan, Like <like.yan@intel.com>
Tested-by: Yan, Like <like.yan@intel.com>
|
|
Modify ST lsm6ds3 HAL-IIO v3.0.0 code's config to adapt marvin need
Change-Id: I2d97a25553d2a3b6e3503e32debbe065ed0a65bf
Tracked-On: https://jira01.devtools.intel.com/browse/MARVIN-175
Signed-off-by: Baixing Tan <baixingx.tan@intel.com>
Signed-off-by: Li,Fei <feix.f.li@intel.com>
Reviewed-on: https://android.intel.com:443/346319
|
|
Add original SensorHAL_IIO_v3.1.0 for lsm6ds3 sensor
Change-Id: Iebd049a36696f9b1f09049cc8672ed260c12cdf7
Tracked-On: https://jira01.devtools.intel.com/browse/MARVIN-175
Signed-off-by: Baixing Tan <baixingx.tan@intel.com>
Reviewed-on: https://android.intel.com:443/346267
|