Home | History | Annotate | Download | only in vehicle

Lines Matching defs:config

193     vehicle_prop_config_t* config = find_config(data->prop);
194 if (config == NULL) {
195 ALOGE("vdev_get: cannot find config 0x%x", data->prop);
198 data->value_type = config->value_type;
267 vehicle_prop_config_t* config = find_config(data->prop);
268 if (config == NULL) {
269 ALOGE("vdev_set: cannot find config 0x%x", data->prop);
272 if (config->value_type != data->value_type) {
274 config->value_type);
419 vehicle_prop_config_t* config = find_config(prop);
420 if (config == NULL) {
425 if ((config->access != VEHICLE_PROP_ACCESS_READ) &&
426 (config->access != VEHICLE_PROP_ACCESS_READ_WRITE)) {
431 if (config->change_mode == VEHICLE_PROP_CHANGE_MODE_STATIC) {
436 if ((config->change_mode == VEHICLE_PROP_CHANGE_MODE_ON_CHANGE) && (sample_rate != 0)) {
442 config->max_sample_rate < sample_rate) || (config->min_sample_rate > sample_rate)) {
445 prop, sample_rate, config->min_sample_rate, config->max_sample_rate);
449 subscription_t* sub = (subscription_t*)config->hal_data;
458 config->hal_data = sub;
477 vehicle_prop_config_t* config = find_config(prop);
478 if (config == NULL) {
482 subscription_t* sub = (subscription_t*)config->hal_data;
487 config->hal_data = NULL;