Commit Graph

9 Commits

Author SHA1 Message Date
Andrew Rossignol
a30dfb1e38 sensorhal: remove unnecessary flags argument am: 2b9311a5a6
am: 1206991464

Change-Id: I231266982c328bf4474cd3f83f446599d06db097
2016-07-07 00:52:04 +00:00
Andrew Rossignol
2b9311a5a6 sensorhal: remove unnecessary flags argument
Change-Id: I5d659bbc670aae9e8938ed87773fc40487a3fb7b
2016-07-06 17:20:16 -07:00
Andrew Rossignol
ca7d92c7da Merge \\"activity_hal: move static class methods to free functions\\" into nyc-mr1-dev am: 759d604909
am: 6ca4bf84b9

Change-Id: I76a9c4788daa69f5e0e16b95e68067cf62c9dec1
2016-07-06 22:45:17 +00:00
Andrew Rossignol
4594a90716 activity_hal: move static class methods to free functions
The wrapper functions do not need to be static class methods and have
been moved to static free functions. This also improvies some of the
access modifiers. Some private methods were being used in a public way
(invoked by the AR HAL).

Change-Id: I87f5a5ee9ada7d72f4e6fe2149c4bd9e2e6c3c76
2016-06-29 11:10:00 -07:00
Nick Vaccaro
560cc2f569 sensorhal: protect wake events with a wakelock
If there's a sensor wake event in the sensor HAL's event pipeline,
grab a wakelock to keep device from falling asleep until Sensor
Services has had a chance to grab its own wakelock.

Bug: 28249097
Change-Id: Ia36b2726bbf200d0dbdbb3f2a36fbc5482096a93
2016-04-25 16:37:35 -07:00
Andrew Rossignol
d82bf31ea8 sensorhal: adds separate sensor lists for devices
This change adds support for a different sensor list depending
on the type of device.

Bug: 27943736
Change-Id: Id8c30b9b72084576d11546a663de7327fb29d76f
2016-03-31 18:25:44 -07:00
Meng-hsuan Chung
49f32a52b8 sensorhal: enable 400Hz accel/gyro
bug: 27687515
Change-Id: I4d6714105f70d0e277fcd8e8849bda0666b47ede
2016-03-24 11:50:00 -07:00
Peng Xu
2b7c19d0bc Fix the bug that causes setDelay not working
Fix the bug that causes setDelay not working. Many native sensor
apps, such as camera EIS, still use this API.

Bug: b/27790706
Change-Id: Iaf7eeb3311a2148ca556d27dbd117e1992715644
2016-03-22 21:04:23 -07: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