Home
last modified time | relevance | path

Searched refs:sensor_data (Results 1 – 3 of 3) sorted by relevance

/device/google/dragon/sensor_hub/
Dsensors.cpp259 sensor_t *sensor_data; in cros_ec_get_sensors_list() local
260 sensor_data = &Ssensor_info_[i].sensor_data; in cros_ec_get_sensors_list()
261 memcpy(&Ssensor_list_[Stotal_sensor_count_ - 1], sensor_data, in cros_ec_get_sensors_list()
276 sensor_t *sensor_data; in cros_ec_get_sensors_list() local
277 sensor_data = &Sgesture_info_[i].sensor_data; in cros_ec_get_sensors_list()
278 memcpy(&Ssensor_list_[Stotal_sensor_count_ - 1], sensor_data, in cros_ec_get_sensors_list()
328 sensor_t *sensor_data; in cros_ec_get_gesture_names() local
329 sensor_data = &gesture_info->sensor_data; in cros_ec_get_gesture_names()
330 memcpy(sensor_data, &sGestureListTemplate[gesture], sizeof(sensor_t)); in cros_ec_get_gesture_names()
331 sensor_data->handle = CROS_EC_MAX_PHYSICAL_SENSOR + gesture_id; in cros_ec_get_gesture_names()
[all …]
Dcros_ec_sensors.cpp133 if (info->sensor_data.flags & SENSOR_FLAG_ONE_SHOT_MODE) in flush()
208 info->sensor_data.maxDelay) in batch()
209 info->sampling_period_ns = microseconds_to_nanoseconds(info->sensor_data.maxDelay); in batch()
211 info->sensor_data.minDelay) in batch()
212 info->sampling_period_ns = microseconds_to_nanoseconds(info->sensor_data.minDelay); in batch()
316 data->type = gesture->sensor_data.type; in processEvent()
327 if (gesture->sensor_data.flags & SENSOR_FLAG_ONE_SHOT_MODE) in processEvent()
340 data->type = info->sensor_data.type; in processEvent()
350 switch (info->sensor_data.type) { in processEvent()
364 d * mSensorInfo[event->sensor_id].sensor_data.resolution; in processEvent()
Dcros_ec_sensors.h94 sensor_t sensor_data; member
104 sensor_t sensor_data; member