Home
last modified time | relevance | path

Searched refs:PassiveOneShot (Results 1 – 4 of 4) sorted by relevance

/system/chre/core/
Dsensor_type.cc29 case SensorMode::PassiveOneShot: in getSensorModeName()
52 return SensorMode::PassiveOneShot; in getSensorModeFromEnum()
70 case SensorMode::PassiveOneShot: in getConfigureModeFromSensorMode()
Dsensor_request.cc120 } else if (mMode == SensorMode::PassiveOneShot || in mergeWith()
121 request.mMode == SensorMode::PassiveOneShot) { in mergeWith()
122 maximalSensorMode = SensorMode::PassiveOneShot; in mergeWith()
/system/chre/core/include/chre/core/
Dsensor_type.h96 PassiveOneShot, enumerator
122 sensorMode == SensorMode::PassiveOneShot); in sensorModeIsPassive()
138 sensorMode == SensorMode::PassiveOneShot); in sensorModeIsOneShot()
/system/chre/core/tests/
Dsensor_request_test.cc62 SensorRequest passiveOneShot(SensorMode::PassiveOneShot, Nanoseconds(0), in TEST()
73 SensorRequest passiveOneShot(SensorMode::PassiveOneShot, Nanoseconds(0), in TEST()
81 EXPECT_EQ(mergedRequest.getMode(), SensorMode::PassiveOneShot); in TEST()