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

Commit ad94b753 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Update behavior of EV_PORT_LOCATION properties HAL docs in multiport EVs" into main

parents 8892a927 aff4c556
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -67,7 +67,7 @@
                    "PortLocationType"
                ],
                "data_enum": "PortLocationType",
                "description": "EV port location"
                "description": "EV port location\nThis property must communicate the location of the charging port on the EV using the PortLocationType enum. If there are multiple ports available on the vehicle, this property must return the port that allows the fastest charging. To communicate all port locations, use INFO_MULTI_EV_PORT_LOCATIONS."
            },
            {
                "name": "INFO_DRIVER_SEAT",
@@ -90,7 +90,7 @@
                    "PortLocationType"
                ],
                "data_enum": "PortLocationType",
                "description": "Multiple EV port locations\nImplement this property if the vehicle has multiple EV ports. Port locations are defined in PortLocationType. For example, a car has one port in front left and one port in rear left: int32Values[0] = PortLocationType::FRONT_LEFT int32Values[0] = PortLocationType::REAR_LEFT"
                "description": "Multiple EV port locations\nImplement this property if the vehicle has multiple EV ports. Port locations are defined in PortLocationType. For example, a car has one port in front left and one port in rear left: int32Values[0] = PortLocationType::FRONT_LEFT int32Values[1] = PortLocationType::REAR_LEFT\nIf only one port exists on the vehicle, this property's value should list just one element. See INFO_EV_PORT_LOCATION for describing just one port location."
            },
            {
                "name": "PERF_ODOMETER",
+9 −1
Original line number Diff line number Diff line
@@ -170,6 +170,11 @@ enum VehicleProperty {
    /**
     * EV port location
     *
     * This property must communicate the location of the charging port on the EV using the
     * PortLocationType enum. If there are multiple ports available on the vehicle, this property
     * must return the port that allows the fastest charging. To communicate all port locations,
     * use INFO_MULTI_EV_PORT_LOCATIONS.
     *
     * @change_mode VehiclePropertyChangeMode.STATIC
     * @access VehiclePropertyAccess.READ
     * @data_enum PortLocationType
@@ -214,7 +219,10 @@ enum VehicleProperty {
     * Port locations are defined in PortLocationType.
     * For example, a car has one port in front left and one port in rear left:
     *   int32Values[0] = PortLocationType::FRONT_LEFT
     *   int32Values[0] = PortLocationType::REAR_LEFT
     *   int32Values[1] = PortLocationType::REAR_LEFT
     *
     * If only one port exists on the vehicle, this property's value should list just one element.
     * See INFO_EV_PORT_LOCATION for describing just one port location.
     *
     * @change_mode VehiclePropertyChangeMode.STATIC
     * @access VehiclePropertyAccess.READ