Home
last modified time | relevance | path

Searched refs:mSensorInfo (Results 1 – 2 of 2) sorted by relevance

/hardware/interfaces/sensors/2.0/default/
DSensor.cpp54 return mSensorInfo; in getSensorInfo()
58 if (samplingPeriodNs < mSensorInfo.minDelay * 1000) { in batch()
59 samplingPeriodNs = mSensorInfo.minDelay * 1000; in batch()
60 } else if (samplingPeriodNs > mSensorInfo.maxDelay * 1000) { in batch()
61 samplingPeriodNs = mSensorInfo.maxDelay * 1000; in batch()
82 if (!mIsEnabled || (mSensorInfo.flags & static_cast<uint32_t>(SensorFlagBits::ONE_SHOT_MODE))) { in flush()
89 ev.sensorHandle = mSensorInfo.sensorHandle; in flush()
129 return mSensorInfo.flags & static_cast<uint32_t>(SensorFlagBits::WAKE_UP); in isWakeUpSensor()
135 event.sensorHandle = mSensorInfo.sensorHandle; in readEvents()
136 event.sensorType = mSensorInfo.type; in readEvents()
[all …]
DSensor.h70 SensorInfo mSensorInfo; variable