Commit Graph

9 Commits

Author SHA1 Message Date
Shaikh Shadul
eb5a728efa
msm8974-common: sensors: Tune binder buffer for sensors HIDL
Setting custom binder buffer size for sensors HIDL service.

Change-Id: I83ebdc77ed7aec0e25a975097358440681ca5f11
2018-11-21 23:10:10 -07:00
Michael Bestas
32d31a6be7
msm8974-common: sensors: Add input group to sensor service
* Fixes light and proximity sensor in hwbinder mode

Change-Id: I1dadda8c68043f97190d85763405058cc1761b0e
2018-09-21 16:02:05 -06:00
Kevin F. Haggerty
36f23a1b47
msm8974-common: sensors: Convert to samsung8974 target
Change-Id: Ic897c67c4caf9ba07dc770f19226e016ae9a5d77
2018-09-21 16:02:05 -06:00
Kevin F. Haggerty
3fe9c310d1
msm8974-common: sensors: Import default service and impl from hardware/interfaces
* Source: LineageOS/android_hardware_interfaces@ef97157

Change-Id: Id12ceb1bca1578a0c8a9e048562a224ec74d93fb
2018-09-21 16:02:05 -06:00
Kevin F. Haggerty
d6c5ae5030
msm8974-common: sensors: Update multihal with P changes
Change-Id: Iee33e9043e5f4eb9b5ff8af562800e0392c041b5
2018-09-21 16:02:05 -06:00
Kevin F. Haggerty
2bd8da39b5 msm8974-common: sensors: Resolve unused parameter warnings
* Change dce39f8a86 ("msm8974-common: sensors: Disable batching")
  resulted in unused parameters. Fix that.

Change-Id: If6590e6e7c2e14dbb4f7141c69c6bd71900fe896
2018-09-22 00:01:01 +02:00
T H
dce39f8a86 msm8974-common: sensors: Disable batching
* Set FIFO values to 0 for all sensors to disable batching.
* Only change the delay for batch calls.

Change-Id: I8e8384e63a24122e02f3c6c7e09311561c180c17
2018-08-05 08:34:09 -06:00
LuK1337
3b6f6bb075 msm8974-common: sensors: Adjust for our usecase
* Rename hals.conf -> _hals.conf so legitimate
  MultiHAL won't attempt to load our HALs.
* Rename multihal -> multihal-samsung8974 so soong
  doesn't complain about duplicate package names.
* Remove USE_SENSOR_MULTI_HAL flag requirement so
  we can actually build it.
* Use TARGET_BOARD_PLATFORM variable in package
  name because it's a common tree.

Change-Id: Ifa8c20747e3f0bf9bae8b42dd4c499cf6d770e27
2018-08-05 08:34:09 -06:00
LuK1337
e0db06fff8 msm8974-common: Import sensors MultiHAL
Change-Id: I8dbe13560d74f88109b7265d1c511ad3beab731e
2018-08-05 08:22:14 -06:00