Home
last modified time | relevance | path

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

/device/google/contexthub/sensorhal/
Dhubconnection.cpp103 memset(&mSensorState, 0x00, sizeof(mSensorState)); in HubConnection()
127 mSensorState[COMMS_SENSOR_ACCEL].sensorType = SENS_TYPE_ACCEL; in HubConnection()
128 mSensorState[COMMS_SENSOR_GYRO].sensorType = SENS_TYPE_GYRO; in HubConnection()
129 mSensorState[COMMS_SENSOR_GYRO].alt = COMMS_SENSOR_GYRO_UNCALIBRATED; in HubConnection()
130 mSensorState[COMMS_SENSOR_GYRO_UNCALIBRATED].sensorType = SENS_TYPE_GYRO; in HubConnection()
131 mSensorState[COMMS_SENSOR_GYRO_UNCALIBRATED].alt = COMMS_SENSOR_GYRO; in HubConnection()
132 mSensorState[COMMS_SENSOR_MAG].sensorType = SENS_TYPE_MAG; in HubConnection()
133 mSensorState[COMMS_SENSOR_MAG].alt = COMMS_SENSOR_MAG_UNCALIBRATED; in HubConnection()
134 mSensorState[COMMS_SENSOR_MAG_UNCALIBRATED].sensorType = SENS_TYPE_MAG; in HubConnection()
135 mSensorState[COMMS_SENSOR_MAG_UNCALIBRATED].alt = COMMS_SENSOR_MAG; in HubConnection()
[all …]
Dhubconnection.h198 SensorState mSensorState[NUM_COMMS_SENSORS_PLUS_1]; member