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