summaryrefslogtreecommitdiff
path: root/automotive/vehicle/aidl/impl/utils/common/test/VehicleUtilsTest.cpp
AgeCommit message (Collapse)Author
2022-03-04Define VhalResult alias.Yu Shan
Define a VhalResult alias to represent Result that contains a VHAL StatusCode as error type. This alias helps client to easier migrate from android::base::Result to VhalResult. Test: Presubmit Bug: 219612366 Change-Id: I17f15044ee962c7148b0adc3925e0b0a9dfab2a8
2022-03-03Define custom error type for StatusCode.Yu Shan
Define a wrapper class for StatusCode to be used as E in Result<T, E>. By default E is errorno as defined in linux and does not print out the correct error message. Migrate existing Result usage in VHAL to Result<T, VhalError>. Test: atest VehicleUtilsTest Bug: 219612366 Change-Id: Ic5369b6035bc46afc4c61da26c4b50f7fa9969d8
2021-12-28Add checkPropValue in VehicleUtils.Yu Shan
Test: atest VehicleHalVehicleUtilsTest Bug: 200737967 Change-Id: I0e6eed7d085af2a45448efa845e3e8f66c0a84ce
2021-10-20Migrate ConcurrentQueue.Yu Shan
Test: atest VehicleHalVehicleUtilsTest Bug: 201830716 Change-Id: I78671befd8351f17bf3da43372ec302e106690de
2021-09-13Migrate VehicleObjectPoolYu Shan
Test: atest VehicleHalVehicleUtilsTest Bug: 199337732 Change-Id: I93772c401dc077f1fbab79e302336494039308d1
2021-09-21Add VehicleHal utilities.Yu Shan
Add some utility functions to AIDL VHAL. Test: atest VehicleHalVehicleUtilsTest Bug: 199337732 Change-Id: I9e74161efecf7c66caa2f52177fbdd43cdc9d68b