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

Commit 4d463fee authored by Shrikar Amirisetty's avatar Shrikar Amirisetty Committed by Android (Google) Code Review
Browse files

Merge "Updated relevant EV_prop HAL docs with expected behavior in multiport EV" into main

parents 0220abc6 69bc05cd
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -49,7 +49,7 @@
                    "EvConnectorType"
                ],
                "data_enum": "EvConnectorType",
                "description": "List of connectors this EV may use"
                "description": "List of connectors this EV may use\nIf the vehicle has multiple charging ports, this property must return all possible connector types that can be used by at least one charging port on the vehicle."
            },
            {
                "name": "Fuel door location",
@@ -169,12 +169,12 @@
            {
                "name": "EV charge port open",
                "value": 287310602,
                "description": "EV charge port open\nThis property is defined as VehiclePropertyAccess.READ_WRITE, but OEMs have the option to implement it as VehiclePropertyAccess.READ only."
                "description": "EV charge port open\nIf the vehicle has multiple charging ports, this property must return true if any of the charge ports are open.\nThis property is defined as VehiclePropertyAccess.READ_WRITE, but OEMs have the option to implement it as VehiclePropertyAccess.READ only."
            },
            {
                "name": "EV charge port connected",
                "value": 287310603,
                "description": "EV charge port connected"
                "description": "EV charge port connected\nIf the vehicle has multiple charging ports, this property must return true if any of the charge ports are connected."
            },
            {
                "name": "EV_BATTERY_INSTANTANEOUS_CHARGE_RATE",
+9 −0
Original line number Diff line number Diff line
@@ -142,6 +142,9 @@ enum VehicleProperty {
    /**
     * List of connectors this EV may use
     *
     * If the vehicle has multiple charging ports, this property must return all possible connector
     * types that can be used by at least one charging port on the vehicle.
     *
     * @change_mode VehiclePropertyChangeMode.STATIC
     * @data_enum EvConnectorType
     * @access VehiclePropertyAccess.READ
@@ -440,6 +443,9 @@ enum VehicleProperty {
    /**
     * EV charge port open
     *
     * If the vehicle has multiple charging ports, this property must return true if any of the
     * charge ports are open.
     *
     * This property is defined as VehiclePropertyAccess.READ_WRITE, but OEMs have the option to
     * implement it as VehiclePropertyAccess.READ only.
     *
@@ -453,6 +459,9 @@ enum VehicleProperty {
    /**
     * EV charge port connected
     *
     * If the vehicle has multiple charging ports, this property must return true if any of the
     * charge ports are connected.
     *
     * @change_mode VehiclePropertyChangeMode.ON_CHANGE
     * @access VehiclePropertyAccess.READ
     * @version 2