Home
last modified time | relevance | path

Searched refs:sensorMode (Results 1 – 2 of 2) sorted by relevance

/system/chre/core/include/chre/core/
Dsensor_type.h226 constexpr bool sensorModeIsActive(SensorMode sensorMode) { in sensorModeIsActive() argument
227 return (sensorMode == SensorMode::ActiveContinuous in sensorModeIsActive()
228 || sensorMode == SensorMode::ActiveOneShot); in sensorModeIsActive()
235 constexpr bool sensorModeIsPassive(SensorMode sensorMode) { in sensorModeIsPassive() argument
236 return (sensorMode == SensorMode::PassiveContinuous in sensorModeIsPassive()
237 || sensorMode == SensorMode::PassiveOneShot); in sensorModeIsPassive()
243 constexpr bool sensorModeIsContinuous(SensorMode sensorMode) { in sensorModeIsContinuous() argument
244 return (sensorMode == SensorMode::ActiveContinuous in sensorModeIsContinuous()
245 || sensorMode == SensorMode::PassiveContinuous); in sensorModeIsContinuous()
251 constexpr bool sensorModeIsOneShot(SensorMode sensorMode) { in sensorModeIsOneShot() argument
[all …]
/system/chre/platform/shared/
Dchre_api_sensor.cc154 SensorMode sensorMode = getSensorModeFromEnum(mode); in chreSensorConfigure() local
155 SensorRequest sensorRequest(nanoapp->getInstanceId(), sensorMode, in chreSensorConfigure()