Home
last modified time | relevance | path

Searched refs:SENSOR_RATE_ONCHANGE (Results 1 – 12 of 12) sorted by relevance

/device/google/contexthub/util/nanoapp_cmd/
Dnanoapp_cmd.c35 #define SENSOR_RATE_ONCHANGE 0xFFFFFF01UL macro
102 cmd->rate = SENSOR_RATE_ONCHANGE; in setType()
105 cmd->rate = SENSOR_RATE_ONCHANGE; in setType()
108 cmd->rate = SENSOR_RATE_ONCHANGE; in setType()
111 cmd->rate = SENSOR_RATE_ONCHANGE; in setType()
114 cmd->rate = SENSOR_RATE_ONCHANGE; in setType()
117 cmd->rate = SENSOR_RATE_ONCHANGE; in setType()
120 cmd->rate = SENSOR_RATE_ONCHANGE; in setType()
123 cmd->rate = SENSOR_RATE_ONCHANGE; in setType()
132 cmd->rate = SENSOR_RATE_ONCHANGE; in setType()
[all …]
/device/google/contexthub/sensorhal/
Dhubconnection.cpp53 #define SENSOR_RATE_ONCHANGE 0xFFFFFF01UL macro
142 mSensorState[COMMS_SENSOR_WINDOW_ORIENTATION].rate = SENSOR_RATE_ONCHANGE; in HubConnection()
144 mSensorState[COMMS_SENSOR_STEP_DETECTOR].rate = SENSOR_RATE_ONCHANGE; in HubConnection()
154 mSensorState[COMMS_SENSOR_HALL].rate = SENSOR_RATE_ONCHANGE; in HubConnection()
156 mSensorState[COMMS_SENSOR_SYNC].rate = SENSOR_RATE_ONCHANGE; in HubConnection()
158 mSensorState[COMMS_SENSOR_ACTIVITY].rate = SENSOR_RATE_ONCHANGE; in HubConnection()
160 mSensorState[COMMS_SENSOR_TILT].rate = SENSOR_RATE_ONCHANGE; in HubConnection()
164 mSensorState[COMMS_SENSOR_DOUBLE_TWIST].rate = SENSOR_RATE_ONCHANGE; in HubConnection()
166 mSensorState[COMMS_SENSOR_DOUBLE_TAP].rate = SENSOR_RATE_ONCHANGE; in HubConnection()
1014 mSensorState[handle].rate != SENSOR_RATE_ONCHANGE && in queueSetDelay()
[all …]
/device/google/contexthub/firmware/src/
Dsensors.c154 if (si->supportedRates[i] == SENSOR_RATE_ONCHANGE) in sensorRegisterEx()
427 bool haveUsers = false, haveOnChange = extraReqedRate == SENSOR_RATE_ONCHANGE; in sensorCalcHwRate()
432 ((extraReqedRate == SENSOR_RATE_ONCHANGE && !s->hasOnchange) || in sensorCalcHwRate()
440 …eq = (extraReqedRate == SENSOR_RATE_ONDEMAND || extraReqedRate == SENSOR_RATE_ONCHANGE) ? 0 : extr… in sensorCalcHwRate()
461 if (req->rate == SENSOR_RATE_ONCHANGE) { in sensorCalcHwRate()
474 return SENSOR_RATE_ONCHANGE; in sensorCalcHwRate()
DhostIntf.c1161 cmd->rate = SENSOR_RATE_ONCHANGE; in hostIntfHandleEvent()
/device/google/contexthub/firmware/src/drivers/tilt_detection/
Dtilt_detection.c145 sensorRequest(mTask.taskId, mTask.anyMotionHandle, SENSOR_RATE_ONCHANGE, 0); in configAnyMotion()
155 sensorRequest(mTask.taskId, mTask.noMotionHandle, SENSOR_RATE_ONCHANGE, 0); in configNoMotion()
/device/google/contexthub/firmware/src/drivers/rohm_rpr0521/
Drohm_rpr0521.c222 SENSOR_RATE_ONCHANGE,
352 if (rate == SENSOR_RATE_ONCHANGE) in sensorRateAls()
402 if (rate == SENSOR_RATE_ONCHANGE) in sensorRateProx()
/device/google/contexthub/firmware/src/drivers/ams_tmd2772/
Dams_tmd2772.c182 SENSOR_RATE_ONCHANGE,
284 if (rate == SENSOR_RATE_ONCHANGE) { in sensorRateAls()
339 if (rate == SENSOR_RATE_ONCHANGE) { in sensorRateProx()
/device/google/contexthub/firmware/inc/
Dsensors.h224 #define SENSOR_RATE_ONCHANGE 0xFFFFFF01UL macro
/device/google/contexthub/firmware/src/drivers/hall/
Dhall.c122 SENSOR_RATE_ONCHANGE,
/device/google/contexthub/firmware/src/drivers/ams_tmd4903/
Dams_tmd4903.c235 SENSOR_RATE_ONCHANGE,
400 if (rate == SENSOR_RATE_ONCHANGE) in sensorRateAls()
487 if (rate == SENSOR_RATE_ONCHANGE) in sensorRateProx()
/device/google/contexthub/firmware/src/drivers/hall_twopole/
Dhall_twopole.c139 SENSOR_RATE_ONCHANGE,
/device/google/contexthub/firmware/src/drivers/bosch_bmi160/
Dbosch_bmi160.c477 SENSOR_RATE_ONCHANGE,
1432 if (rate == SENSOR_RATE_ONCHANGE) in magSetRate()
1531 if (rate == SENSOR_RATE_ONCHANGE && mTask.stepCntSamplingTimerHandle) { in stepCntSetRate()
1534 } else if (rate != SENSOR_RATE_ONCHANGE) { in stepCntSetRate()
1647 if (mTask.sensors[STEPCNT].rate == SENSOR_RATE_ONCHANGE || mTask.sensors[STEPCNT].flush) { in sendStepCnt()