Commit graph

1227 commits

Author SHA1 Message Date
shrikar
fde8c2428e Added CRUISE_CONTROL_TARGET_SPEED to HAL layer.
Bug: 266861469
Test: atest VtsHalAutomotiveVehicle_TargetTest
Change-Id: Ie156bf9df65024bc39e4a1cd40fa870aa69d3a57
Merged-In: Ie156bf9df65024bc39e4a1cd40fa870aa69d3a57
2023-02-22 16:58:23 +00:00
Eric Jeong
a9a3ec3e1a Add PASSENGER_DISPLAY_BRIGHTNESS property
- DISPLAY_BRIGHTNESS can send a brightness to be applied on one display.
- On multi-display devices, brightness of each display should be
  communicated separately to VHAL.
- PASSENGER_DISPLAY_BRIGHTNESS is added to serve that purpose.

Bug: 269186221
Test: build okay
Change-Id: I749ecd451afc4f24039f6e594860f1cb0fcf3509
(cherry picked from commit b9748bad63)
Merged-In: I749ecd451afc4f24039f6e594860f1cb0fcf3509
2023-02-17 18:03:39 +00:00
Terry Guan
e9d306d75e Merge "Added additional comments for vendor error codes" 2023-02-17 00:02:38 +00:00
Aaqib Ismail
48d2e1c688 Merge "Add missing documentation in HAL for enum states" 2023-02-16 21:35:10 +00:00
Aaqib Ismail
68175631b6 Add missing documentation in HAL for enum states
This change for WindshieldWipersState, VehicleOilLevel, and
TrailerState aligns the documentation in the HAL with the API level.

Bug: 269329431
Test: presubmit
Change-Id: I115ac9a6f03c051b0de526e60a44dca41220533f
2023-02-16 19:49:12 +00:00
Terry Guan
543009b95e Added additional comments for vendor error codes
Added documentation for vendor code of 0 as well as changing the value
of vendor codes to be from 0x0001 to 0xffff

Bug: 268748245
Test: manual
Change-Id: I355524acc0094bbf3ecd5183df77cbeea82d55b1
2023-02-16 09:33:48 -08:00
Aaqib Ismail
c0da595666 Merge "Add HAL changes for WINDSHIELD_WIPERS_SWITCH" 2023-02-16 05:00:40 +00:00
Aaqib Ismail
c37a211ed5 Add HAL changes for WINDSHIELD_WIPERS_SWITCH
Bug: 266986465
Test: atest VtsHalAutomotiveVehicle_TargetTest
Test: atest CtsCarTestCases:CarPropertyManagerTest
Test: atest CtsCarTestCases:VehiclePropertyIdsTest
Test: atest CtsCarTestCases:WindshieldWipersSwitchTest
Test: atest AndroidCarApiTest:WindshieldWipersSwitchTest
Change-Id: Idebd9dea3e03a8c37984af87a502c23d55433b73
2023-02-15 13:24:52 -08:00
shrikar
22164c6be5 Added DRIVER_ATTENTION_MONITORING_STATE to HAL layer.
Bug: 264946416
Test: atest VtsHalAutomotiveVehicle_TargetTest
Change-Id: Ie68b718d719dc5de050d31f6dd614ce5e9ecb32c
2023-02-15 17:12:04 +00:00
shrikar
39859e91e8 Added DRIVER_ATTENTION_MONITORING_WARNING to HAL layer.
Bug: 264946418
Test: atest VtsHalAutomotiveVehicle_TargetTest
Change-Id: I7eb6fd0c781c5b4bf500e9d137a74860100f6be4
2023-02-15 17:11:04 +00:00
shrikar
a6785997b3 Added HANDS_ON_DETECTION_WARNING to HAL layer.
Bug: 264946505
Test: atest VtsHalAutomotiveVehicle_TargetTest
Change-Id: Idc807524b06e8001a795d63f9ad2f1294a834a0f
2023-02-15 17:09:11 +00:00
shrikar
6d88bf5b9a Added HANDS_ON_DETECTION_DRIVER_STATE to HAL layer
Bug: 264946425
Test: atest VtsHalAutomotiveVehicle_TargetTest
Change-Id: I89ed7c254917eb48b69682b18950c15f60afd2f0
2023-02-15 17:08:34 +00:00
Shrikar Amirisetty
a3ebd83775 Merge changes from topics "cc_command", "cc_state", "cc_type", "elka_state", "rename_acc"
* changes:
  Added CRUISE_CONTROL_COMMAND to HAL layer.
  Added CRUISE_CONTROL_STATE to HAL layer.
  Added CRUISE_CONTROL_TYPE to HAL layer.
  Added EMERGENCY_LANE_KEEP_ASSIST_STATE to HAL layer.
  Renamed ADAPTIVE_CRUISE_CONTROL_ENABLED to CRUISE_CONTROL_ENABLED in HAL
2023-02-15 16:49:59 +00:00
TreeHugger Robot
83c9899fb1 Merge "Add new EVS service types" 2023-02-14 20:51:17 +00:00
shrikar
5df0f9574c Added CRUISE_CONTROL_COMMAND to HAL layer.
Bug: 266861468
Test: atest VtsHalAutomotiveVehicle_TargetTest
Change-Id: I7c6ca1d392932158ae3016194b6c092c03b7a44e
2023-02-14 19:32:28 +00:00
shrikar
2753b9edff Added CRUISE_CONTROL_STATE to HAL layer.
Bug: 266866448
Test: atest VtsHalAutomotiveVehicle_TargetTest
Change-Id: I35a10ba6a3799a86265fc26d8d0643b7d7bdd446
2023-02-14 19:32:17 +00:00
shrikar
d440ed4177 Added CRUISE_CONTROL_TYPE to HAL layer.
Bug: 266858123
Test: atest VtsHalAutomotiveVehicle_TargetTest
Change-Id: I2a8c6ac72c1c6f3feb90ffeb7a7b7f8fef0443c7
2023-02-14 19:32:08 +00:00
shrikar
80cc0c5a32 Added EMERGENCY_LANE_KEEP_ASSIST_STATE to HAL layer.
Bug: 264946353
Test: atest VtsHalAutomotiveVehicle_TargetTest
Change-Id: I16a046e0eed02ba79bf7ed6212e9063b91b9f43a
2023-02-14 19:32:00 +00:00
shrikar
5d1b816b8d Renamed ADAPTIVE_CRUISE_CONTROL_ENABLED to CRUISE_CONTROL_ENABLED in HAL
Bug: 261737998
Test: atest VtsHalAutomotiveVehicle_TargetTest
Change-Id: I34ad0ba32a5f2ad2037fbe65c011c63d400a12e4
2023-02-14 16:41:22 +00:00
TreeHugger Robot
410310aa4f Merge "Update BLIND_SPOT_WARNING_ENABLED documentation in HAL" 2023-02-10 04:49:08 +00:00
Aaqib Ismail
c10e6cb721 Merge "Add MILLI_SECS to VehicleUnit.aidl" 2023-02-10 02:27:21 +00:00
Aaqib Ismail
ff29c893c0 Merge changes from topics "LaneCenteringAssistCommand", "LaneCenteringAssistState", "LaneDepartureWarningState"
* changes:
  Update FORWARD_COLLISION_WARNING_ENABLED documentation in HAL
  Update AUTOMATIC_EMERGENCY_BRAKING_ENABLED documentation in HAL
  Update LANE_DEPARTURE_WARNING_ENABLED documentation in HAL
  Add HAL changes for LANE_DEPARTURE_WARNING_STATE
  Add HAL changes for LANE_CENTERING_ASSIST_COMMAND
  Update LANE_CENTERING_ASSIST_ENABLED documentation in HAL
  Add HAL changes for LANE_CENTERING_ASSIST_STATE
2023-02-10 02:26:18 +00:00
Eva Chen
f2202358a5 Merge "Add explanatory note to ADAS properties." 2023-02-10 01:19:56 +00:00
Aaqib Ismail
9f398eb933 Merge "Update LANE_KEEP_ASSIST_ENABLED documentation in HAL" 2023-02-09 20:04:45 +00:00
Changyeon Jo
f8091f5d08 Add new EVS service types
This change adds below new service types to EvsServiceType enum.
- FRONTVIEW
- LEFTVIEW
- RIGHTVIEW
- DRIVERVIEW
- FRONTPASSENGERSVIEW
- REARPASSENGERSVIEW
- USER_DEFINED

Bug: 191940626
Test: m -j
Change-Id: I907cd8e588e38659eedb77ac882b3a498f75f2d3
2023-02-09 11:21:16 -08:00
Aaqib Ismail
dacd5b0512 Update BLIND_SPOT_WARNING_ENABLED documentation in HAL
Temporary errors should be conveyed through ErrorState values in the
STATE property.

Bug: 264946039
Test: presubmit
Change-Id: I06092b1571aaa63ab165a8e2a2d04f9d57eccb64
2023-02-09 10:17:08 -08:00
Aaqib Ismail
326c88dd0f Update FORWARD_COLLISION_WARNING_ENABLED documentation in HAL
Temporary errors should be conveyed through ErrorState values in the
STATE property.

Bug: 264946034
Test: presubmit
Change-Id: I720dd691bc859d3113fa48f0f5b9a0b4a909d952
2023-02-09 10:14:34 -08:00
Aaqib Ismail
d76f8458a6 Update AUTOMATIC_EMERGENCY_BRAKING_ENABLED documentation in HAL
Temporary errors should be conveyed through ErrorState values in the
STATE property.

Bug: 264336118
Test: presubmit
Change-Id: I28de0aceaabb33647085d80b79da215da4a146cf
2023-02-09 10:13:04 -08:00
Aaqib Ismail
162976161a Update LANE_DEPARTURE_WARNING_ENABLED documentation in HAL
Temporary errors should be conveyed through ErrorState values in the
STATE property.

Bug: 266998630
Test: presubmit
Change-Id: If1acfe2454d552b2339c636cd7d790fa42f3bc10
2023-02-09 10:12:41 -08:00
Aaqib Ismail
8462db5859 Add HAL changes for LANE_DEPARTURE_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: 266998630
Test: atest VtsHalAutomotiveVehicle_TargetTest
Test: atest CtsCarTestCases:CarPropertyManagerTest
Test: atest CtsCarTestCases:VehiclePropertyIdsTest
Test: atest CtsCarTestCases:LaneDepartureWarningStateTest
Test: atest AndroidCarApiTest:LaneDepartureWarningStateTest
Change-Id: Ic26fcfe8b41bb44a851daf59d64f0ceb536333c3
2023-02-09 10:12:34 -08:00
Aaqib Ismail
0ffd39c1e4 Add HAL changes for LANE_CENTERING_ASSIST_COMMAND
Bug: 264946354
Test: atest VtsHalAutomotiveVehicle_TargetTest
Test: atest CtsCarTestCases:CarPropertyManagerTest
Test: atest CtsCarTestCases:VehiclePropertyIdsTest
Test: atest CtsCarTestCases:LaneCenteringAssistCommandTest
Test: atest AndroidCarApiTest:LaneCenteringAssistCommandTest
Change-Id: I126ed24748f9ef7cd9bc0541e2bdbf75eac43edf
2023-02-09 10:12:26 -08:00
Aaqib Ismail
f5b63fcf13 Update LANE_CENTERING_ASSIST_ENABLED documentation in HAL
Temporary errors should be conveyed through ErrorState values in the
STATE property.

Bug: 264946042
Test: presubmit
Change-Id: Idfd427fb69948f81307c29acd6285826e2cada99
2023-02-09 10:12:01 -08:00
Aaqib Ismail
db03444d5a Add HAL changes for LANE_CENTERING_ASSIST_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: 264946042
Test: atest VtsHalAutomotiveVehicle_TargetTest
Test: atest CtsCarTestCases:CarPropertyManagerTest
Test: atest CtsCarTestCases:VehiclePropertyIdsTest
Test: atest CtsCarTestCases:LaneCenteringAssistStateTest
Test: atest AndroidCarApiTest:LaneCenteringAssistStateTest
Change-Id: I3f805bedff35eef2731a7d9fc0bec593e3c639a3
2023-02-09 10:11:25 -08:00
Aaqib Ismail
38ca038608 Update LANE_KEEP_ASSIST_ENABLED documentation in HAL
Temporary errors should be conveyed through ErrorState values in the
STATE property.

Bug: 264946157
Test: presubmit
Change-Id: I1ac2d570ff47efb879acdef110e9775baf6cea4b
2023-02-09 10:10:49 -08:00
TreeHugger Robot
28224192ba Merge changes from topics "GloveBoxLocked", "GloveBoxOpened"
* changes:
  Add HAL changes for GLOVE_BOX_LOCKED
  Add HAL changes for GLOVE_BOX_DOOR_POS
2023-02-09 17:54:51 +00:00
Aaqib Ismail
732a1d77b0 Add HAL changes for WINDSHIELD_WIPERS_STATE
Bug: 266985981
Test: atest VtsHalAutomotiveVehicle_TargetTest
Test: atest CtsCarTestCases:CarPropertyManagerTest
Test: atest CtsCarTestCases:VehiclePropertyIdsTest
Test: atest CtsCarTestCases:WindshieldWipersStateTest
Test: atest AndroidCarApiTest:WindshieldWipersStateTest
Change-Id: I0c23d71f5d020886733ffebf8d11fe17172e3683
2023-02-09 06:43:18 +00:00
Aaqib Ismail
63d52d1d59 Add HAL changes for WINDSHIELD_WIPERS_PERIOD
Bug: 266986551
Test: atest VtsHalAutomotiveVehicle_TargetTest
Test: atest CtsCarTestCases:CarPropertyManagerTest
Test: atest CtsCarTestCases:VehiclePropertyIdsTest
Test: atest CtsPermission2TestCases:PermissionPolicyTest
Change-Id: Icf06bd00a55a46769d6cca9ecc37e31227e0e16a
2023-02-09 06:42:36 +00:00
Terry Guan
f5555f4408 Merge "Changed Status code" 2023-02-09 03:54:06 +00:00
Aaqib Ismail
654e766039 Merge "Add HAL changes for LANE_KEEP_ASSIST_STATE" 2023-02-08 23:29:34 +00:00
Aaqib Ismail
78db2ca676 Add HAL changes for LANE_KEEP_ASSIST_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: 264946157
Test: atest VtsHalAutomotiveVehicle_TargetTest
Test: atest CtsCarTestCases:CarPropertyManagerTest
Test: atest CtsCarTestCases:VehiclePropertyIdsTest
Test: atest CtsCarTestCases:LaneKeepAssistStateTest
Test: atest AndroidCarApiTest:LaneKeepAssistStateTest
Change-Id: I60ea32b21dc79d692eeb733e4b38deb16a3231f2
2023-02-08 14:49:12 -08:00
Aaqib Ismail
38ecabbabf Add HAL documentation for ErrorState values
Bug: 267174892
Test: presubmit
Change-Id: I724a9e633011cf664b7f9e0b62106074a2d9e7c6
2023-02-07 23:49:44 -08:00
Aaqib Ismail
5e1b683b2a Add NOT_AVAILABLE_POOR_VISIBILITY to supportedEnumValues
Update supportedEnumValues array for ADAS STATE properties with new
state. Adjust defaultValue to a more sensible value for ADAS
properties.

Bug: 267174892
Test: presubmit
Change-Id: I2e2c130524156a8ef302ea774ce4dcbfe1260c4a
2023-02-07 23:49:44 -08:00
Aaqib Ismail
34454421e8 Add NOT_AVAILABLE_POOR_VISIBILITY to ErrorState in HAL
Added NOT_AVAILABLE_POOR_VISIBILITY to ErrorState enum between
NOT_AVAILABLE_SPEED_HIGH and NOT_AVAILABLE_SAFETY to be consistent with
StatusCode.

Bug: 267174892
Test: atest CtsCarTestCases:CarPropertyManagerTest
Test: atest AndroidCarApiTest:ErrorStateTest
Change-Id: Iad0edb555c7d0f6c3f4570cb489663e65eb08fd4
2023-02-07 23:49:43 -08:00
Aaqib Ismail
ebf1303803 Add MILLI_SECS to VehicleUnit.aidl
VehicleUnit contains MILLI_SECS in types.hal but not in
VehicleUnit.aidl.

Bug: 267556675
Test: atest VehicleUnitTest
Change-Id: I9616ab75575da32b108e1fca811357ea7464b12d
2023-02-07 23:43:45 -08:00
Aaqib Ismail
57be403812 Add HAL changes for GLOVE_BOX_LOCKED
Bug: 259434512
Test: atest VtsHalAutomotiveVehicle_TargetTest
Test: atest CtsCarTestCases:CarPropertyManagerTest
Test: atest CtsCarTestCases:VehiclePropertyIdsTest
Change-Id: Iab43d0f65d3e3b0e7ff15aaf29c70eb9e4501e12
2023-02-07 23:40:09 -08:00
Arati Gerdes
d86c7fd877 Add HAL changes for GLOVE_BOX_DOOR_POS
Test: atest CtsCarTestCases:CarPropertyManagerTest
Bug: 259434426
Change-Id: I2936baae6b6bf3ce4dd0a88e3a3b58fa5c794e76
2023-02-07 23:37:42 -08:00
Terry Guan
197ac1301a Changed Status code
Changed status code comment to reflect changes for vendor error codes.

Bug: 268261402
Test: atest CarPropertyManagerUnitTest
Change-Id: I232f429c4d6caea7ee6736554e84cbbc64ed9996
2023-02-07 20:43:25 -08:00
Eva Chen
370f10e3c1 Add explanatory note to ADAS properties.
Bug: 255851113
Test: Presubmit only. Documentation only change.
Change-Id: I159ed7d5a05cdd412b7b76cda14709195f04c260
2023-02-07 20:15:22 -08:00
TreeHugger Robot
22e54da5c6 Merge "Created OWNERS file for aidl_property and added tylertrephan@google.com" 2023-02-08 02:25:25 +00:00
Yu Shan
816b73b1b5 Merge "Define VEHICLE_IN_USE property." 2023-02-08 01:51:26 +00:00