Searched refs:mSensorEventConnection (Results 1 – 2 of 2) sorted by relevance
/frameworks/native/libs/sensor/ |
D | SensorEventQueue.cpp | 41 : mSensorEventConnection(connection), mRecBuffer(nullptr), mAvailable(0), mConsumed(0), in SensorEventQueue() 52 mSensorChannel = mSensorEventConnection->getSensorChannel(); in onFirstRef() 130 return mSensorEventConnection->enableDisable(sensor->getHandle(), true, in enableSensor() 135 return mSensorEventConnection->enableDisable(sensor->getHandle(), false, 0, 0, 0); in disableSensor() 140 return mSensorEventConnection->enableDisable(handle, true, us2ns(samplingPeriodUs), in enableSensor() 145 return mSensorEventConnection->flush(); in flush() 149 return mSensorEventConnection->enableDisable(handle, false, 0, 0, false); in disableSensor() 153 return mSensorEventConnection->setEventRate(sensor->getHandle(), ns); in setEventRate()
|
/frameworks/native/libs/sensor/include/sensor/ |
D | SensorEventQueue.h | 105 sp<ISensorEventConnection> mSensorEventConnection; variable
|