Home
last modified time | relevance | path

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

/frameworks/native/libs/gui/
DSensorEventQueue.cpp43 : mSensorEventConnection(connection), mRecBuffer(NULL), mAvailable(0), mConsumed(0), in SensorEventQueue()
54 mSensorChannel = mSensorEventConnection->getSensorChannel(); in onFirstRef()
128 return mSensorEventConnection->enableDisable(sensor->getHandle(), true, 0, 0, false); in enableSensor()
132 return mSensorEventConnection->enableDisable(sensor->getHandle(), false, 0, 0, false); in disableSensor()
137 return mSensorEventConnection->enableDisable(handle, true, us2ns(samplingPeriodUs), in enableSensor()
142 return mSensorEventConnection->flush(); in flush()
146 return mSensorEventConnection->enableDisable(handle, false, 0, 0, false); in disableSensor()
150 return mSensorEventConnection->setEventRate(sensor->getHandle(), ns); in setEventRate()
/frameworks/native/include/gui/
DSensorEventQueue.h85 sp<ISensorEventConnection> mSensorEventConnection; variable