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

Commit 9eb00fe9 authored by Kai Wang's avatar Kai Wang Committed by Android (Google) Code Review
Browse files

Merge "Fix vts-hal-auto test"

parents caefc911 b1fc16aa
Loading
Loading
Loading
Loading
+13 −0
Original line number Original line Diff line number Diff line
@@ -196,6 +196,15 @@ const ConfigDeclaration kVehicleProperties[]{
         },
         },
     .initialValue = {.int32Values = {1}}},
     .initialValue = {.int32Values = {1}}},


    {.config =
         {
             .prop = toInt(VehicleProperty::INFO_DRIVER_SEAT),
             .access = VehiclePropertyAccess::READ,
             .changeMode = VehiclePropertyChangeMode::STATIC,
             .areaConfigs = {VehicleAreaConfig{.areaId = (0)}},
         },
     .initialValue = {.int32Values = {SEAT_1_LEFT}}},

    {.config =
    {.config =
         {
         {
             .prop = toInt(VehicleProperty::INFO_FUEL_DOOR_LOCATION),
             .prop = toInt(VehicleProperty::INFO_FUEL_DOOR_LOCATION),
@@ -321,6 +330,8 @@ const ConfigDeclaration kVehicleProperties[]{
             .access = VehiclePropertyAccess::READ,
             .access = VehiclePropertyAccess::READ,
             .changeMode = VehiclePropertyChangeMode::CONTINUOUS,
             .changeMode = VehiclePropertyChangeMode::CONTINUOUS,
             .areaConfigs = {VehicleAreaConfig{.areaId = (0)}},
             .areaConfigs = {VehicleAreaConfig{.areaId = (0)}},
             .minSampleRate = 1.0f,
             .maxSampleRate = 2.0f,
         },
         },
     .initialValue = {.floatValues = {100.0f}}},  // units in meters
     .initialValue = {.floatValues = {100.0f}}},  // units in meters


@@ -328,6 +339,8 @@ const ConfigDeclaration kVehicleProperties[]{
         {.prop = toInt(VehicleProperty::TIRE_PRESSURE),
         {.prop = toInt(VehicleProperty::TIRE_PRESSURE),
          .access = VehiclePropertyAccess::READ,
          .access = VehiclePropertyAccess::READ,
          .changeMode = VehiclePropertyChangeMode::CONTINUOUS,
          .changeMode = VehiclePropertyChangeMode::CONTINUOUS,
          .minSampleRate = 1.0f,
          .maxSampleRate = 2.0f,
          .areaConfigs =
          .areaConfigs =
              {VehicleAreaConfig{
              {VehicleAreaConfig{
                   .areaId = WHEEL_FRONT_LEFT, .minFloatValue = 100.0f, .maxFloatValue = 300.0f,
                   .areaId = WHEEL_FRONT_LEFT, .minFloatValue = 100.0f, .maxFloatValue = 300.0f,