/hardware/interfaces/automotive/vehicle/aidl/generated_lib/4/cpp/ |
D | VersionForVehicleProperty.h | 37 std::unordered_map<VehicleProperty, int32_t> VersionForVehicleProperty = { 38 {VehicleProperty::INFO_VIN, 2}, 39 {VehicleProperty::INFO_MAKE, 2}, 40 {VehicleProperty::INFO_MODEL, 2}, 41 {VehicleProperty::INFO_MODEL_YEAR, 2}, 42 {VehicleProperty::INFO_FUEL_CAPACITY, 2}, 43 {VehicleProperty::INFO_FUEL_TYPE, 2}, 44 {VehicleProperty::INFO_EV_BATTERY_CAPACITY, 2}, 45 {VehicleProperty::INFO_EV_CONNECTOR_TYPE, 2}, 46 {VehicleProperty::INFO_FUEL_DOOR_LOCATION, 2}, [all …]
|
D | AccessForVehicleProperty.h | 38 std::unordered_map<VehicleProperty, VehiclePropertyAccess> AccessForVehicleProperty = { 39 {VehicleProperty::INFO_VIN, VehiclePropertyAccess::READ}, 40 {VehicleProperty::INFO_MAKE, VehiclePropertyAccess::READ}, 41 {VehicleProperty::INFO_MODEL, VehiclePropertyAccess::READ}, 42 {VehicleProperty::INFO_MODEL_YEAR, VehiclePropertyAccess::READ}, 43 {VehicleProperty::INFO_FUEL_CAPACITY, VehiclePropertyAccess::READ}, 44 {VehicleProperty::INFO_FUEL_TYPE, VehiclePropertyAccess::READ}, 45 {VehicleProperty::INFO_EV_BATTERY_CAPACITY, VehiclePropertyAccess::READ}, 46 {VehicleProperty::INFO_EV_CONNECTOR_TYPE, VehiclePropertyAccess::READ}, 47 {VehicleProperty::INFO_FUEL_DOOR_LOCATION, VehiclePropertyAccess::READ}, [all …]
|
D | ChangeModeForVehicleProperty.h | 38 std::unordered_map<VehicleProperty, VehiclePropertyChangeMode> ChangeModeForVehicleProperty = { 39 {VehicleProperty::INFO_VIN, VehiclePropertyChangeMode::STATIC}, 40 {VehicleProperty::INFO_MAKE, VehiclePropertyChangeMode::STATIC}, 41 {VehicleProperty::INFO_MODEL, VehiclePropertyChangeMode::STATIC}, 42 {VehicleProperty::INFO_MODEL_YEAR, VehiclePropertyChangeMode::STATIC}, 43 {VehicleProperty::INFO_FUEL_CAPACITY, VehiclePropertyChangeMode::STATIC}, 44 {VehicleProperty::INFO_FUEL_TYPE, VehiclePropertyChangeMode::STATIC}, 45 {VehicleProperty::INFO_EV_BATTERY_CAPACITY, VehiclePropertyChangeMode::STATIC}, 46 {VehicleProperty::INFO_EV_CONNECTOR_TYPE, VehiclePropertyChangeMode::STATIC}, 47 {VehicleProperty::INFO_FUEL_DOOR_LOCATION, VehiclePropertyChangeMode::STATIC}, [all …]
|
/hardware/interfaces/automotive/vehicle/aidl/generated_lib/3/cpp/ |
D | VersionForVehicleProperty.h | 37 std::unordered_map<VehicleProperty, int32_t> VersionForVehicleProperty = { 38 {VehicleProperty::INFO_VIN, 2}, 39 {VehicleProperty::INFO_MAKE, 2}, 40 {VehicleProperty::INFO_MODEL, 2}, 41 {VehicleProperty::INFO_MODEL_YEAR, 2}, 42 {VehicleProperty::INFO_FUEL_CAPACITY, 2}, 43 {VehicleProperty::INFO_FUEL_TYPE, 2}, 44 {VehicleProperty::INFO_EV_BATTERY_CAPACITY, 2}, 45 {VehicleProperty::INFO_EV_CONNECTOR_TYPE, 2}, 46 {VehicleProperty::INFO_FUEL_DOOR_LOCATION, 2}, [all …]
|
D | ChangeModeForVehicleProperty.h | 38 std::unordered_map<VehicleProperty, VehiclePropertyChangeMode> ChangeModeForVehicleProperty = { 39 {VehicleProperty::INFO_VIN, VehiclePropertyChangeMode::STATIC}, 40 {VehicleProperty::INFO_MAKE, VehiclePropertyChangeMode::STATIC}, 41 {VehicleProperty::INFO_MODEL, VehiclePropertyChangeMode::STATIC}, 42 {VehicleProperty::INFO_MODEL_YEAR, VehiclePropertyChangeMode::STATIC}, 43 {VehicleProperty::INFO_FUEL_CAPACITY, VehiclePropertyChangeMode::STATIC}, 44 {VehicleProperty::INFO_FUEL_TYPE, VehiclePropertyChangeMode::STATIC}, 45 {VehicleProperty::INFO_EV_BATTERY_CAPACITY, VehiclePropertyChangeMode::STATIC}, 46 {VehicleProperty::INFO_EV_CONNECTOR_TYPE, VehiclePropertyChangeMode::STATIC}, 47 {VehicleProperty::INFO_FUEL_DOOR_LOCATION, VehiclePropertyChangeMode::STATIC}, [all …]
|
D | AccessForVehicleProperty.h | 38 std::unordered_map<VehicleProperty, VehiclePropertyAccess> AccessForVehicleProperty = { 39 {VehicleProperty::INFO_VIN, VehiclePropertyAccess::READ}, 40 {VehicleProperty::INFO_MAKE, VehiclePropertyAccess::READ}, 41 {VehicleProperty::INFO_MODEL, VehiclePropertyAccess::READ}, 42 {VehicleProperty::INFO_MODEL_YEAR, VehiclePropertyAccess::READ}, 43 {VehicleProperty::INFO_FUEL_CAPACITY, VehiclePropertyAccess::READ}, 44 {VehicleProperty::INFO_FUEL_TYPE, VehiclePropertyAccess::READ}, 45 {VehicleProperty::INFO_EV_BATTERY_CAPACITY, VehiclePropertyAccess::READ}, 46 {VehicleProperty::INFO_EV_CONNECTOR_TYPE, VehiclePropertyAccess::READ}, 47 {VehicleProperty::INFO_FUEL_DOOR_LOCATION, VehiclePropertyAccess::READ}, [all …]
|
/hardware/interfaces/automotive/vehicle/aidl/generated_lib/4/java/ |
D | ChangeModeForVehicleProperty.java | 32 Map.entry(VehicleProperty.INFO_VIN, VehiclePropertyChangeMode.STATIC), 33 Map.entry(VehicleProperty.INFO_MAKE, VehiclePropertyChangeMode.STATIC), 34 Map.entry(VehicleProperty.INFO_MODEL, VehiclePropertyChangeMode.STATIC), 35 Map.entry(VehicleProperty.INFO_MODEL_YEAR, VehiclePropertyChangeMode.STATIC), 36 Map.entry(VehicleProperty.INFO_FUEL_CAPACITY, VehiclePropertyChangeMode.STATIC), 37 Map.entry(VehicleProperty.INFO_FUEL_TYPE, VehiclePropertyChangeMode.STATIC), 38 Map.entry(VehicleProperty.INFO_EV_BATTERY_CAPACITY, VehiclePropertyChangeMode.STATIC), 39 Map.entry(VehicleProperty.INFO_EV_CONNECTOR_TYPE, VehiclePropertyChangeMode.STATIC), 40 Map.entry(VehicleProperty.INFO_FUEL_DOOR_LOCATION, VehiclePropertyChangeMode.STATIC), 41 Map.entry(VehicleProperty.INFO_EV_PORT_LOCATION, VehiclePropertyChangeMode.STATIC), [all …]
|
D | AccessForVehicleProperty.java | 32 Map.entry(VehicleProperty.INFO_VIN, VehiclePropertyAccess.READ), 33 Map.entry(VehicleProperty.INFO_MAKE, VehiclePropertyAccess.READ), 34 Map.entry(VehicleProperty.INFO_MODEL, VehiclePropertyAccess.READ), 35 Map.entry(VehicleProperty.INFO_MODEL_YEAR, VehiclePropertyAccess.READ), 36 Map.entry(VehicleProperty.INFO_FUEL_CAPACITY, VehiclePropertyAccess.READ), 37 Map.entry(VehicleProperty.INFO_FUEL_TYPE, VehiclePropertyAccess.READ), 38 Map.entry(VehicleProperty.INFO_EV_BATTERY_CAPACITY, VehiclePropertyAccess.READ), 39 Map.entry(VehicleProperty.INFO_EV_CONNECTOR_TYPE, VehiclePropertyAccess.READ), 40 Map.entry(VehicleProperty.INFO_FUEL_DOOR_LOCATION, VehiclePropertyAccess.READ), 41 Map.entry(VehicleProperty.INFO_EV_PORT_LOCATION, VehiclePropertyAccess.READ), [all …]
|
D | EnumForVehicleProperty.java | 33 Map.entry(VehicleProperty.INFO_FUEL_TYPE, List.of(FuelType.class)), 34 Map.entry(VehicleProperty.INFO_EV_CONNECTOR_TYPE, List.of(EvConnectorType.class)), 35 Map.entry(VehicleProperty.INFO_FUEL_DOOR_LOCATION, List.of(PortLocationType.class)), 36 Map.entry(VehicleProperty.INFO_EV_PORT_LOCATION, List.of(PortLocationType.class)), 37 Map.entry(VehicleProperty.INFO_DRIVER_SEAT, List.of(VehicleAreaSeat.class)), 38 Map.entry(VehicleProperty.INFO_MULTI_EV_PORT_LOCATIONS, List.of(PortLocationType.class)), 39 Map.entry(VehicleProperty.ENGINE_OIL_LEVEL, List.of(VehicleOilLevel.class)), 40 Map.entry(VehicleProperty.IMPACT_DETECTED, List.of(ImpactSensorLocation.class)), 41 Map.entry(VehicleProperty.GEAR_SELECTION, List.of(VehicleGear.class)), 42 Map.entry(VehicleProperty.CURRENT_GEAR, List.of(VehicleGear.class)), [all …]
|
D | UnitsForVehicleProperty.java | 32 Map.entry(VehicleProperty.INFO_MODEL_YEAR, VehicleUnit.YEAR), 33 Map.entry(VehicleProperty.INFO_FUEL_CAPACITY, VehicleUnit.MILLILITER), 34 Map.entry(VehicleProperty.INFO_EV_BATTERY_CAPACITY, VehicleUnit.WATT_HOUR), 35 Map.entry(VehicleProperty.INFO_EXTERIOR_DIMENSIONS, VehicleUnit.MILLIMETER), 36 Map.entry(VehicleProperty.PERF_ODOMETER, VehicleUnit.KILOMETER), 37 Map.entry(VehicleProperty.PERF_VEHICLE_SPEED, VehicleUnit.METER_PER_SEC), 38 Map.entry(VehicleProperty.PERF_VEHICLE_SPEED_DISPLAY, VehicleUnit.METER_PER_SEC), 39 Map.entry(VehicleProperty.PERF_STEERING_ANGLE, VehicleUnit.DEGREES), 40 Map.entry(VehicleProperty.PERF_REAR_STEERING_ANGLE, VehicleUnit.DEGREES), 41 Map.entry(VehicleProperty.ENGINE_COOLANT_TEMP, VehicleUnit.CELSIUS), [all …]
|
/hardware/interfaces/automotive/vehicle/aidl/generated_lib/3/java/ |
D | ChangeModeForVehicleProperty.java | 32 Map.entry(VehicleProperty.INFO_VIN, VehiclePropertyChangeMode.STATIC), 33 Map.entry(VehicleProperty.INFO_MAKE, VehiclePropertyChangeMode.STATIC), 34 Map.entry(VehicleProperty.INFO_MODEL, VehiclePropertyChangeMode.STATIC), 35 Map.entry(VehicleProperty.INFO_MODEL_YEAR, VehiclePropertyChangeMode.STATIC), 36 Map.entry(VehicleProperty.INFO_FUEL_CAPACITY, VehiclePropertyChangeMode.STATIC), 37 Map.entry(VehicleProperty.INFO_FUEL_TYPE, VehiclePropertyChangeMode.STATIC), 38 Map.entry(VehicleProperty.INFO_EV_BATTERY_CAPACITY, VehiclePropertyChangeMode.STATIC), 39 Map.entry(VehicleProperty.INFO_EV_CONNECTOR_TYPE, VehiclePropertyChangeMode.STATIC), 40 Map.entry(VehicleProperty.INFO_FUEL_DOOR_LOCATION, VehiclePropertyChangeMode.STATIC), 41 Map.entry(VehicleProperty.INFO_EV_PORT_LOCATION, VehiclePropertyChangeMode.STATIC), [all …]
|
D | AccessForVehicleProperty.java | 32 Map.entry(VehicleProperty.INFO_VIN, VehiclePropertyAccess.READ), 33 Map.entry(VehicleProperty.INFO_MAKE, VehiclePropertyAccess.READ), 34 Map.entry(VehicleProperty.INFO_MODEL, VehiclePropertyAccess.READ), 35 Map.entry(VehicleProperty.INFO_MODEL_YEAR, VehiclePropertyAccess.READ), 36 Map.entry(VehicleProperty.INFO_FUEL_CAPACITY, VehiclePropertyAccess.READ), 37 Map.entry(VehicleProperty.INFO_FUEL_TYPE, VehiclePropertyAccess.READ), 38 Map.entry(VehicleProperty.INFO_EV_BATTERY_CAPACITY, VehiclePropertyAccess.READ), 39 Map.entry(VehicleProperty.INFO_EV_CONNECTOR_TYPE, VehiclePropertyAccess.READ), 40 Map.entry(VehicleProperty.INFO_FUEL_DOOR_LOCATION, VehiclePropertyAccess.READ), 41 Map.entry(VehicleProperty.INFO_EV_PORT_LOCATION, VehiclePropertyAccess.READ), [all …]
|
D | EnumForVehicleProperty.java | 33 Map.entry(VehicleProperty.INFO_FUEL_TYPE, List.of(FuelType.class)), 34 Map.entry(VehicleProperty.INFO_EV_CONNECTOR_TYPE, List.of(EvConnectorType.class)), 35 Map.entry(VehicleProperty.INFO_FUEL_DOOR_LOCATION, List.of(PortLocationType.class)), 36 Map.entry(VehicleProperty.INFO_EV_PORT_LOCATION, List.of(PortLocationType.class)), 37 Map.entry(VehicleProperty.INFO_DRIVER_SEAT, List.of(VehicleAreaSeat.class)), 38 Map.entry(VehicleProperty.INFO_MULTI_EV_PORT_LOCATIONS, List.of(PortLocationType.class)), 39 Map.entry(VehicleProperty.ENGINE_OIL_LEVEL, List.of(VehicleOilLevel.class)), 40 Map.entry(VehicleProperty.IMPACT_DETECTED, List.of(ImpactSensorLocation.class)), 41 Map.entry(VehicleProperty.GEAR_SELECTION, List.of(VehicleGear.class)), 42 Map.entry(VehicleProperty.CURRENT_GEAR, List.of(VehicleGear.class)), [all …]
|
D | UnitsForVehicleProperty.java | 32 Map.entry(VehicleProperty.INFO_MODEL_YEAR, VehicleUnit.YEAR), 33 Map.entry(VehicleProperty.INFO_FUEL_CAPACITY, VehicleUnit.MILLILITER), 34 Map.entry(VehicleProperty.INFO_EV_BATTERY_CAPACITY, VehicleUnit.WATT_HOUR), 35 Map.entry(VehicleProperty.INFO_EXTERIOR_DIMENSIONS, VehicleUnit.MILLIMETER), 36 Map.entry(VehicleProperty.PERF_ODOMETER, VehicleUnit.KILOMETER), 37 Map.entry(VehicleProperty.PERF_VEHICLE_SPEED, VehicleUnit.METER_PER_SEC), 38 Map.entry(VehicleProperty.PERF_VEHICLE_SPEED_DISPLAY, VehicleUnit.METER_PER_SEC), 39 Map.entry(VehicleProperty.PERF_STEERING_ANGLE, VehicleUnit.DEGREES), 40 Map.entry(VehicleProperty.PERF_REAR_STEERING_ANGLE, VehicleUnit.DEGREES), 41 Map.entry(VehicleProperty.ENGINE_COOLANT_TEMP, VehicleUnit.CELSIUS), [all …]
|
/hardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/ |
D | DefaultConfig.h | 50 .prop = toInt(VehicleProperty::INFO_FUEL_CAPACITY), 58 .prop = toInt(VehicleProperty::INFO_FUEL_TYPE), 66 .prop = toInt(VehicleProperty::INFO_EV_BATTERY_CAPACITY), 74 .prop = toInt(VehicleProperty::INFO_EV_CONNECTOR_TYPE), 82 .prop = toInt(VehicleProperty::INFO_FUEL_DOOR_LOCATION), 90 .prop = toInt(VehicleProperty::INFO_EV_PORT_LOCATION), 98 .prop = toInt(VehicleProperty::INFO_MULTI_EV_PORT_LOCATIONS), 106 .prop = toInt(VehicleProperty::INFO_MAKE), 113 .prop = toInt(VehicleProperty::INFO_MODEL), 120 .prop = toInt(VehicleProperty::INFO_MODEL_YEAR), [all …]
|
D | PropertyUtils.h | 25 constexpr int ABS_ACTIVE = (int)VehicleProperty::ABS_ACTIVE; 26 constexpr int AP_POWER_STATE_REQ = (int)VehicleProperty::AP_POWER_STATE_REQ; 27 constexpr int AP_POWER_STATE_REPORT = (int)VehicleProperty::AP_POWER_STATE_REPORT; 41 constexpr int OBD2_LIVE_FRAME = (int)VehicleProperty::OBD2_LIVE_FRAME; 42 constexpr int OBD2_FREEZE_FRAME = (int)VehicleProperty::OBD2_FREEZE_FRAME; 43 constexpr int OBD2_FREEZE_FRAME_INFO = (int)VehicleProperty::OBD2_FREEZE_FRAME_INFO; 44 constexpr int OBD2_FREEZE_FRAME_CLEAR = (int)VehicleProperty::OBD2_FREEZE_FRAME_CLEAR; 45 constexpr int TRACTION_CONTROL_ACTIVE = (int)VehicleProperty::TRACTION_CONTROL_ACTIVE; 46 constexpr int VEHICLE_MAP_SERVICE = (int)VehicleProperty::VEHICLE_MAP_SERVICE; 47 constexpr int WHEEL_TICK = (int)VehicleProperty::WHEEL_TICK; [all …]
|
/hardware/interfaces/automotive/vehicle/aidl/impl/fake_impl/hardware/test/ |
D | FakeVehicleHardwareTest.cpp | 82 using ::aidl::android::hardware::automotive::vehicle::VehicleProperty; 392 .prop = toInt(VehicleProperty::ENGINE_OIL_LEVEL), in getTestPropValues() 397 .prop = toInt(VehicleProperty::HVAC_TEMPERATURE_CURRENT), in getTestPropValues() 403 .prop = toInt(VehicleProperty::HVAC_TEMPERATURE_CURRENT), in getTestPropValues() 463 if (config.prop == toInt(VehicleProperty::VHAL_HEARTBEAT) || in TEST_F() 464 config.prop == toInt(VehicleProperty::CLUSTER_HEARTBEAT)) { in TEST_F() 509 if (propId == toInt(VehicleProperty::VEHICLE_IN_USE) || in TEST_F() 510 propId == toInt(VehicleProperty::AP_POWER_BOOTUP_REASON)) { in TEST_F() 776 int gearProp = toInt(VehicleProperty::GEAR_SELECTION); in TEST_F() 816 int hvacProp = toInt(VehicleProperty::HVAC_TEMPERATURE_SET); in TEST_F() [all …]
|
/hardware/interfaces/automotive/vehicle/vts/src/ |
D | VtsHalAutomotiveVehicle_TargetTest.cpp | 49 using ::aidl::android::hardware::automotive::vehicle::VehicleProperty; 161 void verifyProperty(VehicleProperty propId, VehiclePropertyAccess access, 264 auto it = VersionForVehicleProperty.find(static_cast<VehicleProperty>(propId)); in TEST_P() 300 int32_t propId = toInt(VehicleProperty::PERF_VEHICLE_SPEED); in TEST_P() 348 std::unordered_set<int32_t> hvacProps = {toInt(VehicleProperty::HVAC_DEFROSTER), in TEST_P() 349 toInt(VehicleProperty::HVAC_AC_ON), in TEST_P() 350 toInt(VehicleProperty::HVAC_MAX_AC_ON), in TEST_P() 351 toInt(VehicleProperty::HVAC_MAX_DEFROST_ON), in TEST_P() 352 toInt(VehicleProperty::HVAC_RECIRC_ON), in TEST_P() 353 toInt(VehicleProperty::HVAC_DUAL_ON), in TEST_P() [all …]
|
/hardware/interfaces/automotive/vehicle/aidl/impl/utils/common/test/ |
D | VehiclePropertyStoreTest.cpp | 35 using ::aidl::android::hardware::automotive::vehicle::VehicleProperty; 75 .prop = toInt(VehicleProperty::INFO_FUEL_CAPACITY), in SetUp() 80 .prop = toInt(VehicleProperty::TIRE_PRESSURE), in SetUp() 107 mStore->getPropConfig(toInt(VehicleProperty::INFO_FUEL_CAPACITY)); in TEST_F() 122 .prop = toInt(VehicleProperty::INFO_FUEL_CAPACITY), in getTestPropValues() 127 .prop = toInt(VehicleProperty::TIRE_PRESSURE), in getTestPropValues() 133 .prop = toInt(VehicleProperty::TIRE_PRESSURE), in getTestPropValues() 164 auto result = mStore->readValuesForProperty(toInt(VehicleProperty::INFO_FUEL_CAPACITY)); in TEST_F() 176 auto result = mStore->readValuesForProperty(toInt(VehicleProperty::TIRE_PRESSURE)); in TEST_F() 197 .prop = toInt(VehicleProperty::TIRE_PRESSURE), in TEST_F() [all …]
|
/hardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/tests/ |
D | DefaultVhalImpl_test.cpp | 66 using ::android::hardware::automotive::vehicle::V2_0::VehicleProperty; 145 if (v->prop != toInt(VehicleProperty::VHAL_HEARTBEAT)) { in onHalEvent() 166 value.prop = toInt(VehicleProperty::INFO_FUEL_CAPACITY); in TEST_F() 178 value.prop = toInt(VehicleProperty::INFO_FUEL_TYPE); in TEST_F() 190 value.prop = toInt(VehicleProperty::INFO_MODEL_YEAR); in TEST_F() 202 value.prop = toInt(VehicleProperty::INFO_MAKE); in TEST_F() 222 value.prop = toInt(VehicleProperty::INFO_FUEL_CAPACITY); in TEST_F() 237 value.prop = toInt(VehicleProperty::INFO_FUEL_TYPE); in TEST_F() 252 value.prop = toInt(VehicleProperty::INFO_MODEL_YEAR); in TEST_F() 267 value.prop = toInt(VehicleProperty::INFO_MAKE); in TEST_F() [all …]
|
/hardware/interfaces/automotive/vehicle/aidl/aidl_test/ |
D | VehiclePropertyAnnotationCppTest.cpp | 27 using aidl_vehicle::VehicleProperty; 31 bool doesAnnotationMapContainsAllProps(std::unordered_map<VehicleProperty, T> annotationMap) { in doesAnnotationMapContainsAllProps() argument 32 for (const VehicleProperty& v : ::ndk::enum_range<VehicleProperty>()) { in doesAnnotationMapContainsAllProps()
|
/hardware/interfaces/automotive/vehicle/2.0/default/tests/ |
D | VehiclePropConfigIndex_test.cpp | 47 ASSERT_TRUE(index.hasConfig(toInt(VehicleProperty::HVAC_FAN_SPEED))); in TEST_F() 48 ASSERT_TRUE(index.hasConfig(toInt(VehicleProperty::INFO_MAKE))); in TEST_F() 49 ASSERT_TRUE(index.hasConfig(toInt(VehicleProperty::INFO_FUEL_CAPACITY))); in TEST_F() 51 ASSERT_FALSE(index.hasConfig(toInt(VehicleProperty::INVALID))); in TEST_F() 67 auto actualConfig = index.getConfig(toInt(VehicleProperty::HVAC_FAN_SPEED)); in TEST_F()
|
D | VehicleHalManager_test.cpp | 70 auto property = static_cast<VehicleProperty>(requestedPropValue.prop); in get() 73 if (property == VehicleProperty::INFO_FUEL_CAPACITY) { in get() 100 if (toInt(VehicleProperty::MIRROR_FOLD) == propValue.prop in set() 207 { toInt(VehicleProperty::HVAC_FAN_SPEED), in TEST_F() 208 toInt(VehicleProperty::INFO_MAKE) }; in TEST_F() 222 manager->getPropConfigs({ toInt(VehicleProperty::HVAC_FAN_SPEED) }, in TEST_F() 251 const auto PROP = toInt(VehicleProperty::DISPLAY_BRIGHTNESS); in TEST_F() 266 const auto PROP = toInt(VehicleProperty::DISPLAY_BRIGHTNESS); in TEST_F() 277 unsubscribedValue->prop = toInt(VehicleProperty::HVAC_FAN_SPEED); in TEST_F() 303 const auto PROP = toInt(VehicleProperty::HVAC_SEAT_TEMPERATURE); in TEST_F() [all …]
|
/hardware/interfaces/automotive/vehicle/aidl/impl/utils/common/include/ |
D | PropertyUtils.h | 41 using ::aidl::android::hardware::automotive::vehicle::VehicleProperty; 48 constexpr int ABS_ACTIVE = toInt(propertyutils_impl::VehicleProperty::ABS_ACTIVE); 49 constexpr int AP_POWER_STATE_REQ = toInt(propertyutils_impl::VehicleProperty::AP_POWER_STATE_REQ); 51 toInt(propertyutils_impl::VehicleProperty::AP_POWER_STATE_REPORT); 65 constexpr int OBD2_LIVE_FRAME = toInt(propertyutils_impl::VehicleProperty::OBD2_LIVE_FRAME); 66 constexpr int OBD2_FREEZE_FRAME = toInt(propertyutils_impl::VehicleProperty::OBD2_FREEZE_FRAME); 68 toInt(propertyutils_impl::VehicleProperty::OBD2_FREEZE_FRAME_INFO); 70 toInt(propertyutils_impl::VehicleProperty::OBD2_FREEZE_FRAME_CLEAR); 72 toInt(propertyutils_impl::VehicleProperty::TRACTION_CONTROL_ACTIVE); 73 constexpr int VEHICLE_MAP_SERVICE = toInt(propertyutils_impl::VehicleProperty::VEHICLE_MAP_SERVICE); [all …]
|
/hardware/interfaces/automotive/vehicle/aidl/impl/fake_impl/hardware/src/ |
D | FakeVehicleHardware.cpp | 76 using ::aidl::android::hardware::automotive::vehicle::VehicleProperty; 147 toInt(VehicleProperty::AUTOMATIC_EMERGENCY_BRAKING_ENABLED), 149 toInt(VehicleProperty::AUTOMATIC_EMERGENCY_BRAKING_STATE), 154 toInt(VehicleProperty::FORWARD_COLLISION_WARNING_ENABLED), 156 toInt(VehicleProperty::FORWARD_COLLISION_WARNING_STATE), 161 toInt(VehicleProperty::BLIND_SPOT_WARNING_ENABLED), 163 toInt(VehicleProperty::BLIND_SPOT_WARNING_STATE), 168 toInt(VehicleProperty::LANE_DEPARTURE_WARNING_ENABLED), 170 toInt(VehicleProperty::LANE_DEPARTURE_WARNING_STATE), 175 toInt(VehicleProperty::LANE_KEEP_ASSIST_ENABLED), [all …]
|