Home
last modified time | relevance | path

Searched refs:mSensor (Results 1 – 8 of 8) sorted by relevance

/hardware/invensense/65xx/libsensors_iio/
Dsensors_mpl.cpp110 SensorBase *mSensor; member
140 mSensor = mplSensor; in sensors_poll_context_t()
141 mPollFds[mpl].fd = mSensor->getFd(); in sensors_poll_context_t()
149 mPollFds[dmpOrient].fd = ((MPLSensor*) mSensor)->getDmpOrientFd(); in sensors_poll_context_t()
153 mPollFds[dmpSign].fd = ((MPLSensor*) mSensor)->getDmpSignificantMotionFd(); in sensors_poll_context_t()
157 mPollFds[dmpPed].fd = ((MPLSensor*) mSensor)->getDmpPedometerFd(); in sensors_poll_context_t()
176 delete mSensor; in ~sensors_poll_context_t()
188 err = mSensor->enable(handle, enabled); in activate()
201 return mSensor->setDelay(handle, ns); in setDelay()
211 polltime = ((MPLSensor*) mSensor)->getStepCountPollTime(); in pollEvents()
[all …]
/hardware/invensense/6515/libsensors_iio/
Dsensors_mpl.cpp136 SensorBase *mSensor; member
168 mSensor = mplSensor; in sensors_poll_context_t()
169 mPollFds[mpl].fd = mSensor->getFd(); in sensors_poll_context_t()
177 mPollFds[dmpOrient].fd = ((MPLSensor*) mSensor)->getDmpOrientFd(); in sensors_poll_context_t()
181 mPollFds[dmpSign].fd = ((MPLSensor*) mSensor)->getDmpSignificantMotionFd(); in sensors_poll_context_t()
185 mPollFds[dmpPed].fd = ((MPLSensor*) mSensor)->getDmpPedometerFd(); in sensors_poll_context_t()
192 delete mSensor; in ~sensors_poll_context_t()
203 err = mSensor->enable(handle, enabled); in activate()
210 return mSensor->setDelay(handle, ns); in setDelay()
248 polltime = ((MPLSensor*) mSensor)->getStepCountPollTime(); in pollEvents()
[all …]
/hardware/libhardware/modules/sensors/dynamic_sensor/
DDynamicSensorManager.cpp244 mSensor(*(sensor->getSensor())), in ConnectionReport()
245 mName(mSensor.name), in ConnectionReport()
246 mVendor(mSensor.vendor), in ConnectionReport()
247 mPermission(mSensor.requiredPermission), in ConnectionReport()
248 mStringType(mSensor.stringType), in ConnectionReport()
250 mSensor.name = mName.c_str(); in ConnectionReport()
251 mSensor.vendor = mVendor.c_str(); in ConnectionReport()
252 mSensor.requiredPermission = mPermission.c_str(); in ConnectionReport()
253 mSensor.stringType = mStringType.c_str(); in ConnectionReport()
254 mSensor.handle = handle; in ConnectionReport()
[all …]
DDummyDynamicAccelDaemon.cpp80 mSensor = (struct sensor_t) { in DummySensor()
109 return &mSensor; in getSensor()
DDummyDynamicAccelDaemon.h56 sensor_t mSensor; variable
DDynamicSensorManager.h81 sensor_t mSensor;
DHidRawSensor.h168 sensor_t mSensor; variable
DHidRawSensor.cpp45 memset(&mSensor, 0, sizeof(mSensor)); in HidRawSensor()
558 mSensor = (sensor_t) { in validateFeatureValueAndBuildSensor()
901 return &mSensor; in getSensor()
1008 .type = mSensor.type in handleInput()