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

Commit 46998f29 authored by shrikar's avatar shrikar Committed by Shrikar Amirisetty
Browse files

Added SAE_J3400 enums to EvConnectorType.aidl

Bug: 374759425
Test: atest VtsHalAutomotiveVehicle_TargetTest
Change-Id: I065cd8d6777be3e82a0b5f7a97ca28290360207c
parent 1a5f917f
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -2209,6 +2209,14 @@
                "name": "GBT_DC",
                "value": 11
            },
            {
                "name": "SAE_J3400_AC",
                "value": 8
            },
            {
                "name": "SAE_J3400_DC",
                "value": 9
            },
            {
                "name": "OTHER",
                "value": 101
+2 −0
Original line number Diff line number Diff line
@@ -46,5 +46,7 @@ enum EvConnectorType {
  TESLA_SUPERCHARGER = 9,
  GBT_AC = 10,
  GBT_DC = 11,
  SAE_J3400_AC = 8,
  SAE_J3400_DC = 9,
  OTHER = 101,
}
+30 −1
Original line number Diff line number Diff line
@@ -72,12 +72,15 @@ enum EvConnectorType {
    TESLA_ROADSTER = 7,
    /**
     * DO NOT USE
     * Use TESLA_SUPERCHARGER instead.
     * Use SAE_J3400_AC instead.
     *
     * High Power Wall Charger of Tesla.
     */
    TESLA_HPWC = 8,
    /**
     * DO NOT USE
     * Use SAE_J3400_DC instead.
     *
     * SAE J3400 connector
     *
     * Also known as the "North American Charging Standard" (NACS)
@@ -88,6 +91,32 @@ enum EvConnectorType {
    GBT_AC = 10,
    /** GBT_DC Fast Charging Standard */
    GBT_DC = 11,
    /**
     * SAE J3400 connector - AC Charging.
     *
     * Also known as the "North American Charging Standard" (NACS).
     *
     * This enum must be used if the vehicle specifically supports AC charging. If the vehicle
     * supports both AC and DC, INFO_EV_CONNECTOR_TYPE should be populated with both SAE_J3400_AC
     * and SAE_J3400_DC. If the vehicle only supports AC charging, it should only be populated with
     * SAE_J3400_AC.
     *
     * This is equivalent to TESLA_HPWC enum.
     */
    SAE_J3400_AC = 8,
    /**
     * SAE J3400 connector - DC Charging.
     *
     * Also known as the "North American Charging Standard" (NACS).
     *
     * This enum must be used if the vehicle specifically supports DC charging. If the vehicle
     * supports both AC and DC, INFO_EV_CONNECTOR_TYPE should be populated with both SAE_J3400_AC
     * and SAE_J3400_DC. If the vehicle only supports DC charging, it should only be populated with
     * SAE_J3400_DC.
     *
     * This is equivalent to TESLA_SUPERCHARGER enum.
     */
    SAE_J3400_DC = 9,
    /**
     * Connector type to use when no other types apply. Before using this
     * value, work with Google to see if the EvConnectorType enum can be