vehicle_prop_config Struct Reference
#include <
vehicle.h
>
Data Fields |
|
int32_t | prop |
int32_t | access |
int32_t | change_mode |
int32_t | value_type |
int32_t | permission_model |
union { | |
int32_t vehicle_zone_flags | |
int32_t vehicle_seat_flags | |
int32_t vehicle_window_flags | |
}; | |
union { | |
int32_t config_flags | |
int32_t vehicle_radio_num_presets | |
int32_t config_array [4] | |
}; | |
vehicle_str_t | config_string |
union { | |
float float_min_value | |
int32_t int32_min_value | |
int64_t int64_min_value | |
}; | |
union { | |
float float_max_value | |
int32_t int32_max_value | |
int64_t int64_max_value | |
}; | |
union { | |
float * float_min_values | |
int32_t * int32_min_values | |
int64_t * int64_min_values | |
}; | |
union { | |
float * float_max_values | |
int32_t * int32_max_values | |
int64_t * int64_max_values | |
}; | |
float | min_sample_rate |
float | max_sample_rate |
void * | hal_data |
Detailed Description
Field Documentation
union { ... } |
Specify minimum allowed value for the property. This is necessary for property which does not have specified enum.
union { ... } |
Specify maximum allowed value for the property. This is necessary for property which does not have specified enum.
union { ... } |
Array of min values for zoned properties. Zoned property can specify min / max value in two different ways:
- All zones having the same min / max value: *_min/max_value should be set and this array should be set to NULL.
- All zones having separate min / max value: *_min/max_values array should be populated and its length should be the same as number of active zones specified by *_zone_flags.
Should be NULL if each zone does not have separate max values.
union { ... } |
Array of max values for zoned properties. See above for its usage. Should be NULL if each zone does not have separate max values. If not NULL, length of array should match that of min_values.
union { ... } |
Some of the properties may have associated zones (such as hvac), in these cases the config should contain an ORed value for the associated zone.
union { ... } |
Property specific configuration information. Usage of this will be defined per each property.
int32_t access |
int32_t change_mode |
int32_t config_flags |
vehicle_str_t config_string |
void* hal_data |
float max_sample_rate |
float min_sample_rate |
int32_t permission_model |
int32_t value_type |
int32_t vehicle_radio_num_presets |
int32_t vehicle_seat_flags |
int32_t vehicle_window_flags |
int32_t vehicle_zone_flags |
The documentation for this struct was generated from the following file:
- hardware/libhardware/include/hardware/ vehicle.h