Commit graph

46 commits

Author SHA1 Message Date
Shrikar Amirisetty
7bbe0c90e2 Merge changes from topics "seat_footwell_lights_state", "seat_footwell_lights_switch"
* changes:
  Added SEAT_FOOTWELL_LIGHTS_SWITCH to hardware layer
  Added SEAT_FOOTWELL_LIGHTS_STATE to hardware layer
2023-01-04 18:40:09 +00:00
Aaqib Ismail
eea71eab5c Merge changes from topics "BlindSpotWarningEnabled", "ForwardCollisionWarningEnabled", "LaneDepartureWarningEnabled"
* changes:
  Add HAL changes for LANE_DEPARTURE_WARNING_ENABLED
  Add HAL changes for BLIND_SPOT_WARNING_ENABLED
  Add HAL changes for FORWARD_COLLISION_WARNING_ENABLED
2023-01-04 16:51:59 +00:00
Aaqib Ismail
198148569e Merge "Add HAL changes for LANE_CENTERING_ASSIST_ENABLED" 2023-01-04 16:51:28 +00:00
Aaqib Ismail
ca76c73c0b Merge changes from topics "SteeringWheelLightsState", "SteeringWheelLightsSwitch"
* changes:
  Add HAL changes for STEERING_WHEEL_LIGHTS_SWITCH
  Add HAL changes for STEERING_WHEEL_LIGHTS_STATE
2023-01-04 02:49:02 +00:00
Aaqib Ismail
f9cd978f00 Merge "Add HAL changes for SEAT_HEADREST_HEIGHT_POS_V2 and deprecate SEAT_HEADREST_HEIGHT_POS" 2023-01-03 23:47:03 +00:00
Aaqib Ismail
4b8688ff02 Add HAL changes for STEERING_WHEEL_LIGHTS_SWITCH
Bug: 257268261
Test: atest VtsHalAutomotiveVehicle_TargetTest
      atest CtsCarTestCases:CarPropertyManagerTest
      atest CtsCarTestCases:VehiclePropertyIdsTest
Change-Id: Ic9aadf4adfaf38cdcb80bf0ea4d500ac1855e666
2023-01-03 23:01:20 +00:00
Aaqib Ismail
0dc7ba0df9 Add HAL changes for STEERING_WHEEL_LIGHTS_STATE
Bug: 257268085
Test: atest VtsHalAutomotiveVehicle_TargetTest
      atest CtsCarTestCases:CarPropertyManagerTest
      atest CtsCarTestCases:VehiclePropertyIdsTest
Change-Id: I64cbf203e806b8f74b8e26c68273da5a21bf4070
2023-01-03 23:00:20 +00:00
Aaqib Ismail
7a46cef00f Add HAL changes for LANE_DEPARTURE_WARNING_ENABLED
Bug: 261743848
Test: atest VtsHalAutomotiveVehicle_TargetTest
      atest CtsCarTestCases:CarPropertyManagerTest
      atest CtsCarTestCases:VehiclePropertyIdsTest
Change-Id: Ic9ea2df2a4b729619307f6aa12667d46ba4baa19
2023-01-03 13:55:30 -08:00
Aaqib Ismail
3f7177a9e1 Add HAL changes for BLIND_SPOT_WARNING_ENABLED
Bug: 261743498
Test: atest VtsHalAutomotiveVehicle_TargetTest
      atest CtsCarTestCases:CarPropertyManagerTest
      atest CtsCarTestCases:VehiclePropertyIdsTest
Change-Id: I311d832c3926a764d2d817977b275e8b85c47987
2023-01-03 13:55:30 -08:00
Aaqib Ismail
a251367e65 Add HAL changes for FORWARD_COLLISION_WARNING_ENABLED
Bug: 261743618
Test: atest VtsHalAutomotiveVehicle_TargetTest
      atest CtsCarTestCases:CarPropertyManagerTest
      atest CtsCarTestCases:VehiclePropertyIdsTest
Change-Id: I37cbb2830732ab6c8cc918d7d83725bf4a618bb0
2023-01-03 13:55:30 -08:00
Aaqib Ismail
b1680a7bb2 Add HAL changes for LANE_CENTERING_ASSIST_ENABLED
Bug: 261743713
Test: atest VtsHalAutomotiveVehicle_TargetTest
      atest CtsCarTestCases:CarPropertyManagerTest
      atest CtsCarTestCases:VehiclePropertyIdsTest
Change-Id: I16ea4aa8b21fe6e361afec36f9b4b0f751337757
2023-01-03 13:55:27 -08:00
Aaqib Ismail
5d53aa3b75 Add HAL changes for AUTOMATIC_EMERGENCY_BRAKING_ENABLED
Bug: 261743473
Test: atest VtsHalAutomotiveVehicle_TargetTest
      atest CtsCarTestCases:CarPropertyManagerTest
      atest CtsCarTestCases:VehiclePropertyIdsTest
Change-Id: I889c37a53949b5bd6cad7a376fab11b3dd455ebb
2023-01-02 15:39:35 -08:00
shrikar
93cf1beb8f Added SEAT_FOOTWELL_LIGHTS_SWITCH to hardware layer
Bug: 257268780
Test: atest VtsHalAutomotiveVehicle_TargetTest
Change-Id: If64a1a0488eea21e369c60d7206771f56ffaa53a
2022-12-22 16:59:13 +00:00
shrikar
fb65ae5f98 Added SEAT_FOOTWELL_LIGHTS_STATE to hardware layer
Bug: 257268511
Test: atest VtsHalAutomotiveVehicle_TargetTest
Change-Id: I51e02f8fb646ea032ecf325bd13efbc628a0b1f6
2022-12-22 16:57:44 +00:00
Aaqib Ismail
4e6144c946 Add HAL changes for SEAT_HEADREST_HEIGHT_POS_V2 and deprecate SEAT_HEADREST_HEIGHT_POS
This deprecation process is for the currently unusable property SEAT_HEADREST_HEIGHT_POS which targets the GLOBAL area type instead of the SEAT area type. This means that changes apply to all seats instead of individual seats. This new property addresses this issue and solves it.

Bug: 242587816
Test: atest VtsHalAutomotiveVehicle_TargetTest
      atest CtsCarTestCases:CarPropertyManagerTest
      atest CtsCarTestCases:VehiclePropertyIdsTest
Change-Id: I1102ffcac6e0c97d73dfc574a5c863a2082d8f3f
2022-12-22 00:56:44 -08:00
shrikar
8391447881 Added ENGINE_IDLE_AUTO_STOP_ENABLED to hardware layer.
Bug: 262765277
Test: VtsHalAutomotiveVehciel_TargetTest
Change-Id: I394cd50b236c3ff045993da9ac10a551cafe16ed
2022-12-16 22:03:19 +00:00
shrikar
6ae791692d Added SEAT_WALK_IN_POS to hardware layer.
Bug: 262765640
Test: atest VtsHalAutomotiveVehicle_TargetTest
Change-Id: I4c27a8670abeb905d54f9e188d218139c06c67bb
2022-12-16 16:44:12 +00:00
Aaqib Ismail
aec678ac7d Add HAL changes for EV_CURRENT_BATTERY_CAPACITY
Bug: 259451992
Test: atest VtsHalAutomotiveVehicle_TargetTest
      atest CtsCarTestCases:CarPropertyManagerTest
      atest CtsCarTestCases:VehiclePropertyIdsTest
Change-Id: Iafc291171e4ae571e5ca90715ea70d40208da144
2022-12-08 04:37:13 +00:00
Aaqib Ismail
6383653c81 Merge "Add HAL changes for EV_BRAKE_REGENERATION_LEVEL" 2022-12-07 23:45:22 +00:00
Shrikar Amirisetty
edba8ed357 Merge "Added SEAT_AIRBAG_ENABLED to hardware layer." 2022-11-30 07:30:33 +00:00
Aaqib Ismail
c69e968ba7 Add HAL changes for EV_BRAKE_REGENERATION_LEVEL
Bug: 259451659
Test: atest VtsHalAutomotiveVehicle_TargetTest
      atest CtsCarTestCases:CarPropertyManagerTest
      atest CtsCarTestCases:VehiclePropertyIdsTest
Change-Id: I07cf21f15cca0cebe25d65dd92eb1dff57c390a1
2022-11-28 23:59:36 +00:00
shrikar
2a081c5269 Added SEAT_LUMBAR_VERTICAL_MOVE to hardware layer
Bug: 257268500
Test: atest VtsHalAutomotiveVehicle_TargetTest
Change-Id: I437270c9bbc0ba37eecde1845a1f3a69b8b4007a
2022-11-23 22:29:04 +00:00
shrikar
eff71b2f83 Added SEAT_LUMBAR_VERTICAL_POS to hardware layer.
Bug: 257268339
Test: atest VtsHalAutomotiveVehicle_TargetTest
Change-Id: I698ff091e20a9a2c141687b0180d470c6652b12c
2022-11-23 22:28:56 +00:00
shrikar
1f0ce0d2d3 Added SEAT_CUSHION_SIDE_SUPPORT_MOVE to hardware layer.
Bug: 257268273
Test: atest VtsHalAutomotiveVehicle_TargetTest
Change-Id: I18d418556ed763fc12e875b74044ca9e292dcb67
2022-11-23 22:28:49 +00:00
Aaqib Ismail
d4d6adf1ec Add HAL changes for STEERING_WHEEL_EASY_ACCESS_ENABLED
Bug: 257267892
Test: atest VtsHalAutomotiveVehicle_TargetTest
      atest CtsCarTestCases:CarPropertyManagerTest
      atest CtsCarTestCases:VehiclePropertyIdsTest
Change-Id: I729b46f2cc3f41777c2d45eb84898b80fb2b4680
2022-11-19 00:31:08 +00:00
shrikar
b96e3766b9 Added SEAT_AIRBAG_ENABLED to hardware layer.
Bug: 257268798
Test: atest VtsHalAutomotiveVehicle_TargetTest
Change-Id: I60fbd303a5af6c25c9d242320865eb2cfd2ff61e
2022-11-18 23:37:53 +00:00
shrikar
802ecb524c Added SEAT_CUSHION_SIDE_SUPPORT_POS to hardware layer.
Bug: 257268342
Test: atest VtsHalAutomotiveVehicle_TargetTest
Change-Id: I2f8a64399f634a930e55d16700009652063adee6
2022-11-18 18:55:50 +00:00
shrikar
3326de0352 Added SEAT_EASY_ACCESS_ENABLED to hardware layer.
Bug: 257268353
Test: atest VtsHalAutomotiveVehicle_TargetTest
Change-Id: I31c9712d628e4be1e667ee9e7abedbc38c25f725
2022-11-18 18:54:32 +00:00
shrikar
a13672130f Added new properties MIRROR_AUTO_FOLD_ENABLED, MIRROR_AUTO_TILT_ENABLED
to hardware layer.

Bug: 255665707, 255666465
Test: atest VtsHalAutomotiveVehicle_TargetTest
Change-Id: I0323cac908424a82cbe7c9c2c77480cdaab01cc5
2022-11-17 10:48:56 -08:00
Aaqib Ismail
68d3f12869 Add HAL changes for STEERING_WHEEL_LOCKED
Bug: 257267840
Test: atest VtsHalAutomotiveVehicle_TargetTest
      atest CtsCarTestCases:CarPropertyManagerTest
      atest CtsCarTestCases:VehiclePropertyIdsTest
Change-Id: Ie493bc51f66d76effc7d9591c491d583ace1c2e3
2022-11-16 18:27:35 +00:00
Aaqib Ismail
8d05118d79 Add HAL changes for STEERING_WHEEL_THEFT_LOCK_ENABLED
Bug: 257267788
Test: atest VtsHalAutomotiveVehicle_TargetTest
      atest CtsCarTestCases:CarPropertyManagerTest
      atest CtsCarTestCases:VehiclePropertyIdsTest
Change-Id: I1e75635f409c740b6517ca17a7c48ceabe8db475
2022-11-16 00:01:15 -08:00
Aaqib Ismail
6c4bf195bb Add HAL changes for STEERING_WHEEL_HEIGHT_MOVE
Bug: 257267721
Test: atest VtsHalAutomotiveVehicle_TargetTest
      atest CtsCarTestCases:CarPropertyManagerTest
      atest CtsCarTestCases:VehiclePropertyIdsTest
Change-Id: I335f01415798bee322d15b551999e3a959356362
2022-11-15 21:01:18 -08:00
Aaqib Ismail
53b81c9035 Add HAL changes for STEERING_WHEEL_HEIGHT_POS
Bug: 257267718
Test: atest VtsHalAutomotiveVehicle_TargetTest
      atest CtsCarTestCases:CarPropertyManagerTest
      atest CtsCarTestCases:VehiclePropertyIdsTest
Change-Id: I63ea5ac5d7d238799a2300a06b93fc40155d2801
2022-11-12 17:32:14 -08:00
Aaqib Ismail
34fe92f6cb Add HAL changes for STEERING_WHEEL_DEPTH_MOVE
Bug: 257267543
Test: atest VtsHalAutomotiveVehicle_TargetTest
      atest CtsCarTestCases:CarPropertyManagerTest
      atest CtsCarTestCases:VehiclePropertyIdsTest
Change-Id: I8aecb04b38a4ec985d1efe7fdd53f18a2bc80432
2022-11-09 13:40:03 -08:00
Aaqib Ismail
7f941b4d2c Add HAL changes for STEERING_WHEEL_DEPTH_POS
Bug: 257267540
Test: atest VtsHalAutomotiveVehicle_TargetTest
      atest CtsCarTestCases:CarPropertyManagerTest
      atest CtsCarTestCases:VehiclePropertyIdsTest
Change-Id: I0908e4262bc643a3fd39d351e4696b13ae3d0713
2022-11-09 13:38:16 -08:00
Aaqib Ismail
2048670d42 Add HAL changes for DOOR_CHILD_LOCK_ENABLED
Bug: 255664772
Test: atest VtsHalAutomotiveVehicle_TargetTest
      atest CtsCarTestCases:CarPropertyManagerTest
      atest CtsCarTestCases:VehiclePropertyIdsTest
Change-Id: I69ff243f81c135673bb202a9c95d8e75d894a8f8
2022-11-07 10:35:04 -08:00
Filip
96617435b7 Add automotive-general-tests tag to the test
Test: manual

Bug: 246471877

Change-Id: Idb97b33b8f3b2a18fa9b43199e069c03bf40b44d
2022-09-26 19:05:59 +00:00
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