Lines Matching refs:primary
183 mSensorState[COMMS_SENSOR_ACCEL_UNCALIBRATED].primary = COMMS_SENSOR_ACCEL; in HubConnection()
187 mSensorState[COMMS_SENSOR_ACCEL_WRIST_AWARE].primary = COMMS_SENSOR_ACCEL; in HubConnection()
194 mSensorState[COMMS_SENSOR_GYRO_UNCALIBRATED].primary = COMMS_SENSOR_GYRO; in HubConnection()
198 mSensorState[COMMS_SENSOR_GYRO_WRIST_AWARE].primary = COMMS_SENSOR_GYRO; in HubConnection()
204 mSensorState[COMMS_SENSOR_MAG_UNCALIBRATED].primary = COMMS_SENSOR_MAG; in HubConnection()
1097 uint32_t primary; in processBuf() local
1333 primary = mSensorState[sensor].primary; in processBuf()
1334 primary = (primary ? primary : sensor); in processBuf()
1341 struct Flush& flush = mFlushesPending[primary].front(); in processBuf()
1359 mFlushesPending[primary].pop_front(); in processBuf()
1694 uint32_t primary; in queueFlushInternal() local
1700 primary = mSensorState[handle].primary; in queueFlushInternal()
1701 primary = (primary ? primary : handle); in queueFlushInternal()
1703 std::list<Flush>& flushList = mFlushesPending[primary]; in queueFlushInternal()