OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mSensorDevice
(Results
1 - 16
of
16
) sorted by null
/frameworks/native/services/sensorservice/
SensorInterface.cpp
34
:
mSensorDevice
(SensorDevice::getInstance()),
35
mSensor(&sensor,
mSensorDevice
.getHalDeviceVersion())
50
return
mSensorDevice
.activate(ident, mSensor.getHandle(), enabled);
55
return
mSensorDevice
.batch(ident, mSensor.getHandle(), flags, samplingPeriodNs,
60
return
mSensorDevice
.flush(ident, handle);
64
return
mSensorDevice
.setDelay(ident, handle, ns);
68
mSensorDevice
.autoDisable(ident, handle);
SensorDevice.cpp
40
:
mSensorDevice
(0),
50
err = sensors_open_1(&mSensorModule->common, &
mSensorDevice
);
55
if (
mSensorDevice
) {
62
mSensorDevice
->activate(
63
reinterpret_cast<struct sensors_poll_device_t *>(
mSensorDevice
),
108
return
mSensorDevice
&& mSensorModule ? NO_ERROR : NO_INIT;
112
if (!
mSensorDevice
) return NO_INIT;
115
c =
mSensorDevice
->poll(reinterpret_cast<struct sensors_poll_device_t *> (
mSensorDevice
),
129
if (!
mSensorDevice
) return NO_INIT
[
all
...]
RotationVectorSensor.h
36
SensorDevice&
mSensorDevice
;
50
SensorDevice&
mSensorDevice
;
SensorFusion.cpp
27
:
mSensorDevice
(SensorDevice::getInstance()),
32
ssize_t count =
mSensorDevice
.getSensorList(&list);
105
mSensorDevice
.activate(ident, mAcc.getHandle(), enabled);
106
mSensorDevice
.activate(ident, mMag.getHandle(), enabled);
107
mSensorDevice
.activate(ident, mGyro.getHandle(), enabled);
122
mSensorDevice
.batch(ident, mAcc.getHandle(), 0, ns, 0);
123
mSensorDevice
.batch(ident, mMag.getHandle(), 0, ms2ns(20), 0);
124
mSensorDevice
.batch(ident, mGyro.getHandle(), 0, mTargetDelayNs, 0);
LinearAccelerationSensor.h
36
SensorDevice&
mSensorDevice
;
OrientationSensor.h
35
SensorDevice&
mSensorDevice
;
CorrectedGyroSensor.cpp
33
:
mSensorDevice
(SensorDevice::getInstance()),
60
mSensorDevice
.activate(ident, mGyro.getHandle(), enabled);
65
mSensorDevice
.setDelay(ident, mGyro.getHandle(), ns);
CorrectedGyroSensor.h
35
SensorDevice&
mSensorDevice
;
GravitySensor.h
35
SensorDevice&
mSensorDevice
;
SensorFusion.h
41
SensorDevice&
mSensorDevice
;
RotationVectorSensor.cpp
31
:
mSensorDevice
(SensorDevice::getInstance()),
81
:
mSensorDevice
(SensorDevice::getInstance()),
LinearAccelerationSensor.cpp
33
:
mSensorDevice
(SensorDevice::getInstance()),
SensorDevice.h
36
sensors_poll_device_1_t*
mSensorDevice
;
SensorInterface.h
64
SensorDevice&
mSensorDevice
;
GravitySensor.cpp
33
:
mSensorDevice
(SensorDevice::getInstance()),
OrientationSensor.cpp
33
:
mSensorDevice
(SensorDevice::getInstance()),
Completed in 145 milliseconds