Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cf854bad authored by Aaqib Ismail's avatar Aaqib Ismail
Browse files

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
parent 28ee23c0
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -3429,6 +3429,10 @@ enum VehicleProperty {
     * Set true to enable AEB and false to disable AEB. When AEB is enabled, the ADAS system in the
     * vehicle should be turned on and monitoring to avoid potential collisions.
     *
     * IVehicle#get must not return any NOT_AVAILABLE value in StatusCode. Other StatusCode values
     * like TRY_AGAIN may still be used as needed. For example, if AEB is not available because the
     * vehicle speed is too low, IVehicle#get must return false.
     *
     * This property is defined as read_write, but OEMs have the option to implement it as read
     * only.
     *