Searched refs:sensorMode (Results 1 – 2 of 2) sorted by relevance
213 constexpr bool sensorModeIsActive(SensorMode sensorMode) { in sensorModeIsActive() argument214 return (sensorMode == SensorMode::ActiveContinuous in sensorModeIsActive()215 || sensorMode == SensorMode::ActiveOneShot); in sensorModeIsActive()222 constexpr bool sensorModeIsPassive(SensorMode sensorMode) { in sensorModeIsPassive() argument223 return (sensorMode == SensorMode::PassiveContinuous in sensorModeIsPassive()224 || sensorMode == SensorMode::PassiveOneShot); in sensorModeIsPassive()230 constexpr bool sensorModeIsContinuous(SensorMode sensorMode) { in sensorModeIsContinuous() argument231 return (sensorMode == SensorMode::ActiveContinuous in sensorModeIsContinuous()232 || sensorMode == SensorMode::PassiveContinuous); in sensorModeIsContinuous()238 constexpr bool sensorModeIsOneShot(SensorMode sensorMode) { in sensorModeIsOneShot() argument[all …]
70 SensorMode sensorMode = getSensorModeFromEnum(mode); in chreSensorConfigure() local71 SensorRequest sensorRequest(nanoapp, sensorMode, Nanoseconds(interval), in chreSensorConfigure()