Searched refs:SENSOR_RATE_ONCHANGE (Results 1 – 17 of 17) sorted by relevance
/device/google/contexthub/util/nanoapp_cmd/ |
D | nanoapp_cmd.c | 39 #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/ |
D | sensors.c | 123 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()
|
D | nanohub_chre.c | 304 && si->supportedRates[i] != SENSOR_RATE_ONCHANGE in osChreSensorGetInfo() 350 || rate == SENSOR_RATE_ONCHANGE in osChreSensorGetSamplingStatus() 391 rate = SENSOR_RATE_ONCHANGE; in osChreSensorConfigure()
|
D | hostIntf.c | 1329 cmd->rate = SENSOR_RATE_ONCHANGE; in onConfigCmdEnableAll()
|
/device/google/contexthub/firmware/os/drivers/tilt_detection/ |
D | tilt_detection.c | 147 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/ |
D | isl29034.c | 155 SENSOR_RATE_ONCHANGE, 257 if (rate == SENSOR_RATE_ONCHANGE) in sensorRateAls()
|
/device/google/contexthub/firmware/os/drivers/rohm_rpr0521/ |
D | rohm_rpr0521.c | 249 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/ |
D | ams_tmd2772.c | 201 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/ |
D | hall.c | 122 SENSOR_RATE_ONCHANGE,
|
/device/google/contexthub/sensorhal/ |
D | hubconnection.cpp | 62 #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/ |
D | sensors.h | 237 #define SENSOR_RATE_ONCHANGE 0xFFFFFF01UL macro
|
/device/google/contexthub/firmware/os/drivers/hall_twopole/ |
D | hall_twopole.c | 139 SENSOR_RATE_ONCHANGE,
|
/device/google/contexthub/firmware/os/drivers/ams_tmd4903/ |
D | ams_tmd4903.c | 273 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/ |
D | chre10_app.c | 213 || msg->newRate == SENSOR_RATE_ONCHANGE in chreappProcessConfigEvt()
|
D | chre_app.c | 213 || msg->newRate == SENSOR_RATE_ONCHANGE in chreappProcessConfigEvt()
|
/device/google/contexthub/firmware/os/drivers/bosch_bmi160/ |
D | bosch_bmi160.c | 632 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/ |
D | st_lsm6dsm.c | 1101 SENSOR_RATE_ONCHANGE, 3368 if (rate == SENSOR_RATE_ONCHANGE) { in lsm6dsm_setStepCounterRate() 3376 if (rate != SENSOR_RATE_ONCHANGE) { in lsm6dsm_setStepCounterRate()
|