Aaqib Ismail
f59b886f80
Add HAL changes for FORWARD_COLLISION_WARNING_STATE
...
This property supports error states in addition to its own state.
This is why the comments mention two @data_enums for this property.
This works because states are integer values so as long as all states
have distinct integer values, this functions correctly.
Bug: 264946034
Test: atest VtsHalAutomotiveVehicle_TargetTest
Test: atest CtsCarTestCases:CarPropertyManagerTest
Test: atest CtsCarTestCases:VehiclePropertyIdsTest
Test: atest ForwardCollisionWarningStateTest
Change-Id: Ib9292d8e64cc0d404065efccbfcf7fabd9fd1f69
2023-01-17 15:13:16 -08:00
Aaqib Ismail
cf854badaf
Update AUTOMATIC_EMERGENCY_BRAKING_ENABLED documentation in HAL
...
An implementation of AUTOMATIC_EMERGENCY_BRAKING_ENABLED should return
false when there's an issue with the ADAS system and it cannot retrieve
the property. It should not return NOT_AVAILABLE.
Bug: 264336118
Test: atest VtsHalAutomotiveVehicle_TargetTest
Change-Id: I2dab0c48865ed1ccc40433b9fbe5ea341a2488f3
2023-01-17 15:13:13 -08:00
Aaqib Ismail
28ee23c0fd
Add HAL changes for AUTOMATIC_EMERGENCY_BRAKING_STATE
...
This property supports error states in addition to its own state.
This is why the comments mention two @data_enums for the property.
This works because states are integer values so as long as all states
have distinct integer values, this functions correctly.
Bug: 264336118
Test: atest VtsHalAutomotiveVehicle_TargetTest
Test: atest CtsCarTestCases:CarPropertyManagerTest
Test: atest CtsCarTestCases:VehiclePropertyIdsTest
Test: atest AutomaticEmergencyBrakingStateTest
Test: atest ErrorStateTest
Change-Id: I6acf5958caf00822b1455915cc715e04453d0bbd
2023-01-17 15:02:57 -08:00
Shrikar Amirisetty
9c55cdbadd
Merge "Made default units consistent in deprecated DefaultConfig.h"
2023-01-13 23:07:18 +00:00
Yu Shan
f3eec35b15
Merge "Split VHAL property into a separate AIDL interface."
2023-01-13 21:27:43 +00:00
shrikar
417865dcdc
Made default units consistent in deprecated DefaultConfig.h
...
Bug: 259879204
Test: Presubmit
Change-Id: Ic03687406d5a8860717da6f0d871df967dafce81
2023-01-13 01:43:37 +00:00
Eva Chen
fc963e6420
Merge "Update VtsHalAutomotiveVehicleTargetTest::verifyProperty to only run on implemented properties."
2023-01-10 18:44:34 +00:00
Eva Chen
17bc578112
Update VtsHalAutomotiveVehicleTargetTest::verifyProperty to only run on implemented properties.
...
Bug: 264730687
Test: atest VtsHalAutomotiveVehicle_TargetTest
Change-Id: I027e2324f30b34600bc1036bfcdd1547b245667f
2023-01-09 21:26:00 -08:00
TreeHugger Robot
78acb2e350
Merge changes from topic "vhal_static_lib"
...
* changes:
Define a makefile for vhal static libs.
Make HVAC dep properties unavailable to get when power is off.
2023-01-10 03:19:03 +00:00
Yu Shan
4247384b4d
Split VHAL property into a separate AIDL interface.
...
Split VHAL property definitions and enums out from the VHAL interface
so that we can update the property separatly. This allows us to
backport new property definition to older releases more easily.
Test: Manual build
Bug: 264600792
Change-Id: I6040a1d4d7832a970a5ad5e5a28c359b15b402fb
2023-01-09 16:52:38 -08:00
TreeHugger Robot
589fb1a134
Merge "Add --keyinputv2 and --motioninput options to genfakedata."
2023-01-07 08:01:33 +00:00
Gaurav Bhola
259c71fdf5
Add --keyinputv2 and --motioninput options to genfakedata.
...
- These are required to send keyinputv2 and motioninput events via fake
VHal.
Fix: 263184145
Test: Manually tested by sending events
Test: atest FakeVehicleHardwareTest
Change-Id: I078f6e27d4a0de5ac145f9c2058f53f8567ba293
2023-01-06 18:10:55 -08:00
Yu Shan
842efa2ebb
Define a makefile for vhal static libs.
...
This prepares for upcoming VHAL interface split.
Test: Manual build
Bug: 264600792
Change-Id: I1686d37ac07d53f3e9c92302a9097844b54e9fc7
2023-01-06 17:01:08 -08:00
Yu Shan
ddf0ea0d8f
Make HVAC dep properties unavailable to get when power is off.
...
Previously HVAC properties are unavailable to set when hvac power is
off. This CL makes VHAL returns NOT_AVAILABLE for get as well. VHAL
will also generate property change event when the power is switched
on again.
Test: atest FakeVehicleHardwareTest
Bug: 262461830
Change-Id: I17ca8a4e48f3ff5854226a6a38a42220078073d5
2023-01-06 17:01:08 -08:00
TreeHugger Robot
b6bfd93aa9
Merge "Move startThreadPool up in VHAL init."
2023-01-06 22:55:34 +00:00
Shrikar Amirisetty
5bef862c38
Merge "Added DRIVER_ATTENTION_MONITORING_ENABLED to hardware layer."
2023-01-05 18:18:33 +00:00
Aaqib Ismail
ef35a21716
Merge "Add HAL changes for LANE_KEEP_ASSIST_ENABLED"
2023-01-05 17:24:00 +00:00
Aaqib Ismail
20cc66a8e0
Add HAL changes for LANE_KEEP_ASSIST_ENABLED
...
Bug: 261743711
Test: atest VtsHalAutomotiveVehicle_TargetTest
atest CtsCarTestCases:CarPropertyManagerTest
atest CtsCarTestCases:VehiclePropertyIdsTest
Change-Id: I9e8dbb601ad320357d062aa665a9a9ba215b469a
2023-01-05 02:01:01 +00:00
TreeHugger Robot
7bf9fdb69e
Merge "Updated HVAC_TEMPERATURE_SET configArray ranges"
2023-01-05 01:20:10 +00:00
Shrikar Amirisetty
a5e546788e
Merge changes from topics "adaptive_cruise_control_enabled", "emergency_lane_keep_assist_enabled", "hands_on_detection_enabled"
...
* changes:
Added HANDS_ON_DETECTION_ENABLED to hardware layer.
Added ADAPTIVE_CRUISE_CONTROL_ENABLED to hardware layer.
Added EMERGENCY_LANE_KEEP_ASSIST_ENABLED to hardware layer.
2023-01-04 23:32:43 +00:00
Yu Shan
1edc327a39
Move startThreadPool up in VHAL init.
...
This should improve the VHAL bootup performance.
Test: Manual build
Bug: 264442710
Change-Id: Ifd85d0f9ad33ac2dd71cbcb986370dc6bb2265aa
2023-01-04 13:49:58 -08:00
Shrikar Amirisetty
d30ff95a38
Merge "Added EV_STOPPING_MODE to hardware layer."
2023-01-04 20:47:23 +00:00
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
shrikar
2c7aaa6588
Added DRIVER_ATTENTION_MONITORING_ENABLED to hardware layer.
...
Bug: 261739791
Test: atest VtsHalAutomotiveVehicle_TargetTest
Change-Id: I6452d0660d0625f7fde4ba87097d16d8dd28b656
2023-01-04 18:25:32 +00:00
shrikar
37833e1700
Added HANDS_ON_DETECTION_ENABLED to hardware layer.
...
Bug: 261739790
Test: atest VtsHalAutomotiveVehicle_TargetTest
Change-Id: I382bad54ba5c26f398b9d925e9dd1672446b684b
2023-01-04 17:40:59 +00:00
shrikar
808a294ee1
Added ADAPTIVE_CRUISE_CONTROL_ENABLED to hardware layer.
...
Bug: 261737998
Test: atest VtsHalAutomotiveVehicle_TargetTest
Change-Id: I2343329b9ea086b1fa7c22c644e8f02534cbd41b
2023-01-04 17:21:42 +00:00
shrikar
668df368a5
Added EMERGENCY_LANE_KEEP_ASSIST_ENABLED to hardware layer.
...
Bug: 261743859
Test: atest VtsHalAutomotiveVehicle_TargetTest
Change-Id: I498061d9ef7f8ff5e21db96c9911f7c485377eab
2023-01-04 17:19:32 +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
Tyler Trephan
19207b6350
Updated HVAC_TEMPERATURE_SET configArray ranges
...
Test: atest CarPropertyManagerTest
Bug: 264304693
Change-Id: I83c2baef2cf76318bb75c90007986e2d75fd9493
2023-01-03 22:53:49 +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
Yu Shan
b2c10d6bf4
Merge "Update doc for subscribing unavailable props."
2022-12-23 02:51:14 +00:00
shrikar
2dae80f739
Added EV_STOPPING_MODE to hardware layer.
...
Bug: 262901831
Test: atest VtsHalAutomotiveVehicle_TargetTest
Change-Id: I11dd297c96594c864beaf4917f3a2a3706a0cd76
2022-12-22 23:34:00 +00: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
Yu Shan
9c69ed1697
Update doc for subscribing unavailable props.
...
Test: None
Bug: 258513729
Change-Id: I31f0a9490d3462bcc1266d14b4b3b893ce1d03a0
2022-12-21 17:18:28 -08:00
shrikar
f77f97462b
Fixed DefaultProperties.json formatting to avoid repohook failure.
...
Bug: 261481870
Test: Repohook
Change-Id: Id45469a70605e0239dbeccd3c7346d3b733a3ed1
2022-12-21 19:43:44 +00:00
Shrikar Amirisetty
f0c24dadb0
Merge changes from topics "engine_auto_idle_stop_enabled", "seat_walk_in_pos"
...
* changes:
Added ENGINE_IDLE_AUTO_STOP_ENABLED to hardware layer.
Added SEAT_WALK_IN_POS to hardware layer.
2022-12-21 17:38:26 +00:00
Shrikar Amirisetty
ce4f43b79e
Merge "Change min/max values to match config array in DefaultProperties.json"
2022-12-20 23:49:27 +00: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
Tyler Trephan
5f66ad09b9
Merge "Added new supportedEnumValues to VehicleAreaConfig.aidl file"
2022-12-16 19:15:31 +00:00