Searched refs:sensors (Results 1 – 2 of 2) sorted by relevance
123 sensors_event_t sensors[MAX_NUM_SENSORS]; member156 uint32_t mask, sensors, active, new_sensors, changed; in control__activate() local169 sensors = enabled ? mask : 0; in control__activate()172 new_sensors = (active & ~mask) | (sensors & mask); in control__activate()234 memset(&data->sensors, 0, sizeof(data->sensors)); in data__data_open()237 data->sensors[i].acceleration.status = SENSOR_STATUS_ACCURACY_HIGH; in data__data_open()272 *values = data->sensors[i]; in pick_sensor()328 data->sensors[ID_ACCELERATION].acceleration.x = params[0]; in data__poll()329 data->sensors[ID_ACCELERATION].acceleration.y = params[1]; in data__poll()330 data->sensors[ID_ACCELERATION].acceleration.z = params[2]; in data__poll()[all …]
33 LOCAL_MODULE := sensors.goldfish