Commit graph

68 commits

Author SHA1 Message Date
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
Tyler Trephan
2fa1126ee3 Created OWNERS file for aidl_property and added tylertrephan@google.com
Test: None
Fix: 255430764
Change-Id: I41ce607225a5955267bbc027580eb831d821bfa2
2023-02-08 00:57:02 +00:00
Yu Shan
76a464073d Define VEHICLE_IN_USE property.
Test: m -j android.hardware.automotive.vehicle.property-update-api
Bug: 267813114
Change-Id: I366117ff228f75b607fda97888075bd355638cf4
2023-02-06 16:09:31 -08:00
shrikar
05049a153a Fixed ErrorState.aidl to include int backing.
Bug: 267228426
Test: atest CarPropertyManagerTest
Change-Id: Ibd223f784b1694c844d8fb4025aaefccb6e7de8f
2023-01-31 23:07:00 +00:00
Aaqib Ismail
442c89c4cb Update automotive generated AIDL files
Bug: 266986551
Test: atest VtsHalAutomotiveVehicle_TargetTest
Test: atest CtsCarTestCases:CarPropertyManagerTest
Test: atest CtsCarTestCases:VehiclePropertyIdsTest
Change-Id: Iedf926b34839e00e224653e6bdcf8fd440c4acf5
2023-01-31 07:33:58 -08:00
TreeHugger Robot
68f58940bb Merge "Update BLIND_SPOT_WARNING_ENABLED documentation in HAL" 2023-01-31 03:25:54 +00:00
Shrikar Amirisetty
a78cbdb154 Merge "Shifted unique IDS of HOD and Driver Attention Monitoring Enabled in HAL" 2023-01-31 01:23:31 +00:00
Aaqib Ismail
08e0026339 Update BLIND_SPOT_WARNING_ENABLED documentation in HAL
An implementation of BLIND_SPOT_WARNING_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: 264946039
Test: atest VtsHalAutomotiveVehicle_TargetTest
Change-Id: I3f8765b9bbaa96931dd2ae0bab1c8fbc913b261c
2023-01-30 10:07:42 -08:00
Aaqib Ismail
5fc97bb5bf Add HAL changes for BLIND_SPOT_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: 264946039
Test: atest VtsHalAutomotiveVehicle_TargetTest
Test: atest CtsCarTestCases:CarPropertyManagerTest
Test: atest CtsCarTestCases:VehiclePropertyIdsTest
Test: atest CtsCarTestCases:BlindSpotWarningStateTest
Test: atest AndroidCarApiTest:BlindSpotWarningStateTest
Change-Id: Idc64af44ecdf33ee5c89d3bf7d303498d80a0d14
2023-01-30 10:06:42 -08:00
shrikar
64212ebb2e Shifted unique IDS of HOD and Driver Attention Monitoring Enabled in HAL
Since 1 new ACC property had been introduced, we decided to shift the
unique IDs of all the ADAS properties that come after it, namely the HOD
and Driver attention monitoring properties, by 1.

Bug: 266850785
Test: atest CarPropertyManagerTest
Change-Id: I63e296c03dbac678eaed6e35d68c8cacc383f949
2023-01-27 18:49:31 +00:00
Aaqib Ismail
ae119c5198 Update ADAS ENABLED properties documentation if property unavailable
An implementation of AUTOMATIC_EMERGENCY_BRAKING_ENABLED or FORWARD_COLLISION_WARNING_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: 264946034
Test: atest VtsHalAutomotiveVehicle_TargetTest
Change-Id: Ieddbcdf766543cfb94cb5b295b22ac4369641c81
2023-01-23 15:51:50 -08:00
Aaqib Ismail
0a1ab29d5f Revert^2 "Add HAL changes for FORWARD_COLLISION_WARNING_STATE"
5ffba9ec3d

Change-Id: If381249e155e450e47240301c263bcd1538ec071
2023-01-20 03:52:21 +00:00
Aaqib Ismail
5ffba9ec3d Revert "Add HAL changes for FORWARD_COLLISION_WARNING_STATE"
Revert submission 20919248-ForwardCollisionWarningState

Reason for revert: Build breakage

Reverted changes: /q/submissionid:20919248-ForwardCollisionWarningState

Change-Id: I8d0704948bb2dc61c0e1b4a220a97a834315bcf4
2023-01-19 00:36:58 +00:00
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
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