Searched refs:sensorMode (Results 1 – 3 of 3) sorted by relevance
105 const char *getSensorModeName(SensorMode sensorMode);111 constexpr bool sensorModeIsActive(SensorMode sensorMode) { in sensorModeIsActive() argument112 return (sensorMode == SensorMode::ActiveContinuous || in sensorModeIsActive()113 sensorMode == SensorMode::ActiveOneShot); in sensorModeIsActive()120 constexpr bool sensorModeIsPassive(SensorMode sensorMode) { in sensorModeIsPassive() argument121 return (sensorMode == SensorMode::PassiveContinuous || in sensorModeIsPassive()122 sensorMode == SensorMode::PassiveOneShot); in sensorModeIsPassive()128 constexpr bool sensorModeIsContinuous(SensorMode sensorMode) { in sensorModeIsContinuous() argument129 return (sensorMode == SensorMode::ActiveContinuous || in sensorModeIsContinuous()130 sensorMode == SensorMode::PassiveContinuous); in sensorModeIsContinuous()[all …]
23 const char *getSensorModeName(SensorMode sensorMode) { in getSensorModeName() argument24 switch (sensorMode) { in getSensorModeName()
96 SensorMode sensorMode = getSensorModeFromEnum(mode); in chreSensorConfigure() local97 SensorRequest sensorRequest(nanoapp->getInstanceId(), sensorMode, in chreSensorConfigure()