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 *))
270 "HAL:MPLSensor constructor : NumSensors = %d", NumSensors);
578 mHandlers[RotationVector] = &MPLSensor::rvHandler;
580 mHandlers[RotationVector] = &MPLSensor::grvHandler;
582 mHandlers[GameRotationVector] = &MPLSensor::grvHandler;
583 mHandlers[LinearAccel] = &MPLSensor::laHandler;
584 mHandlers[Gravity] = &MPLSensor::gravHandler;
586 mHandlers[Gyro] = &MPLSensor::gyroHandler;
588 mHandlers[Gyro] = &MPLSensor::rawGyroHandler;
590 mHandlers[RawGyro] = &MPLSensor::rawGyroHandler;
591 mHandlers[Accelerometer] = &MPLSensor::accelHandler;
593 mHandlers[MagneticField] = &MPLSensor::compassHandler;
595 mHandlers[MagneticField] = &MPLSensor::rawCompassHandler;
597 mHandlers[RawMagneticField] = &MPLSensor::rawCompassHandler;
598 mHandlers[Orientation] = &MPLSensor::orienHandler;
599 mHandlers[GeomagneticRotationVector] = &MPLSensor::gmHandler;
600 mHandlers[Pressure] = &MPLSensor::psHandler;
684 void MPLSensor::enable_iio_sysfs(void)
736 int MPLSensor::inv_constructor_init(void)
756 int MPLSensor::inv_constructor_default_enable(void)
858 void MPLSensor::inv_set_device_properties(void)
896 void MPLSensor::loadDMP(void)
935 void MPLSensor::inv_get_sensors_orientation(void)
998 MPLSensor::~MPLSensor()
1073 int MPLSensor::setGyroInitialState(void)
1101 int MPLSensor::setAccelInitialState()
1123 int MPLSensor::onDmp(int en)
1188 int MPLSensor::enablePedIndicator(int en)
1216 int MPLSensor::checkPedStandaloneEnabled(void)
1224 int MPLSensor::enablePedStandalone(int en)
1277 int MPLSensor:: enablePedStandaloneData(int en)
1334 int MPLSensor::checkPedQuatEnabled(void)
1342 int MPLSensor::enablePedQuaternion(int en)
1395 int MPLSensor::enablePedQuaternionData(int en)
1486 int MPLSensor::check6AxisQuatEnabled(void)
1494 int MPLSensor::enable6AxisQuaternion(int en)
1516 int MPLSensor::enable6AxisQuaternionData(int en)
1616 int MPLSensor::checkLPQRateSupported(void)
1622 int MPLSensor::checkLPQuaternion(void)
1628 int MPLSensor::enableLPQuaternion(int en)
1650 int MPLSensor::enableQuaternionData(int en)
1674 int MPLSensor::enableDmpPedometer(int en, int interruptMode)
1823 int MPLSensor::masterEnable(int en)
1834 int MPLSensor::enableGyro(int en)
1856 int MPLSensor::enableLowPowerAccel(int en)
1869 int MPLSensor::enableAccel(int en)
1891 int MPLSensor::enableCompass(int en, int rawSensorRequested)
1910 int MPLSensor::enablePressure(int en)
1923 int MPLSensor::enableBatch(int64_t timeout)
1944 void MPLSensor::computeLocalSensorMask(int enabled_sensors)
2049 int MPLSensor::enableSensors(unsigned long sensors, int en, uint32_t changed)
2265 int MPLSensor::computeBatchSensorMask(int enableSensors, int tempBatchSensor)
2326 int MPLSensor::setBatch(int en, int toggleEnable)
2465 void MPLSensor::storeCalibration(void)
2481 void MPLSensor::cbProcData(void)
2491 int MPLSensor::gyroHandler(sensors_event_t* s)
2502 int MPLSensor::rawGyroHandler(sensors_event_t* s)
2521 int MPLSensor::accelHandler(sensors_event_t* s)
2534 int MPLSensor::compassHandler(sensors_event_t* s)
2547 int MPLSensor::rawCompassHandler(sensors_event_t* s)
2576 int MPLSensor::rvHandler(sensors_event_t* s)
2595 int MPLSensor::grvHandler(sensors_event_t* s)
2615 int MPLSensor::laHandler(sensors_event_t* s)
2627 int MPLSensor::gravHandler(sensors_event_t* s)
2639 int MPLSensor::orienHandler(sensors_event_t* s)
2652 int MPLSensor::smHandler(sensors_event_t* s)
2679 int MPLSensor::scHandler(sensors_event_t* s)
2690 int MPLSensor::gmHandler(sensors_event_t* s)
2704 int MPLSensor::psHandler(sensors_event_t* s)
2724 int MPLSensor::metaHandler(sensors_event_t* s, int flags)
2758 int MPLSensor::enable(int32_t handle, int en)
2996 void MPLSensor::getHandle(int32_t handle, int &what, android::String8 &sname)
3072 int MPLSensor::setDelay(int32_t handle, int64_t ns)
3198 int MPLSensor::update_delay(void)
3552 int MPLSensor::readAccelEvents(sensors_event_t* data, int count)
3602 int MPLSensor::readEvents(sensors_event_t* data, int count)
3704 void MPLSensor::buildMpuEvent(void)
4161 void MPLSensor::buildCompassEvent(void)
4197 int MPLSensor::resetCompass(void)
4216 int MPLSensor::getFd(void) const
4223 int MPLSensor::getAccelFd(void) const
4230 int MPLSensor::getCompassFd(void) const
4238 int MPLSensor::turnOffAccelFifo(void)
4248 int MPLSensor::turnOffGyroFifo(void)
4258 int MPLSensor::enableDmpOrientation(int en)
4353 int MPLSensor::openDmpOrientFd(void)
4374 int MPLSensor::closeDmpOrientFd(void)
4382 int MPLSensor::dmpOrientHandler(int orient)
4389 int MPLSensor::readDmpOrientEvents(sensors_event_t* data, int count)
4440 int MPLSensor::getDmpOrientFd(void)
4449 int MPLSensor::checkDMPOrientation(void)
4455 int MPLSensor::getDmpRate(int64_t *wanted)
4490 int MPLSensor::getPollTime(void)
4496 int MPLSensor::getStepCountPollTime(void)
4508 bool MPLSensor::hasStepCountPendingEvents(void)
4534 bool MPLSensor::hasPendingEvents(void) const
4543 void MPLSensor::sleepEvent(void)
4548 void MPLSensor::wakeEvent(void)
4553 int MPLSensor::inv_float_to_q16(float *fdata, long *ldata)
4565 int MPLSensor::inv_long_to_q16(long *fdata, long *ldata)
4577 int MPLSensor::inv_float_to_round(float *fdata, long *ldata)
4589 int MPLSensor::inv_float_to_round2(float *fdata, short *ldata)
4601 int MPLSensor::inv_long_to_float(long *ldata, float *fdata)
4613 int MPLSensor::inv_read_temperature(long long *data)
4646 int MPLSensor::inv_read_dmp_state(int fd)
4675 int MPLSensor::inv_read_sensor_bias(int fd, long *data)
4715 int MPLSensor::populateSensorList(struct sensor_t *list, int len)
4776 void MPLSensor::fillAccel(const char* accel, struct sensor_t *list)
4853 void MPLSensor::fillGyro(const char* gyro, struct sensor_t *list)
4910 void MPLSensor::fillRV(struct sensor_t *list)
4926 void MPLSensor::fillGMRV(struct sensor_t *list)
4941 void MPLSensor::fillGRV(struct sensor_t *list)
4955 void MPLSensor::fillOrientation(struct sensor_t *list)
4969 void MPLSensor::fillGravity( struct sensor_t *list)
4983 void MPLSensor::fillLinearAccel(struct sensor_t *list)
4997 void MPLSensor::fillSignificantMotion(struct sensor_t *list)
5008 void MPLSensor::fillScreenOrientation(struct sensor_t *list)
5019 int MPLSensor::inv_init_sysfs_attributes(void)
5165 bool MPLSensor::isMpuNonDmp(void)
5174 int MPLSensor::isLowPowerQuatEnabled(void)
5184 int MPLSensor::isDmpDisplayOrientationOn(void)
5198 void MPLSensor::getCompassBias()
5228 void MPLSensor::getFactoryGyroBias()
5252 void MPLSensor::setFactoryGyroBias()
5296 void MPLSensor::getGyroBias()
5328 void MPLSensor::setGyroBias()
5370 void MPLSensor::getFactoryAccelBias()
5384 void MPLSensor::setFactoryAccelBias()
5427 void MPLSensor::getAccelBias()
5445 void MPLSensor::setAccelBias()
5493 int MPLSensor::isCompassDisabled(void)
5503 int MPLSensor::checkBatchEnabled(void)
5514 int MPLSensor::batch(int handle, int flags, int64_t period_ns, int64_t timeout)
5816 int MPLSensor::flush(int handle)
5863 int MPLSensor::computeBatchDataOutput()
5910 int MPLSensor::getDmpPedometerFd()
5919 int MPLSensor::readDmpPedometerEvents(sensors_event_t* data, int count,
5991 int MPLSensor::getDmpSignificantMotionFd()
6000 int MPLSensor::readDmpSignificantMotionEvents(sensors_event_t* data, int count)
6064 int MPLSensor::enableDmpSignificantMotion(int en)
6154 void MPLSensor::setInitial6QuatValue()
6182 int MPLSensor::writeSignificantMotionParams(bool toggleEnable,
6220 int MPLSensor::setBatchDataRates()
6318 int MPLSensor::resetDataRates()
6407 void MPLSensor::initBias()
6455 void MPLSensor::sys_dump(bool fileMode)