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.cpp240 mSensor(*(sensor->getSensor())), in ConnectionReport()
241 mName(mSensor.name), in ConnectionReport()
242 mVendor(mSensor.vendor), in ConnectionReport()
243 mPermission(mSensor.requiredPermission), in ConnectionReport()
244 mStringType(mSensor.stringType), in ConnectionReport()
246 mSensor.name = mName.c_str(); in ConnectionReport()
247 mSensor.vendor = mVendor.c_str(); in ConnectionReport()
248 mSensor.requiredPermission = mPermission.c_str(); in ConnectionReport()
249 mSensor.stringType = mStringType.c_str(); in ConnectionReport()
250 mSensor.handle = handle; in ConnectionReport()
[all …]
DDummyDynamicAccelDaemon.cpp78 mSensor = (struct sensor_t) { in DummySensor()
107 return &mSensor; in getSensor()
DDummyDynamicAccelDaemon.h56 sensor_t mSensor; variable
DDynamicSensorManager.h81 sensor_t mSensor;
DHidRawSensor.h154 sensor_t mSensor; variable
DHidRawSensor.cpp43 memset(&mSensor, 0, sizeof(mSensor)); in HidRawSensor()
561 mSensor = (sensor_t) { in validateFeatureValueAndBuildSensor()
841 return &mSensor; in getSensor()
950 .type = mSensor.type in handleInput()