History log of /device/google/contexthub/firmware/os/core/hostIntf.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
b7a837f3d0848922f553ade310c3558053bd18c9 17-Apr-2017 Ben Fennema <fennema@google.com> hostIntf: don't have onEvtAppToSensorHalData generate an interrupt

Added an interrupt flag to hostIntfAddBlock. If the flag is set to false,
an interrupt will not be generated by the data being added to the queue.
onEvtAppToSensorHalData was change to set this flag to false so an
interrupt is not generated.

Bug: 37433771
Test: Send EVT_APP_TO_SENSOR_HAL_DATA and verify no interrupt is generated
Change-Id: I5083e3ed79f008e9392045655e637e6b44764bee
Signed-off-by: Ben Fennema <fennema@google.com>
/device/google/contexthub/firmware/os/core/hostIntf.c
d62fb52a5e4e6bc6ece53220107e02aa72f40a69 12-Apr-2017 Peng Xu <pengxu@google.com> Allow sensor config even if sensor is activated

Test: test local mag field works even when mag sensor is activated
Change-Id: Iee57ef8da5b3e00e20adfa901a5c7ef0ccb3a14d
/device/google/contexthub/firmware/os/core/hostIntf.c
774ea97d18117e0d13108a0968315f23102cbc40 10-Mar-2017 Peng Xu <pengxu@google.com> Sensor configuration data save and restore

The CL implements a save and restore channel for general sensor
data save and restore. The down channel reused what has been built for
sensor calibration data restore. The up channel is newly created.

The channel is demonstrated via save and restore of over temperature
gyro calibration.

Test: tested gyro otc cal data save/restore. Restore is tested via
log messages. Save is tested via faked update and monitor
/data/misc/sensorcal_saved.json file. SELinux need to be
bypassed by "setenforce 0" if SELinux error involving open or
write sensorcal_saved.json is visable in log.
Bug: 30958130
Change-Id: I40a96651c9e75c78c171781648968cf7b77896a6
/device/google/contexthub/firmware/os/core/hostIntf.c
8c6af44b552f5bbd9260fd75ceb78cfb244ce951 16-Dec-2016 Ben Fennema <fennema@google.com> hostIntf: properly handle hardware that fails to initialize am: a107817aeb
am: ef72dacaf2

Change-Id: I46341cb784cb4b9a51a8a1dc3457196517800758
444c0e3f89dbbecb3f74236c5165b96560582ec5 21-Sep-2016 Ben Fennema <fennema@google.com> hostintf: fix sensor->curSamples non-zero on empty queue error am: 2166f5d1d6 am: b70107f261
am: 223f9bb383

Change-Id: I6917d3f659ba956f1da213e2de668f5cb110b979
5a3e6b90a5790e228dc3c43392fcfbaa74a2d3a0 11-Aug-2016 Ben Fennema <fennema@google.com> resolve merge conflicts of 2a091cb to master

Change-Id: I6491a5c4490c6187c908ad3fbe31f97cbae9c526
7467a75602cdb0b32abc2893fb901c516807eb4e 29-Jul-2016 Alexey Polyudov <apolyudov@google.com> hostintf: make sure block counters are not adjusted in case of failure

Bug: 30325656
Change-Id: If109b3e45b9ff2ffaf9d6b96746bd3e6adaf69fb
Signed-off-by: Alexey Polyudov <apolyudov@google.com>
/device/google/contexthub/firmware/os/core/hostIntf.c
e673392dfca4a31fff5e93f320848e8181ef5bd9 28-Jul-2016 Alexey Polyudov <apolyudov@google.com> nanohub: hostintf: break handleEvent into multiple smaller functions

Change-Id: I75319298cb03f9666905ef965ac3e9be641e1fcc
Signed-off-by: Alexey Polyudov <apolyudov@google.com>
/device/google/contexthub/firmware/os/core/hostIntf.c
54794375c7f69172894e9f365db835440c2bfdf6 18-Jul-2016 Alexey Polyudov <apolyudov@google.com> nanohub: rename APP_ID_VENDOR_GOOGLE to NANOHUB_VENDOR_GOOGLE

VENDOR codes are used not only by apps but also by other components,
so let's remove the APP reference from vendor code constants

Bug: 30189428
Change-Id: Id0da49f68acd551e728462a4204da2fda78161d4
Signed-off-by: Alexey Polyudov <apolyudov@google.com>
/device/google/contexthub/firmware/os/core/hostIntf.c
0c13357ee30ef5994636854d45603bdc4eb03e0a 15-Jul-2016 Ben Fennema <fennema@google.com> hostIntf: allow bias with raw 3-axis sensors am: d8b09891f1
am: 56fc3d0d46

Change-Id: Ia4f249477c99f905ecc5762282243fafa64211a1
f805306b53d82eef67d8891a5dd5c32d3794a3ab 13-Jul-2016 Alexey Polyudov <apolyudov@google.com> build: restructure nanohub tree

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
/device/google/contexthub/firmware/os/core/hostIntf.c