Commit graph

9 commits

Author SHA1 Message Date
Chen Cheng
639064874b Merge "[Reland] Change StatusCode to ErrorCode." 2022-06-24 18:21:02 +00:00
Chen Cheng
faf9adcc4e [Reland] Change StatusCode to ErrorCode.
ErrorCode is created in IVhalClient to better describe the error case in vhal cpp client interface.

Test: atest VtsHalAutomotiveVehicle_TargetTest
Bug: 224876310
Bug: 236845761
Change-Id: I261f67b62ead4386bb58daed81d72276ab0eb88d
2022-06-24 16:47:44 +00:00
Chen Cheng
17d8233197 Revert "Change StatusCode to ErrorCode."
Revert submission 18878765-b/224876310

Reason for revert: <seahawk build fails. Needs to update related files in seahawk>
Reverted Changes:
I3ec73d068:Change StatusCode to ErrorCode.
I98c2cbe07:Created ErrorCode in vhal cpp client.

Change-Id: I809ec4718c4d730212d2d7cdf3fd6dd12eee835e
2022-06-22 18:36:50 +00:00
Filip
943b550120 Add automotive-tests package to the tests
Bug: 235717579
Test: manual build
Change-Id: I4a08e621d17f4758204842aabbcdfa0d9bffc4e0
2022-06-22 05:40:54 +00:00
Chen Cheng
4558013c5a Change StatusCode to ErrorCode.
ErrorCode is created in IVhalClient to better describe the error case in
vhal cpp client interface.

Test: atest VtsHalAutomotiveVehicle_TargetTest
Bug: 224876310
Change-Id: I3ec73d0688c90d79e2819736df9fc00d6bc25662
2022-06-15 17:23:53 +00:00
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