Home
last modified time | relevance | path

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

/system/chre/core/include/chre/core/
Dsensor_type.h105 const char *getSensorModeName(SensorMode sensorMode);
111 constexpr bool sensorModeIsActive(SensorMode sensorMode) { in sensorModeIsActive() argument
112 return (sensorMode == SensorMode::ActiveContinuous || in sensorModeIsActive()
113 sensorMode == SensorMode::ActiveOneShot); in sensorModeIsActive()
120 constexpr bool sensorModeIsPassive(SensorMode sensorMode) { in sensorModeIsPassive() argument
121 return (sensorMode == SensorMode::PassiveContinuous || in sensorModeIsPassive()
122 sensorMode == SensorMode::PassiveOneShot); in sensorModeIsPassive()
128 constexpr bool sensorModeIsContinuous(SensorMode sensorMode) { in sensorModeIsContinuous() argument
129 return (sensorMode == SensorMode::ActiveContinuous || in sensorModeIsContinuous()
130 sensorMode == SensorMode::PassiveContinuous); in sensorModeIsContinuous()
[all …]
/system/chre/core/
Dsensor_type.cc23 const char *getSensorModeName(SensorMode sensorMode) { in getSensorModeName() argument
24 switch (sensorMode) { in getSensorModeName()
/system/chre/platform/shared/
Dchre_api_sensor.cc96 SensorMode sensorMode = getSensorModeFromEnum(mode); in chreSensorConfigure() local
97 SensorRequest sensorRequest(nanoapp->getInstanceId(), sensorMode, in chreSensorConfigure()