Commit Graph

2 Commits

Author SHA1 Message Date
Peng Xu
cf5df9cf40 Implement sensor direct report mode
This change implements direct report for accel, gyro and mag at normal
and fast rate level. It supports ashmem shared memory.

The direct report and traditional sensor subscription are still
tangled up in this implementation.

Bug: 30985702
Bug: 33588372
Test: tested via demo app

Change-Id: Idc4f626dfe624558718c1b04f16898a0ea247e62
2017-01-24 22:50:14 +00:00
Trevor Bunker
21f2c7c52a sensorhal: migrate from vendor/google_contexthub and google_chinook
- Original authors for hubconnection: Ben Fennema (fennema@google.com),
  Andreas Huber (andih@google.com), Trevor Bunker
  (trevorbunker@google.com), and Andrew Rossignol (aaross@google.com)
- Original authors for other files: Andreas Huber (andih@google.com),
  Trevor Bunker (trevorbunker@google.com), and Meng-hsuan Chung
  (menghsuan@google.com)

Change-Id: I4b1097b80315135949f0713103c61793b92126c2
2016-02-25 06:34:43 -08:00