Commit graph

2 commits

Author SHA1 Message Date
Lakshman Annadorai
8eb03223e9 Update EmulatedUserHal to use UserHalHelper native library.
Bug: 150409377
Fixes: 167588307
Test: Tested using lshal commands in go/user-hal-emulation.

Change-Id: I79486a715c92111d3d6f5c011b7e1cd8c5501c25
Merged-In: I4ba2202e28ef9260b38ebbf21083d55d7aa07fc9
(cherry picked from commit 92ad8215e7)
2020-09-15 02:54:35 +00:00
Lakshman Annadorai
3568c5c3b7 Add a native UserHalHelper library.
This library contains helper functions to convert the User HAL reponse
structs to VehiclePropValues and request VehiclePropValues to HAL
structs.

Test: atest android.hardware.automotive.vehicle@2.0-utils-unit-tests
Bug: 150409377
Bug: 167588307

Change-Id: I978b39e2f3ee58eb3b154f507c714ca1ba2d1e3b
Merged-In: I978b39e2f3ee58eb3b154f507c714ca1ba2d1e3b
(cherry picked from commit b33e2abbfe)
2020-09-11 16:06:42 +00:00