Home
last modified time | relevance | path

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

/frameworks/native/services/sensorservice/
DSensorDevice.cpp41 : mSensorDevice(0), in ANDROID_SINGLETON_STATIC_INSTANCE()
51 err = sensors_open_1(&mSensorModule->common, &mSensorDevice); in ANDROID_SINGLETON_STATIC_INSTANCE()
56 if (mSensorDevice) { in ANDROID_SINGLETON_STATIC_INSTANCE()
57 if (mSensorDevice->common.version == SENSORS_DEVICE_API_VERSION_1_1 || in ANDROID_SINGLETON_STATIC_INSTANCE()
58 mSensorDevice->common.version == SENSORS_DEVICE_API_VERSION_1_2) { in ANDROID_SINGLETON_STATIC_INSTANCE()
68 mSensorDevice->activate( in ANDROID_SINGLETON_STATIC_INSTANCE()
69 reinterpret_cast<struct sensors_poll_device_t *>(mSensorDevice), in ANDROID_SINGLETON_STATIC_INSTANCE()
116 return mSensorDevice && mSensorModule ? NO_ERROR : NO_INIT; in initCheck()
120 if (!mSensorDevice) return NO_INIT; in poll()
123 c = mSensorDevice->poll(reinterpret_cast<struct sensors_poll_device_t *> (mSensorDevice), in poll()
[all …]
DSensorInterface.cpp32 : mSensorDevice(SensorDevice::getInstance()), in HardwareSensor()
33 mSensor(&sensor, mSensorDevice.getHalDeviceVersion()) in HardwareSensor()
47 return mSensorDevice.activate(ident, mSensor.getHandle(), enabled); in activate()
52 return mSensorDevice.batch(ident, mSensor.getHandle(), flags, samplingPeriodNs, in batch()
57 return mSensorDevice.flush(ident, handle); in flush()
61 return mSensorDevice.setDelay(ident, handle, ns); in setDelay()
65 mSensorDevice.autoDisable(ident, handle); in autoDisable()
DSensorFusion.cpp27 : mSensorDevice(SensorDevice::getInstance()), in ANDROID_SINGLETON_STATIC_INSTANCE()
32 ssize_t count = mSensorDevice.getSensorList(&list); in ANDROID_SINGLETON_STATIC_INSTANCE()
105 mSensorDevice.activate(ident, mAcc.getHandle(), enabled); in activate()
106 mSensorDevice.activate(ident, mMag.getHandle(), enabled); in activate()
107 mSensorDevice.activate(ident, mGyro.getHandle(), enabled); in activate()
122 mSensorDevice.batch(ident, mAcc.getHandle(), 0, ns, 0); in setDelay()
123 mSensorDevice.batch(ident, mMag.getHandle(), 0, ms2ns(20), 0); in setDelay()
124 mSensorDevice.batch(ident, mGyro.getHandle(), 0, mTargetDelayNs, 0); in setDelay()
DCorrectedGyroSensor.cpp33 : mSensorDevice(SensorDevice::getInstance()), in CorrectedGyroSensor()
60 mSensorDevice.activate(ident, mGyro.getHandle(), enabled); in activate()
65 mSensorDevice.setDelay(ident, mGyro.getHandle(), ns); in setDelay()
DRotationVectorSensor.h36 SensorDevice& mSensorDevice; variable
50 SensorDevice& mSensorDevice; variable
DRotationVectorSensor.cpp31 : mSensorDevice(SensorDevice::getInstance()), in RotationVectorSensor()
81 : mSensorDevice(SensorDevice::getInstance()), in GyroDriftSensor()
DOrientationSensor.h35 SensorDevice& mSensorDevice; variable
DLinearAccelerationSensor.h36 SensorDevice& mSensorDevice; variable
DCorrectedGyroSensor.h35 SensorDevice& mSensorDevice; variable
DGravitySensor.h35 SensorDevice& mSensorDevice; variable
DSensorFusion.h41 SensorDevice& mSensorDevice; variable
DSensorInterface.h64 SensorDevice& mSensorDevice; variable
DGravitySensor.cpp33 : mSensorDevice(SensorDevice::getInstance()), in GravitySensor()
DOrientationSensor.cpp33 : mSensorDevice(SensorDevice::getInstance()), in OrientationSensor()
DLinearAccelerationSensor.cpp33 : mSensorDevice(SensorDevice::getInstance()), in LinearAccelerationSensor()
DSensorDevice.h36 sensors_poll_device_1_t* mSensorDevice; variable