summaryrefslogtreecommitdiff
path: root/sensors/1.0/default/service.cpp
AgeCommit message (Collapse)Author
2018-09-06Interfaces: Set binder buffer for sensors HIDLShaikh Shadul
Setting custom binder buffer size for sensors HIDL service. Change-Id: I83ebdc77ed7aec0e25a975097358440681ca5f11 CRs-Fixed: 2305971
2017-02-14Fix shim layer bugs for Sensors HIDL wrapper.Ashutosh Joshi
i) Increase the number of default threads to 2. ii) Handle the flush complete event correctly. Bug: 35189074 Bug: 35067266 Test: Test that sensors work in both binderized and passthrough modes. Ensure that camera photosphere works. Change-Id: Ic8dadf03395b4e96092ae962cf790c93d65a1c8d
2017-02-09Revert "Add a second thread for sensor service."Ashutosh Joshi
This reverts commit 0da2531b9fceb7f648103c85794d277e9f466775. Change-Id: Id356ab9e0b7cf6b2275afc5855e648d322e3bf60
2017-02-08Add a second thread for sensor service.Ashutosh Joshi
HIDL implementation defaults to using a single thread for a service. This blocks on sensorservice poll. A minimum of two threads are needed to allow for any meaningful control. Bug: 35067266 Test: Verify sensors stream in both passthrough and binderized modes. Change-Id: I44ccdb6db253ca9eb9903b51e05c1893945e297e
2017-01-20sensors HAL uses "default" service nameChris Phoenix
The getService() and registerAsService() methods of interface objects now have default parameters of "default" for the service name. HALs will not have to use any service name unless they want to register more than one service. Test: builds; verify HAL still works Bug: 33844934 Change-Id: Iefb6dfe80ec8f4ab389d2b6529f9f968365289b2
2017-01-20Fix HAL name in LOG_TAG stringChris Phoenix
Test: None Change-Id: Idfd59985a97e27e993b3f28f355a6e8c46b59815
2016-10-21Use defaultPassthroughServiceImplementation.Steven Moreland
Bug: 32279541 Bug: 32282345 Test: mma Change-Id: Ic0222963c99bea41de7637e5f20c19d7c541cb97
2016-10-13sensor HAL v3Andreas Huber
Bug: 32021636 Test: no Change-Id: I7a4c5c47f8621209daef5af4d0dcbb806a236e41