Home | History | Annotate | Download | only in libsensors_iio

Lines Matching defs:MPLSensor

20 //see also the EXTRA_VERBOSE define in the MPLSensor.h header file
41 #include "MPLSensor.h"
172 MPLSensor *MPLSensor::gMPLSensor = NULL;
177 if(MPLSensor::gMPLSensor) {
178 MPLSensor::gMPLSensor->cbProcData();
182 void setCallbackObject(MPLSensor* gbpt)
184 MPLSensor::gMPLSensor = gbpt;
187 MPLSensor* getCallbackObject() {
188 return MPLSensor::gMPLSensor;
199 * MPLSensor class implementation
204 MPLSensor::MPLSensor(CompassSensor *compass, int (*m_pt2AccelCalLoadFunc)(long *))
266 "HAL:MPLSensor constructor : NumSensors = %d", NumSensors);
574 mHandlers[RotationVector] = &MPLSensor::rvHandler;
576 mHandlers[RotationVector] = &MPLSensor::grvHandler;
578 mHandlers[GameRotationVector] = &MPLSensor::grvHandler;
579 mHandlers[LinearAccel] = &MPLSensor::laHandler;
580 mHandlers[Gravity] = &MPLSensor::gravHandler;
582 mHandlers[Gyro] = &MPLSensor::gyroHandler;
584 mHandlers[Gyro] = &MPLSensor::rawGyroHandler;
586 mHandlers[RawGyro] = &MPLSensor::rawGyroHandler;
587 mHandlers[Accelerometer] = &MPLSensor::accelHandler;
589 mHandlers[MagneticField] = &MPLSensor::compassHandler;
591 mHandlers[MagneticField] = &MPLSensor::rawCompassHandler;
593 mHandlers[RawMagneticField] = &MPLSensor::rawCompassHandler;
594 mHandlers[Orientation] = &MPLSensor::orienHandler;
595 mHandlers[GeomagneticRotationVector] = &MPLSensor::gmHandler;
596 mHandlers[Pressure] = &MPLSensor::psHandler;
680 void MPLSensor::enable_iio_sysfs(void)
732 int MPLSensor::inv_constructor_init(void)
752 int MPLSensor::inv_constructor_default_enable(void)
854 void MPLSensor::inv_set_device_properties(void)
892 void MPLSensor::loadDMP(void)
931 void MPLSensor::inv_get_sensors_orientation(void)
994 MPLSensor::~MPLSensor()
1069 int MPLSensor::setGyroInitialState(void)
1097 int MPLSensor::setAccelInitialState()
1119 int MPLSensor::onDmp(int en)
1184 int MPLSensor::enablePedIndicator(int en)
1212 int MPLSensor::checkPedStandaloneEnabled(void)
1220 int MPLSensor::enablePedStandalone(int en)
1273 int MPLSensor:: enablePedStandaloneData(int en)
1330 int MPLSensor::checkPedQuatEnabled(void)
1338 int MPLSensor::enablePedQuaternion(int en)
1391 int MPLSensor::enablePedQuaternionData(int en)
1482 int MPLSensor::check6AxisQuatEnabled(void)
1490 int MPLSensor::enable6AxisQuaternion(int en)
1512 int MPLSensor::enable6AxisQuaternionData(int en)
1612 int MPLSensor::checkLPQRateSupported(void)
1618 int MPLSensor::checkLPQuaternion(void)
1624 int MPLSensor::enableLPQuaternion(int en)
1646 int MPLSensor::enableQuaternionData(int en)
1670 int MPLSensor::enableDmpPedometer(int en, int interruptMode)
1819 int MPLSensor::masterEnable(int en)
1830 int MPLSensor::enableGyro(int en)
1852 int MPLSensor::enableLowPowerAccel(int en)
1865 int MPLSensor::enableAccel(int en)
1887 int MPLSensor::enableCompass(int en, int rawSensorRequested)
1906 int MPLSensor::enablePressure(int en)
1919 int MPLSensor::enableBatch(int64_t timeout)
1940 void MPLSensor::computeLocalSensorMask(int enabled_sensors)
2045 int MPLSensor::enableSensors(unsigned long sensors, int en, uint32_t changed)
2260 int MPLSensor::computeBatchSensorMask(int enableSensors, int tempBatchSensor)
2321 int MPLSensor::setBatch(int en, int toggleEnable)
2458 void MPLSensor::storeCalibration(void)
2474 void MPLSensor::cbProcData(void)
2484 int MPLSensor::gyroHandler(sensors_event_t* s)
2495 int MPLSensor::rawGyroHandler(sensors_event_t* s)
2514 int MPLSensor::accelHandler(sensors_event_t* s)
2527 int MPLSensor::compassHandler(sensors_event_t* s)
2540 int MPLSensor::rawCompassHandler(sensors_event_t* s)
2569 int MPLSensor::rvHandler(sensors_event_t* s)
2588 int MPLSensor::grvHandler(sensors_event_t* s)
2608 int MPLSensor::laHandler(sensors_event_t* s)
2620 int MPLSensor::gravHandler(sensors_event_t* s)
2632 int MPLSensor::orienHandler(sensors_event_t* s)
2645 int MPLSensor::smHandler(sensors_event_t* s)
2672 int MPLSensor::scHandler(sensors_event_t* s)
2683 int MPLSensor::gmHandler(sensors_event_t* s)
2697 int MPLSensor::psHandler(sensors_event_t* s)
2716 int MPLSensor::metaHandler(sensors_event_t* s, int flags)
2750 int MPLSensor::enable(int32_t handle, int en)
2987 void MPLSensor::getHandle(int32_t handle, int &what, android::String8 &sname)
3063 int MPLSensor::setDelay(int32_t handle, int64_t ns)
3189 int MPLSensor::update_delay(void)
3533 int MPLSensor::readAccelEvents(sensors_event_t* data, int count)
3583 int MPLSensor::readEvents(sensors_event_t* data, int count)
3685 void MPLSensor::buildMpuEvent(void)
4141 void MPLSensor::buildCompassEvent(void)
4177 int MPLSensor::resetCompass(void)
4196 int MPLSensor::getFd(void) const
4203 int MPLSensor::getAccelFd(void) const
4210 int MPLSensor::getCompassFd(void) const
4218 int MPLSensor::turnOffAccelFifo(void)
4228 int MPLSensor::turnOffGyroFifo(void)
4238 int MPLSensor::enableDmpOrientation(int en)
4332 int MPLSensor::openDmpOrientFd(void)
4353 int MPLSensor::closeDmpOrientFd(void)
4361 int MPLSensor::dmpOrientHandler(int orient)
4368 int MPLSensor::readDmpOrientEvents(sensors_event_t* data, int count)
4419 int MPLSensor::getDmpOrientFd(void)
4428 int MPLSensor::checkDMPOrientation(void)
4434 int MPLSensor::getDmpRate(int64_t *wanted)
4469 int MPLSensor::getPollTime(void)
4475 int MPLSensor::getStepCountPollTime(void)
4487 bool MPLSensor::hasStepCountPendingEvents(void)
4513 bool MPLSensor::hasPendingEvents(void) const
4522 void MPLSensor::sleepEvent(void)
4527 void MPLSensor::wakeEvent(void)
4532 int MPLSensor::inv_float_to_q16(float *fdata, long *ldata)
4544 int MPLSensor::inv_long_to_q16(long *fdata, long *ldata)
4556 int MPLSensor::inv_float_to_round(float *fdata, long *ldata)
4568 int MPLSensor::inv_float_to_round2(float *fdata, short *ldata)
4580 int MPLSensor::inv_long_to_float(long *ldata, float *fdata)
4592 int MPLSensor::inv_read_temperature(long long *data)
4625 int MPLSensor::inv_read_dmp_state(int fd)
4654 int MPLSensor::inv_read_sensor_bias(int fd, long *data)
4694 int MPLSensor::populateSensorList(struct sensor_t *list, int len)
4756 void MPLSensor::fillAccel(const char* accel, struct sensor_t *list)
4833 void MPLSensor::fillGyro(const char* gyro, struct sensor_t *list)
4890 void MPLSensor::fillRV(struct sensor_t *list)
4906 void MPLSensor::fillGMRV(struct sensor_t *list)
4921 void MPLSensor::fillGRV(struct sensor_t *list)
4935 void MPLSensor::fillOrientation(struct sensor_t *list)
4949 void MPLSensor::fillGravity( struct sensor_t *list)
4963 void MPLSensor::fillLinearAccel(struct sensor_t *list)
4977 void MPLSensor::fillSignificantMotion(struct sensor_t *list)
4988 void MPLSensor::fillScreenOrientation(struct sensor_t *list)
4999 int MPLSensor::inv_init_sysfs_attributes(void)
5139 bool MPLSensor::isMpuNonDmp(void)
5148 int MPLSensor::isLowPowerQuatEnabled(void)
5158 int MPLSensor::isDmpDisplayOrientationOn(void)
5172 void MPLSensor::getCompassBias()
5202 void MPLSensor::getFactoryGyroBias()
5226 void MPLSensor::setFactoryGyroBias()
5270 void MPLSensor::getGyroBias()
5301 void MPLSensor::setGyroBias()
5343 void MPLSensor::getFactoryAccelBias()
5355 void MPLSensor::setFactoryAccelBias()
5398 void MPLSensor::getAccelBias()
5416 void MPLSensor::setAccelBias()
5464 int MPLSensor::isCompassDisabled(void)
5474 int MPLSensor::checkBatchEnabled(void)
5485 int MPLSensor::batch(int handle, int flags, int64_t period_ns, int64_t timeout)
5787 int MPLSensor::flush(int handle)
5834 int MPLSensor::computeBatchDataOutput()
5881 int MPLSensor::getDmpPedometerFd()
5890 int MPLSensor::readDmpPedometerEvents(sensors_event_t* data, int count,
5960 int MPLSensor::getDmpSignificantMotionFd()
5969 int MPLSensor::readDmpSignificantMotionEvents(sensors_event_t* data, int count)
6034 int MPLSensor::enableDmpSignificantMotion(int en)
6124 void MPLSensor::setInitial6QuatValue()
6152 int MPLSensor::writeSignificantMotionParams(bool toggleEnable,
6190 int MPLSensor::setBatchDataRates()
6288 int MPLSensor::resetDataRates()
6377 void MPLSensor::initBias()
6425 void MPLSensor::sys_dump(bool fileMode)