Home
last modified time | relevance | path

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

/device/google/contexthub/sensorhal/
Dhubconnection.cpp137 memset(&mSensorState, 0x00, sizeof(mSensorState)); in HubConnection()
179 mSensorState[COMMS_SENSOR_ACCEL].sensorType = SENS_TYPE_ACCEL; in HubConnection()
180 mSensorState[COMMS_SENSOR_ACCEL].alt[0] = COMMS_SENSOR_ACCEL_UNCALIBRATED; in HubConnection()
181 mSensorState[COMMS_SENSOR_ACCEL].alt[1] = COMMS_SENSOR_ACCEL_WRIST_AWARE; in HubConnection()
182 mSensorState[COMMS_SENSOR_ACCEL_UNCALIBRATED].sensorType = SENS_TYPE_ACCEL; in HubConnection()
183 mSensorState[COMMS_SENSOR_ACCEL_UNCALIBRATED].primary = COMMS_SENSOR_ACCEL; in HubConnection()
184 mSensorState[COMMS_SENSOR_ACCEL_UNCALIBRATED].alt[0] = COMMS_SENSOR_ACCEL; in HubConnection()
185 mSensorState[COMMS_SENSOR_ACCEL_UNCALIBRATED].alt[1] = COMMS_SENSOR_ACCEL_WRIST_AWARE; in HubConnection()
186 mSensorState[COMMS_SENSOR_ACCEL_WRIST_AWARE].sensorType = SENS_TYPE_ACCEL; in HubConnection()
187 mSensorState[COMMS_SENSOR_ACCEL_WRIST_AWARE].primary = COMMS_SENSOR_ACCEL; in HubConnection()
[all …]
Dhubconnection.h253 SensorState mSensorState[NUM_COMMS_SENSORS_PLUS_1]; member
276 && mSensorState[handle].sensorType; in isValidHandle()