Home
last modified time | relevance | path

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

/device/google/contexthub/util/nanoapp_cmd/
Dnanoapp_cmd.c39 #define SENSOR_RATE_ONCHANGE 0xFFFFFF01UL macro
135 cmd->rate = SENSOR_RATE_ONCHANGE; in setType()
138 cmd->rate = SENSOR_RATE_ONCHANGE; in setType()
141 cmd->rate = SENSOR_RATE_ONCHANGE; in setType()
144 cmd->rate = SENSOR_RATE_ONCHANGE; in setType()
147 cmd->rate = SENSOR_RATE_ONCHANGE; in setType()
150 cmd->rate = SENSOR_RATE_ONCHANGE; in setType()
153 cmd->rate = SENSOR_RATE_ONCHANGE; in setType()
156 cmd->rate = SENSOR_RATE_ONCHANGE; in setType()
165 cmd->rate = SENSOR_RATE_ONCHANGE; in setType()
[all …]
/device/google/contexthub/firmware/os/core/
Dsensors.c123 if (si->supportedRates[i] == SENSOR_RATE_ONCHANGE) in sensorRegisterEx()
404 bool haveUsers = false, haveOnChange = extraReqedRate == SENSOR_RATE_ONCHANGE; in sensorCalcHwRate()
409 ((extraReqedRate == SENSOR_RATE_ONCHANGE && !s->hasOnchange) || in sensorCalcHwRate()
417 …eq = (extraReqedRate == SENSOR_RATE_ONDEMAND || extraReqedRate == SENSOR_RATE_ONCHANGE) ? 0 : extr… in sensorCalcHwRate()
438 if (req->rate == SENSOR_RATE_ONCHANGE) { in sensorCalcHwRate()
451 return SENSOR_RATE_ONCHANGE; in sensorCalcHwRate()
Dnanohub_chre.c304 && si->supportedRates[i] != SENSOR_RATE_ONCHANGE in osChreSensorGetInfo()
350 || rate == SENSOR_RATE_ONCHANGE in osChreSensorGetSamplingStatus()
391 rate = SENSOR_RATE_ONCHANGE; in osChreSensorConfigure()
DhostIntf.c1329 cmd->rate = SENSOR_RATE_ONCHANGE; in onConfigCmdEnableAll()
/device/google/contexthub/firmware/os/drivers/tilt_detection/
Dtilt_detection.c147 sensorRequest(mTask.taskId, mTask.anyMotionHandle, SENSOR_RATE_ONCHANGE, 0); in configAnyMotion()
157 sensorRequest(mTask.taskId, mTask.noMotionHandle, SENSOR_RATE_ONCHANGE, 0); in configNoMotion()
/device/google/contexthub/firmware/os/drivers/intersil_isl29034/
Disl29034.c155 SENSOR_RATE_ONCHANGE,
257 if (rate == SENSOR_RATE_ONCHANGE) in sensorRateAls()
/device/google/contexthub/firmware/os/drivers/rohm_rpr0521/
Drohm_rpr0521.c249 SENSOR_RATE_ONCHANGE,
419 if (rate == SENSOR_RATE_ONCHANGE) in sensorRateAls()
469 if (rate == SENSOR_RATE_ONCHANGE) in sensorRateProx()
/device/google/contexthub/firmware/os/drivers/ams_tmd2772/
Dams_tmd2772.c201 SENSOR_RATE_ONCHANGE,
346 if (rate == SENSOR_RATE_ONCHANGE) { in sensorRateAls()
401 if (rate == SENSOR_RATE_ONCHANGE) { in sensorRateProx()
/device/google/contexthub/firmware/os/drivers/hall/
Dhall.c122 SENSOR_RATE_ONCHANGE,
/device/google/contexthub/sensorhal/
Dhubconnection.cpp62 #define SENSOR_RATE_ONCHANGE 0xFFFFFF01UL macro
213 mSensorState[COMMS_SENSOR_WINDOW_ORIENTATION].rate = SENSOR_RATE_ONCHANGE; in HubConnection()
215 mSensorState[COMMS_SENSOR_STEP_DETECTOR].rate = SENSOR_RATE_ONCHANGE; 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()
233 mSensorState[COMMS_SENSOR_DOUBLE_TWIST].rate = SENSOR_RATE_ONCHANGE; in HubConnection()
235 mSensorState[COMMS_SENSOR_DOUBLE_TAP].rate = SENSOR_RATE_ONCHANGE; in HubConnection()
1631 mSensorState[handle].rate != SENSOR_RATE_ONCHANGE && in queueSetDelay()
1662 mSensorState[handle].rate != SENSOR_RATE_ONCHANGE && in queueBatch()
/device/google/contexthub/firmware/os/inc/
Dsensors.h237 #define SENSOR_RATE_ONCHANGE 0xFFFFFF01UL macro
/device/google/contexthub/firmware/os/drivers/hall_twopole/
Dhall_twopole.c139 SENSOR_RATE_ONCHANGE,
/device/google/contexthub/firmware/os/drivers/ams_tmd4903/
Dams_tmd4903.c273 SENSOR_RATE_ONCHANGE,
507 if (rate == SENSOR_RATE_ONCHANGE) in sensorRateAls()
594 if (rate == SENSOR_RATE_ONCHANGE) in sensorRateProx()
/device/google/contexthub/firmware/app/chre/common/
Dchre10_app.c213 || msg->newRate == SENSOR_RATE_ONCHANGE in chreappProcessConfigEvt()
Dchre_app.c213 || msg->newRate == SENSOR_RATE_ONCHANGE in chreappProcessConfigEvt()
/device/google/contexthub/firmware/os/drivers/bosch_bmi160/
Dbosch_bmi160.c632 SENSOR_RATE_ONCHANGE,
1703 if (rate == SENSOR_RATE_ONCHANGE)
1803 if (rate == SENSOR_RATE_ONCHANGE && mTask.stepCntSamplingTimerHandle) {
1806 } else if (rate != SENSOR_RATE_ONCHANGE) {
1926 if (mTask.sensors[STEPCNT].rate == SENSOR_RATE_ONCHANGE || mTask.sensors[STEPCNT].flush) {
/device/google/contexthub/firmware/os/drivers/st_lsm6dsm/
Dst_lsm6dsm.c1101 SENSOR_RATE_ONCHANGE,
3368 if (rate == SENSOR_RATE_ONCHANGE) { in lsm6dsm_setStepCounterRate()
3376 if (rate != SENSOR_RATE_ONCHANGE) { in lsm6dsm_setStepCounterRate()