Home
last modified time | relevance | path

Searched refs:mSensorState (Results 1 – 2 of 2) sorted by relevance

/device/google/contexthub/sensorhal/
Dhubconnection.cpp129 memset(&mSensorState, 0x00, sizeof(mSensorState)); in HubConnection()
170 mSensorState[COMMS_SENSOR_ACCEL].sensorType = SENS_TYPE_ACCEL; in HubConnection()
171 mSensorState[COMMS_SENSOR_ACCEL].alt = COMMS_SENSOR_ACCEL_UNCALIBRATED; in HubConnection()
172 mSensorState[COMMS_SENSOR_ACCEL_UNCALIBRATED].sensorType = SENS_TYPE_ACCEL; in HubConnection()
173 mSensorState[COMMS_SENSOR_ACCEL_UNCALIBRATED].alt = COMMS_SENSOR_ACCEL; in HubConnection()
174 mSensorState[COMMS_SENSOR_GYRO].sensorType = SENS_TYPE_GYRO; in HubConnection()
175 mSensorState[COMMS_SENSOR_GYRO].alt = COMMS_SENSOR_GYRO_UNCALIBRATED; in HubConnection()
176 mSensorState[COMMS_SENSOR_GYRO_UNCALIBRATED].sensorType = SENS_TYPE_GYRO; in HubConnection()
177 mSensorState[COMMS_SENSOR_GYRO_UNCALIBRATED].alt = COMMS_SENSOR_GYRO; in HubConnection()
178 mSensorState[COMMS_SENSOR_MAG].sensorType = SENS_TYPE_MAG; in HubConnection()
[all …]
Dhubconnection.h234 SensorState mSensorState[NUM_COMMS_SENSORS_PLUS_1]; member
256 && mSensorState[handle].sensorType; in isValidHandle()