Lines Matching refs:rate

213     mSensorState[COMMS_SENSOR_WINDOW_ORIENTATION].rate = SENSOR_RATE_ONCHANGE;  in HubConnection()
215 mSensorState[COMMS_SENSOR_STEP_DETECTOR].rate = SENSOR_RATE_ONCHANGE; in HubConnection()
218 mSensorState[COMMS_SENSOR_SIGNIFICANT_MOTION].rate = SENSOR_RATE_ONESHOT; in HubConnection()
225 mSensorState[COMMS_SENSOR_HALL].rate = SENSOR_RATE_ONCHANGE; in HubConnection()
227 mSensorState[COMMS_SENSOR_SYNC].rate = SENSOR_RATE_ONCHANGE; in HubConnection()
229 mSensorState[COMMS_SENSOR_TILT].rate = SENSOR_RATE_ONCHANGE; in HubConnection()
231 mSensorState[COMMS_SENSOR_GESTURE].rate = SENSOR_RATE_ONESHOT; in HubConnection()
233 mSensorState[COMMS_SENSOR_DOUBLE_TWIST].rate = SENSOR_RATE_ONCHANGE; in HubConnection()
235 mSensorState[COMMS_SENSOR_DOUBLE_TAP].rate = SENSOR_RATE_ONCHANGE; in HubConnection()
238 mSensorState[COMMS_SENSOR_DOUBLE_TOUCH].rate = SENSOR_RATE_ONESHOT; in HubConnection()
240 mSensorState[COMMS_SENSOR_GAZE].rate = SENSOR_RATE_ONESHOT; in HubConnection()
242 mSensorState[COMMS_SENSOR_UNGAZE].rate = SENSOR_RATE_ONESHOT; in HubConnection()
1010 … cmd.sensorType, i, mSensorState[i].enable, frequency_q10_to_period_ns(mSensorState[i].rate), in restoreSensorState()
1561 cmd->rate = mSensorState[handle].rate; in initConfigCmd()
1567 cmd->rate = UINT32_C(0); in initConfigCmd()
1579 if (mSensorState[alt].rate > cmd->rate) { in initConfigCmd()
1580 cmd->rate = mSensorState[alt].rate; in initConfigCmd()
1631 mSensorState[handle].rate != SENSOR_RATE_ONCHANGE && in queueSetDelay()
1632 mSensorState[handle].rate != SENSOR_RATE_ONESHOT) { in queueSetDelay()
1633 mSensorState[handle].rate = period_ns_to_frequency_q10(sampling_period_ns); in queueSetDelay()
1662 mSensorState[handle].rate != SENSOR_RATE_ONCHANGE && in queueBatch()
1663 mSensorState[handle].rate != SENSOR_RATE_ONESHOT) { in queueBatch()
1664 mSensorState[handle].rate = period_ns_to_frequency_q10(sampling_period_ns); in queueBatch()
1999 rate_q10_t rate; in mergeDirectReportRequest() local
2000 rate = period_ns_to_frequency_q10(period); in mergeDirectReportRequest()
2002 cmd->rate = (rate > cmd->rate || cmd->cmd == CONFIG_CMD_DISABLE) ? rate : cmd->rate; in mergeDirectReportRequest()
2164 (frequency_q10_to_period_ns(mSensorState[handle].rate) + PERIOD_800HZ / 2) in updateSampleRate()