Home
last modified time | relevance | path

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

/system/chre/core/
Dsensor_request.cc113 } else if (mMode == SensorMode::PassiveOneShot in mergeWith()
114 || request.mMode == SensorMode::PassiveOneShot) { in mergeWith()
115 maximalSensorMode = SensorMode::PassiveOneShot; in mergeWith()
Dsensor_type.cc287 return SensorMode::PassiveOneShot; in getSensorModeFromEnum()
/system/chre/core/include/chre/core/
Dsensor_type.h219 PassiveOneShot, enumerator
237 || sensorMode == SensorMode::PassiveOneShot); in sensorModeIsPassive()
253 || sensorMode == SensorMode::PassiveOneShot); in sensorModeIsOneShot()
/system/chre/core/tests/
Dsensor_request_test.cc84 SensorRequest passiveOneShot(SensorMode::PassiveOneShot, in TEST()
95 SensorRequest passiveOneShot(SensorMode::PassiveOneShot, in TEST()
103 EXPECT_EQ(mergedRequest.getMode(), SensorMode::PassiveOneShot); in TEST()