OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
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);
SensorDevice.cpp
41
:
mSensorDevice
(0),
50
err = sensors_open_1(&mSensorModule->common, &
mSensorDevice
);
55
if (
mSensorDevice
) {
56
if (
mSensorDevice
->common.version == SENSORS_DEVICE_API_VERSION_1_1 ||
57
mSensorDevice
->common.version == SENSORS_DEVICE_API_VERSION_1_2) {
67
mSensorDevice
->activate(
68
reinterpret_cast<struct sensors_poll_device_t *>(
mSensorDevice
),
79
mSensorDevice
->activate(
80
reinterpret_cast<struct sensors_poll_device_t *>(
mSensorDevice
), handle, 0);
132
return
mSensorDevice
&& mSensorModule ? NO_ERROR : NO_INIT
[
all
...]
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(20), 0);
169
mSensorDevice
.batch(ident, mGyro.getHandle(), 0, mTargetDelayNs, 0);
SensorFusion.h
41
SensorDevice&
mSensorDevice
;
SensorInterface.h
69
SensorDevice&
mSensorDevice
;
SensorDevice.h
59
sensors_poll_device_1_t*
mSensorDevice
;
Completed in 639 milliseconds