Searched refs:SENSOR_RATE_ONCHANGE (Results 1 – 12 of 12) sorted by relevance
/device/google/contexthub/util/nanoapp_cmd/ |
D | nanoapp_cmd.c | 35 #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/ |
D | hubconnection.cpp | 53 #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/ |
D | sensors.c | 154 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()
|
D | hostIntf.c | 1161 cmd->rate = SENSOR_RATE_ONCHANGE; in hostIntfHandleEvent()
|
/device/google/contexthub/firmware/src/drivers/tilt_detection/ |
D | tilt_detection.c | 145 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/ |
D | rohm_rpr0521.c | 222 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/ |
D | ams_tmd2772.c | 182 SENSOR_RATE_ONCHANGE, 284 if (rate == SENSOR_RATE_ONCHANGE) { in sensorRateAls() 339 if (rate == SENSOR_RATE_ONCHANGE) { in sensorRateProx()
|
/device/google/contexthub/firmware/inc/ |
D | sensors.h | 224 #define SENSOR_RATE_ONCHANGE 0xFFFFFF01UL macro
|
/device/google/contexthub/firmware/src/drivers/hall/ |
D | hall.c | 122 SENSOR_RATE_ONCHANGE,
|
/device/google/contexthub/firmware/src/drivers/ams_tmd4903/ |
D | ams_tmd4903.c | 235 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/ |
D | hall_twopole.c | 139 SENSOR_RATE_ONCHANGE,
|
/device/google/contexthub/firmware/src/drivers/bosch_bmi160/ |
D | bosch_bmi160.c | 477 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()
|