summaryrefslogtreecommitdiff
path: root/sensors/aidl/default/multihal/HalProxyAidl.cpp
AgeCommit message (Collapse)Author
2022-04-12Fix AIDL sensors VTS testArthur Ishiguro
- According to the AIDL backends, return values are not propagated when the status is !ok(). Update the VTS test, HAL implementation, and ISensors definition to remove the requirement that the handle is populated to -1 on failure for registerDirectChannel. - Also update VTS tests for some error code checks to reflect the actual expecataions according to the ISensors documentation. Bug: 228645167 Test: VTS passes Change-Id: I5d4d4d0af3b033b34a58d8462aa40214d89fa442
2022-04-11Fix return values in AIDL multi-HAL shimArthur Ishiguro
- Converts HIDL return values directly to ScopedAStatus - Adds asserts for unexpected values of conversion code Bug: 228645167 Test: Run VTS Change-Id: Ifcc57f565b4e1d9c140db9363e21ab6ee7dd6660
2022-04-11Implements AIDL multi-HAL debug dumpArthur Ishiguro
Bug: 228645167 Test: adb shell dumpsys android.hardware.sensors.ISensors/default Change-Id: If5985d669d5fae6ca99d0156f61841f868c8c60f
2022-01-11Updated multihal to use new sensors AIDL interface.Tyler Trephan
Test: make android.hardware.sensors@aidl-multihal Fix: 206867060 Change-Id: I9b78a0f25117d11fdf4beb1e0913393c1c14620d