Loading automotive/vehicle/2.0/default/impl/vhal_v2_0/DefaultConfig.h +11 −0 Original line number Diff line number Diff line Loading @@ -422,6 +422,17 @@ const ConfigDeclaration kVehicleProperties[]{ .areaId = toInt(VehicleAreaWindow::REAR_WINDSHIELD)}}}, .initialValue = {.int32Values = {0}} // Will be used for all areas. }, { .config = {.prop = toInt(VehicleProperty::HVAC_ELECTRIC_DEFROSTER_ON), .access = VehiclePropertyAccess::READ_WRITE, .changeMode = VehiclePropertyChangeMode::ON_CHANGE, .areaConfigs = {VehicleAreaConfig{ .areaId = toInt(VehicleAreaWindow::FRONT_WINDSHIELD)}, VehicleAreaConfig{ .areaId = toInt(VehicleAreaWindow::REAR_WINDSHIELD)}}}, .initialValue = {.int32Values = {0}} // Will be used for all areas. }, {.config = {.prop = toInt(VehicleProperty::HVAC_MAX_DEFROST_ON), .access = VehiclePropertyAccess::READ_WRITE, Loading automotive/vehicle/2.0/types.hal +26 −1 Original line number Diff line number Diff line Loading @@ -799,7 +799,7 @@ enum VehicleProperty : int32_t { | VehicleArea:SEAT), /** * On/off defrost for designated window * Fan-based defrost for designated window. * * @change_mode VehiclePropertyChangeMode:ON_CHANGE * @access VehiclePropertyAccess:READ_WRITE Loading Loading @@ -1076,6 +1076,7 @@ enum VehicleProperty : int32_t { * * @change_mode VehiclePropertyChangeMode:STATIC * @access VehiclePropertyAccess:READ * @data_enum VehicleHvacFanDirection */ HVAC_FAN_DIRECTION_AVAILABLE = ( 0x0511 Loading Loading @@ -1118,6 +1119,18 @@ enum VehicleProperty : int32_t { | VehiclePropertyType:INT32 | VehicleArea:SEAT), /** * Electric defrosters' status * * @change_mode VehiclePropertyChangeMode:ON_CHANGE * @access VehiclePropertyAccess:READ_WRITE */ HVAC_ELECTRIC_DEFROSTER_ON = ( 0x0514 | VehiclePropertyGroup:SYSTEM | VehiclePropertyType:BOOLEAN | VehicleArea:WINDOW), /** * Distance units for display * Loading Loading @@ -2458,9 +2471,19 @@ enum FuelType : int32_t { * Bit flags for fan direction */ enum VehicleHvacFanDirection : int32_t { UNKNOWN = 0x0, FACE = 0x1, FLOOR = 0x2, /** * FACE_AND_FLOOR = FACE | FLOOR */ FACE_AND_FLOOR = 0X3, DEFROST = 0x4, /** * DEFROST_AND_FLOOR = DEFROST | FLOOR */ DEFROST_AND_FLOOR = 0x06, }; enum VehicleOilLevel : int32_t { Loading Loading @@ -2723,6 +2746,8 @@ enum VehiclePropertyStatus : int32_t { * Various gears which can be selected by user and chosen in system. */ enum VehicleGear : int32_t { GEAR_UNKNOWN = 0x0000, GEAR_NEUTRAL = 0x0001, GEAR_REVERSE = 0x0002, GEAR_PARK = 0x0004, Loading Loading
automotive/vehicle/2.0/default/impl/vhal_v2_0/DefaultConfig.h +11 −0 Original line number Diff line number Diff line Loading @@ -422,6 +422,17 @@ const ConfigDeclaration kVehicleProperties[]{ .areaId = toInt(VehicleAreaWindow::REAR_WINDSHIELD)}}}, .initialValue = {.int32Values = {0}} // Will be used for all areas. }, { .config = {.prop = toInt(VehicleProperty::HVAC_ELECTRIC_DEFROSTER_ON), .access = VehiclePropertyAccess::READ_WRITE, .changeMode = VehiclePropertyChangeMode::ON_CHANGE, .areaConfigs = {VehicleAreaConfig{ .areaId = toInt(VehicleAreaWindow::FRONT_WINDSHIELD)}, VehicleAreaConfig{ .areaId = toInt(VehicleAreaWindow::REAR_WINDSHIELD)}}}, .initialValue = {.int32Values = {0}} // Will be used for all areas. }, {.config = {.prop = toInt(VehicleProperty::HVAC_MAX_DEFROST_ON), .access = VehiclePropertyAccess::READ_WRITE, Loading
automotive/vehicle/2.0/types.hal +26 −1 Original line number Diff line number Diff line Loading @@ -799,7 +799,7 @@ enum VehicleProperty : int32_t { | VehicleArea:SEAT), /** * On/off defrost for designated window * Fan-based defrost for designated window. * * @change_mode VehiclePropertyChangeMode:ON_CHANGE * @access VehiclePropertyAccess:READ_WRITE Loading Loading @@ -1076,6 +1076,7 @@ enum VehicleProperty : int32_t { * * @change_mode VehiclePropertyChangeMode:STATIC * @access VehiclePropertyAccess:READ * @data_enum VehicleHvacFanDirection */ HVAC_FAN_DIRECTION_AVAILABLE = ( 0x0511 Loading Loading @@ -1118,6 +1119,18 @@ enum VehicleProperty : int32_t { | VehiclePropertyType:INT32 | VehicleArea:SEAT), /** * Electric defrosters' status * * @change_mode VehiclePropertyChangeMode:ON_CHANGE * @access VehiclePropertyAccess:READ_WRITE */ HVAC_ELECTRIC_DEFROSTER_ON = ( 0x0514 | VehiclePropertyGroup:SYSTEM | VehiclePropertyType:BOOLEAN | VehicleArea:WINDOW), /** * Distance units for display * Loading Loading @@ -2458,9 +2471,19 @@ enum FuelType : int32_t { * Bit flags for fan direction */ enum VehicleHvacFanDirection : int32_t { UNKNOWN = 0x0, FACE = 0x1, FLOOR = 0x2, /** * FACE_AND_FLOOR = FACE | FLOOR */ FACE_AND_FLOOR = 0X3, DEFROST = 0x4, /** * DEFROST_AND_FLOOR = DEFROST | FLOOR */ DEFROST_AND_FLOOR = 0x06, }; enum VehicleOilLevel : int32_t { Loading Loading @@ -2723,6 +2746,8 @@ enum VehiclePropertyStatus : int32_t { * Various gears which can be selected by user and chosen in system. */ enum VehicleGear : int32_t { GEAR_UNKNOWN = 0x0000, GEAR_NEUTRAL = 0x0001, GEAR_REVERSE = 0x0002, GEAR_PARK = 0x0004, Loading