HomeSort by relevance Sort by last modified time
    Searched refs:mSensorDevice (Results 1 - 7 of 7) sorted by null

  /frameworks/native/services/sensorservice/
SensorInterface.cpp 33 mSensorDevice(SensorDevice::getInstance()),
34 mSensor(&sensor, mSensorDevice.getHalDeviceVersion()) {
38 mSensorDevice(SensorDevice::getInstance()),
39 mSensor(sensor, Sensor::uuid_t(uuid), mSensorDevice.getHalDeviceVersion()) {
62 return mSensorDevice.activate(ident, mSensor.getHandle(), enabled);
67 return mSensorDevice.batch(ident, mSensor.getHandle(), flags, samplingPeriodNs,
72 return mSensorDevice.flush(ident, handle);
76 return mSensorDevice.setDelay(ident, handle, ns);
80 mSensorDevice.autoDisable(ident, handle);
CorrectedGyroSensor.cpp 71 mSensorDevice.activate(ident, mGyro.getHandle(), enabled);
76 mSensorDevice.setDelay(ident, mGyro.getHandle(), ns);
SensorFusion.cpp 27 : mSensorDevice(SensorDevice::getInstance()),
33 ssize_t count = mSensorDevice.getSensorList(&list);
148 mSensorDevice.activate(ident, mAcc.getHandle(), enabled);
150 mSensorDevice.activate(ident, mMag.getHandle(), enabled);
153 mSensorDevice.activate(ident, mGyro.getHandle(), enabled);
164 mSensorDevice.batch(ident, mAcc.getHandle(), 0, ns, 0);
166 mSensorDevice.batch(ident, mMag.getHandle(), 0, ms2ns(10), 0);
169 mSensorDevice.batch(ident, mGyro.getHandle(), 0, mTargetDelayNs, 0);
SensorFusion.h 41 SensorDevice& mSensorDevice;
SensorInterface.h 69 SensorDevice& mSensorDevice;
  /hardware/interfaces/sensors/1.0/default/
Sensors.cpp 59 mSensorDevice(nullptr) {
83 err = sensors_open_1(&mSensorModule->common, &mSensorDevice);
101 if (mSensorDevice->inject_sensor_data == nullptr) {
136 if (!mSensorDevice) {
140 return mSensorDevice->common.version;
154 mSensorDevice->activate(
155 reinterpret_cast<sensors_poll_device_t *>(mSensorDevice),
191 err = mSensorDevice->poll(
192 reinterpret_cast<sensors_poll_device_t *>(mSensorDevice),
239 mSensorDevice->batch
    [all...]
Sensors.h 69 sensors_poll_device_1_t *mSensorDevice;

Completed in 83 milliseconds