Home
last modified time | relevance | path

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

/frameworks/native/libs/sensor/
DSensorEventQueue.cpp40 : mSensorEventConnection(connection), mRecBuffer(NULL), mAvailable(0), mConsumed(0), in SensorEventQueue()
51 mSensorChannel = mSensorEventConnection->getSensorChannel(); in onFirstRef()
129 return mSensorEventConnection->enableDisable(sensor->getHandle(), true, in enableSensor()
134 return mSensorEventConnection->enableDisable(sensor->getHandle(), false, 0, 0, 0); in disableSensor()
139 return mSensorEventConnection->enableDisable(handle, true, us2ns(samplingPeriodUs), in enableSensor()
144 return mSensorEventConnection->flush(); in flush()
148 return mSensorEventConnection->enableDisable(handle, false, 0, 0, false); in disableSensor()
152 return mSensorEventConnection->setEventRate(sensor->getHandle(), ns); in setEventRate()
/frameworks/native/libs/sensor/include/sensor/
DSensorEventQueue.h97 sp<ISensorEventConnection> mSensorEventConnection; variable