/frameworks/native/services/sensorservice/ |
D | SensorDevice.cpp | 41 : 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() 115 return mSensorDevice && mSensorModule ? NO_ERROR : NO_INIT; in initCheck() 119 if (!mSensorDevice) return NO_INIT; in poll() 122 c = mSensorDevice->poll(reinterpret_cast<struct sensors_poll_device_t *> (mSensorDevice), in poll() [all …]
|
D | SensorInterface.cpp | 32 : 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()
|
D | SensorFusion.cpp | 27 : 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()
|
D | CorrectedGyroSensor.cpp | 33 : mSensorDevice(SensorDevice::getInstance()), in CorrectedGyroSensor() 60 mSensorDevice.activate(ident, mGyro.getHandle(), enabled); in activate() 65 mSensorDevice.setDelay(ident, mGyro.getHandle(), ns); in setDelay()
|
D | RotationVectorSensor.h | 36 SensorDevice& mSensorDevice; variable 50 SensorDevice& mSensorDevice; variable
|
D | RotationVectorSensor.cpp | 31 : mSensorDevice(SensorDevice::getInstance()), in RotationVectorSensor() 81 : mSensorDevice(SensorDevice::getInstance()), in GyroDriftSensor()
|
D | OrientationSensor.h | 35 SensorDevice& mSensorDevice; variable
|
D | LinearAccelerationSensor.h | 36 SensorDevice& mSensorDevice; variable
|
D | GravitySensor.h | 35 SensorDevice& mSensorDevice; variable
|
D | CorrectedGyroSensor.h | 35 SensorDevice& mSensorDevice; variable
|
D | SensorFusion.h | 41 SensorDevice& mSensorDevice; variable
|
D | SensorInterface.h | 64 SensorDevice& mSensorDevice; variable
|
D | LinearAccelerationSensor.cpp | 33 : mSensorDevice(SensorDevice::getInstance()), in LinearAccelerationSensor()
|
D | OrientationSensor.cpp | 33 : mSensorDevice(SensorDevice::getInstance()), in OrientationSensor()
|
D | GravitySensor.cpp | 33 : mSensorDevice(SensorDevice::getInstance()), in GravitySensor()
|
D | SensorDevice.h | 36 sensors_poll_device_1_t* mSensorDevice; variable
|