Home
last modified time | relevance | path

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

/system/chre/core/
Dsensor_type.cc27 case SensorMode::ActiveOneShot: in getSensorModeName()
48 return SensorMode::ActiveOneShot; in getSensorModeFromEnum()
66 case SensorMode::ActiveOneShot: in getConfigureModeFromSensorMode()
Dsensor_request.cc114 } else if (mMode == SensorMode::ActiveOneShot || in mergeWith()
115 request.mMode == SensorMode::ActiveOneShot) { in mergeWith()
116 maximalSensorMode = SensorMode::ActiveOneShot; in mergeWith()
/system/chre/core/include/chre/core/
Dsensor_type.h94 ActiveOneShot, enumerator
113 sensorMode == SensorMode::ActiveOneShot); in sensorModeIsActive()
137 return (sensorMode == SensorMode::ActiveOneShot || in sensorModeIsOneShot()
/system/chre/core/tests/
Dsensor_request_test.cc36 SensorRequest activeOneShot(SensorMode::ActiveOneShot, Nanoseconds(0), in TEST()
47 SensorRequest activeOneShot(SensorMode::ActiveOneShot, Nanoseconds(0), in TEST()
56 EXPECT_EQ(mergedRequest.getMode(), SensorMode::ActiveOneShot); in TEST()
87 SensorRequest highLatencyRequest(SensorMode::ActiveOneShot, Nanoseconds(10), in TEST()
98 SensorRequest lowFreqRequest(SensorMode::ActiveOneShot, Nanoseconds(100), in TEST()