Searched refs:sensorMode (Results 1 – 2 of 2) sorted by relevance
226 constexpr bool sensorModeIsActive(SensorMode sensorMode) { in sensorModeIsActive() argument227 return (sensorMode == SensorMode::ActiveContinuous in sensorModeIsActive()228 || sensorMode == SensorMode::ActiveOneShot); in sensorModeIsActive()235 constexpr bool sensorModeIsPassive(SensorMode sensorMode) { in sensorModeIsPassive() argument236 return (sensorMode == SensorMode::PassiveContinuous in sensorModeIsPassive()237 || sensorMode == SensorMode::PassiveOneShot); in sensorModeIsPassive()243 constexpr bool sensorModeIsContinuous(SensorMode sensorMode) { in sensorModeIsContinuous() argument244 return (sensorMode == SensorMode::ActiveContinuous in sensorModeIsContinuous()245 || sensorMode == SensorMode::PassiveContinuous); in sensorModeIsContinuous()251 constexpr bool sensorModeIsOneShot(SensorMode sensorMode) { in sensorModeIsOneShot() argument[all …]
154 SensorMode sensorMode = getSensorModeFromEnum(mode); in chreSensorConfigure() local155 SensorRequest sensorRequest(nanoapp->getInstanceId(), sensorMode, in chreSensorConfigure()