Searched refs:sensorMode (Results 1 – 3 of 3) sorted by relevance
24 constexpr bool sensorModeIsActive(SensorMode sensorMode) { in sensorModeIsActive() argument25 return (sensorMode == SensorMode::ActiveContinuous in sensorModeIsActive()26 || sensorMode == SensorMode::ActiveOneShot); in sensorModeIsActive()29 constexpr bool sensorModeIsContinuous(SensorMode sensorMode) { in sensorModeIsContinuous() argument30 return (sensorMode == SensorMode::ActiveContinuous in sensorModeIsContinuous()31 || sensorMode == SensorMode::PassiveContinuous); in sensorModeIsContinuous()34 constexpr bool sensorModeIsOneShot(SensorMode sensorMode) { in sensorModeIsOneShot() argument35 return (sensorMode == SensorMode::ActiveOneShot in sensorModeIsOneShot()36 || sensorMode == SensorMode::PassiveOneShot); in sensorModeIsOneShot()
192 constexpr bool sensorModeIsActive(SensorMode sensorMode);197 constexpr bool sensorModeIsContinuous(SensorMode sensorMode);202 constexpr bool sensorModeIsOneShot(SensorMode sensorMode);
57 SensorMode sensorMode = getSensorModeFromEnum(mode); in chreSensorConfigure() local58 SensorRequest sensorRequest(nanoapp, sensorMode, Nanoseconds(interval), in chreSensorConfigure()