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

Commit 36588116 authored by Kai's avatar Kai
Browse files

Add FAN_DIRECTION for assistant's test case

Add more FAN_DIRECTION in google VHAL for testing

Bug: 192508890
Test: adb shell dumpsys cmd get-property-value 356582673
Change-Id: I6d2bbf04477b0f80d40cd5999c648d5163de86ac
parent 3af209cd
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -476,8 +476,12 @@ const ConfigDeclaration kVehicleProperties[]{
                    .changeMode = VehiclePropertyChangeMode::STATIC,
                    .areaConfigs = {VehicleAreaConfig{.areaId = HVAC_ALL}}},
         .initialValue = {.int32Values = {FAN_DIRECTION_FACE, FAN_DIRECTION_FLOOR,
                                          FAN_DIRECTION_FACE | FAN_DIRECTION_FLOOR}}},

                                          FAN_DIRECTION_FACE | FAN_DIRECTION_FLOOR,
                                          FAN_DIRECTION_DEFROST,
                                          FAN_DIRECTION_FACE | FAN_DIRECTION_DEFROST,
                                          FAN_DIRECTION_FLOOR | FAN_DIRECTION_DEFROST,
                                          FAN_DIRECTION_FLOOR | FAN_DIRECTION_DEFROST |
                                                  FAN_DIRECTION_FACE}}},
        {.config = {.prop = toInt(VehicleProperty::HVAC_SEAT_VENTILATION),
                    .access = VehiclePropertyAccess::READ_WRITE,
                    .changeMode = VehiclePropertyChangeMode::ON_CHANGE,
+1 −0
Original line number Diff line number Diff line
@@ -37,6 +37,7 @@ constexpr int WINDOW_2_RIGHT = (int)VehicleAreaWindow::ROW_2_RIGHT;
constexpr int WINDOW_ROOF_TOP_1 = (int)VehicleAreaWindow::ROOF_TOP_1;
constexpr int FAN_DIRECTION_FACE = (int)VehicleHvacFanDirection::FACE;
constexpr int FAN_DIRECTION_FLOOR = (int)VehicleHvacFanDirection::FLOOR;
constexpr int FAN_DIRECTION_DEFROST = (int)VehicleHvacFanDirection::DEFROST;
constexpr int OBD2_LIVE_FRAME = (int)VehicleProperty::OBD2_LIVE_FRAME;
constexpr int OBD2_FREEZE_FRAME = (int)VehicleProperty::OBD2_FREEZE_FRAME;
constexpr int OBD2_FREEZE_FRAME_INFO = (int)VehicleProperty::OBD2_FREEZE_FRAME_INFO;