Searched refs:ActiveOneShot (Results 1 – 4 of 4) sorted by relevance
/system/chre/core/ |
D | sensor_type.cc | 27 case SensorMode::ActiveOneShot: in getSensorModeName() 48 return SensorMode::ActiveOneShot; in getSensorModeFromEnum() 66 case SensorMode::ActiveOneShot: in getConfigureModeFromSensorMode()
|
D | sensor_request.cc | 114 } 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/ |
D | sensor_type.h | 94 ActiveOneShot, enumerator 113 sensorMode == SensorMode::ActiveOneShot); in sensorModeIsActive() 137 return (sensorMode == SensorMode::ActiveOneShot || in sensorModeIsOneShot()
|
/system/chre/core/tests/ |
D | sensor_request_test.cc | 36 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()
|