Searched refs:mSensorEventConnection (Results 1 – 2 of 2) sorted by relevance
/frameworks/native/libs/gui/ |
D | SensorEventQueue.cpp | 38 : mSensorEventConnection(connection), mRecBuffer(NULL), mAvailable(0), mConsumed(0) { in SensorEventQueue() 48 mSensorChannel = mSensorEventConnection->getSensorChannel(); in onFirstRef() 122 return mSensorEventConnection->enableDisable(sensor->getHandle(), true, 0, 0, false); in enableSensor() 126 return mSensorEventConnection->enableDisable(sensor->getHandle(), false, 0, 0, false); in disableSensor() 131 return mSensorEventConnection->enableDisable(handle, true, us2ns(samplingPeriodUs), in enableSensor() 136 return mSensorEventConnection->flush(); in flush() 140 return mSensorEventConnection->enableDisable(handle, false, 0, 0, false); in disableSensor() 144 return mSensorEventConnection->setEventRate(sensor->getHandle(), ns); in setEventRate()
|
/frameworks/native/include/gui/ |
D | SensorEventQueue.h | 81 sp<ISensorEventConnection> mSensorEventConnection; variable
|