Commit graph

4 commits

Author SHA1 Message Date
Yu Shan
4569ef5542 Add VTS test for timestamp for AIDL backend.
The expected behavior for timestamp was not clearly defined in HIDL.
In AIDL, we add clearer definition based on the existing HIDL ref
impl's behavior. This CL add VTS test to enforce these behavior for
AIDL backend.

Test: atest VtsHalAutomotiveVehicle_TargetTest
Bug: 225191802
Change-Id: Ic208d6ac20cb7b820249c9b545c7b3a83528a1dd
2022-04-09 00:31:17 +00:00
Bob Badour
852a53027a [LSC] Add LOCAL_LICENSE_KINDS to hardware/interfaces
Added SPDX-license-identifier-Apache-2.0 to:
  automotive/vehicle/vts/Android.bp

Bug: 68860345
Bug: 151177513
Bug: 151953481

Test: m all
Change-Id: Ic7216f0da29aabfad2ce3614e5f9ee40055aa609
2022-03-24 23:44:04 +00:00
Yu Shan
24fee7bba9 Define VhalResult alias.
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-04 14:07:45 -08:00
Yu Shan
726d51a697 Migrate VHAL VTS to be AIDL compatible.
Migrate VHAL VTS to be compatible with both HIDL and AIDL VHAL. The
test cases remains the same.

Test: atest VtsHalAutomotiveVehicle_TargetTest
Bug: 216736141
Change-Id: I5010b9c205656187e890b91dadc69e97ddc96862
2022-03-04 14:07:45 -08:00