Loading automotive/vehicle/2.0/default/impl/vhal_v2_0/DefaultConfig.h +13 −0 Original line number Diff line number Diff line Loading @@ -306,6 +306,19 @@ const ConfigDeclaration kVehicleProperties[]{ }, .initialValue = {.int32Values = {(int)VehicleUnit::KILOMETERS_PER_HOUR}}}, {.config = { .prop = toInt(VehicleProperty::SEAT_OCCUPANCY), .access = VehiclePropertyAccess::READ, .changeMode = VehiclePropertyChangeMode::ON_CHANGE, .areaConfigs = {VehicleAreaConfig{.areaId = (SEAT_1_LEFT)}, VehicleAreaConfig{.areaId = (SEAT_1_RIGHT)}}, }, .initialAreaValues = {{SEAT_1_LEFT, {.int32Values = {(int)VehicleSeatOccupancyState::VACANT}}}, {SEAT_1_RIGHT, {.int32Values = {(int)VehicleSeatOccupancyState::VACANT}}}}}, {.config = { .prop = toInt(VehicleProperty::INFO_DRIVER_SEAT), Loading Loading
automotive/vehicle/2.0/default/impl/vhal_v2_0/DefaultConfig.h +13 −0 Original line number Diff line number Diff line Loading @@ -306,6 +306,19 @@ const ConfigDeclaration kVehicleProperties[]{ }, .initialValue = {.int32Values = {(int)VehicleUnit::KILOMETERS_PER_HOUR}}}, {.config = { .prop = toInt(VehicleProperty::SEAT_OCCUPANCY), .access = VehiclePropertyAccess::READ, .changeMode = VehiclePropertyChangeMode::ON_CHANGE, .areaConfigs = {VehicleAreaConfig{.areaId = (SEAT_1_LEFT)}, VehicleAreaConfig{.areaId = (SEAT_1_RIGHT)}}, }, .initialAreaValues = {{SEAT_1_LEFT, {.int32Values = {(int)VehicleSeatOccupancyState::VACANT}}}, {SEAT_1_RIGHT, {.int32Values = {(int)VehicleSeatOccupancyState::VACANT}}}}}, {.config = { .prop = toInt(VehicleProperty::INFO_DRIVER_SEAT), Loading