Lines Matching refs:mCompassSensor
259 mCompassSensor = compass;
740 if (!mCompassSensor->providesCalibration()) {
821 mCompassSensor->getOrientationMatrix(orientMtx);
825 sensitivity = mCompassSensor->getSensitivity();
1805 if (rawSensorRequested && mCompassSensor->providesCalibration()) {
1806 res = mCompassSensor->enable(ID_RM, en);
1808 res = mCompassSensor->enable(ID_M, en);
1976 (mCompassSensor->isIntegrated() << MagneticField) |
1977 (mCompassSensor->isIntegrated() << RawMagneticField) |
2049 | (mCompassSensor->isIntegrated() << MagneticField)
2050 | (mCompassSensor->isIntegrated() << RawMagneticField)))
2083 (mCompassSensor->isIntegrated() << MagneticField) |
2084 (mCompassSensor->isIntegrated() << RawMagneticField) |
2090 | (INV_THREE_AXIS_COMPASS * mCompassSensor->isIntegrated())
2142 ((!mCompassSensor->isIntegrated()) << MagneticField) ||
2143 ((!mCompassSensor->isIntegrated()) << RawMagneticField))
2146 | (INV_THREE_AXIS_COMPASS * (!mCompassSensor->isIntegrated()))))
2158 | (INV_THREE_AXIS_COMPASS * mCompassSensor->isIntegrated()))) {
2425 if(mCompassSensor->providesCalibration()) {
2426 update = mCompassSensor->readRawSample(s->uncalibrated_magnetic.uncalib, &s->timestamp);
2959 i <= Accelerometer + mCompassSensor->isIntegrated();
2971 if (mCompassSensor->isIntegrated() &&
3181 if (!mCompassSensor->isIntegrated()) {
3188 mCompassSensor->getMinDelay() * 1000LL) {
3190 mCompassSensor->getMinDelay() * 1000LL;
3196 mCompassSensor->setDelay(ID_M, wanted_3rd_party_sensor);
3197 got = mCompassSensor->getDelay(ID_M);
3201 if (compassRate < mCompassSensor->getMinDelay() * 1000LL) {
3202 compassRate = mCompassSensor->getMinDelay() * 1000LL;
3204 mCompassSensor->setDelay(ID_M, compassRate);
3288 if (!mCompassSensor->isIntegrated()) {
3314 mCompassSensor->setDelay(ID_M, wanted);
3315 got = mCompassSensor->getDelay(ID_M);
3358 | (INV_THREE_AXIS_COMPASS * mCompassSensor->isIntegrated()
3510 && mCompassSensor->isIntegrated())? 1 : 0) +
3675 if (mCompassSensor->isIntegrated()) {
3781 if ((mask & DATA_FORMAT_COMPASS) && mCompassSensor->isIntegrated()) {
3783 if (mCompassSensor->providesCalibration()) {
3784 status = mCompassSensor->getAccuracy();
3891 done = mCompassSensor->readSample(mCachedCompassData, &mCompassTimestamp);
3892 if(mCompassSensor->isYasCompass()) {
3893 if (mCompassSensor->checkCoilsReset() == 1) {
3900 if (mCompassSensor->providesCalibration()) {
3901 status = mCompassSensor->getAccuracy();
3954 int fd = mCompassSensor->getFd();
4455 mCompassSensor->fillList(&list[MagneticField]);
4456 mCompassSensor->fillList(&list[RawMagneticField]);
4882 mCompassSensor->getOrientationMatrix(orientMtx);
5146 if(mCompassSensor->getFd() < 0 && !mCompassSensor->isIntegrated()) {
5838 if (compassRate < mCompassSensor->getMinDelay() * 1000LL) {
5839 compassRate = mCompassSensor->getMinDelay() * 1000LL;
5841 mCompassSensor->setDelay(ID_M, compassRate);
5931 if (compassRate < mCompassSensor->getMinDelay() * 1000LL) {
5932 compassRate = mCompassSensor->getMinDelay() * 1000LL;
5934 mCompassSensor->setDelay(ID_M, compassRate);