Home
last modified time | relevance | path

Searched refs:mSensorDevice (Results 1 – 5 of 5) sorted by relevance

/frameworks/native/services/sensorservice/
DSensorInterface.cpp33 mSensorDevice(SensorDevice::getInstance()), in BaseSensor()
34 mSensor(&sensor, mSensorDevice.getHalDeviceVersion()) { in BaseSensor()
38 mSensorDevice(SensorDevice::getInstance()), in BaseSensor()
39 mSensor(sensor, Sensor::uuid_t(uuid), mSensorDevice.getHalDeviceVersion()) { in BaseSensor()
62 return mSensorDevice.activate(ident, mSensor.getHandle(), enabled); in activate()
67 return mSensorDevice.batch(ident, mSensor.getHandle(), flags, samplingPeriodNs, in batch()
72 return mSensorDevice.flush(ident, handle); in flush()
76 return mSensorDevice.setDelay(ident, handle, ns); in setDelay()
80 mSensorDevice.autoDisable(ident, handle); in autoDisable()
DSensorFusion.cpp30 : mSensorDevice(SensorDevice::getInstance()), in ANDROID_SINGLETON_STATIC_INSTANCE()
36 ssize_t count = mSensorDevice.getSensorList(&list); in ANDROID_SINGLETON_STATIC_INSTANCE()
151 mSensorDevice.activate(ident, mAcc.getHandle(), enabled); in activate()
153 mSensorDevice.activate(ident, mMag.getHandle(), enabled); in activate()
156 mSensorDevice.activate(ident, mGyro.getHandle(), enabled); in activate()
167 mSensorDevice.batch(ident, mAcc.getHandle(), 0, ns, 0); in setDelay()
169 mSensorDevice.batch(ident, mMag.getHandle(), 0, ms2ns(10), 0); in setDelay()
172 mSensorDevice.batch(ident, mGyro.getHandle(), 0, mTargetDelayNs, 0); in setDelay()
DCorrectedGyroSensor.cpp71 mSensorDevice.activate(ident, mGyro.getHandle(), enabled); in activate()
76 mSensorDevice.setDelay(ident, mGyro.getHandle(), ns); in setDelay()
DSensorFusion.h41 SensorDevice& mSensorDevice; variable
DSensorInterface.h69 SensorDevice& mSensorDevice;