Lines Matching refs:MagneticField
499 mPendingEvents[MagneticField].version = sizeof(sensors_event_t);
500 mPendingEvents[MagneticField].sensor = ID_M;
501 mPendingEvents[MagneticField].type = SENSOR_TYPE_MAGNETIC_FIELD;
502 mPendingEvents[MagneticField].magnetic.status =
546 mHandlers[MagneticField] = &MPLSensor::compassHandler;
548 mHandlers[MagneticField] = &MPLSensor::rawCompassHandler;
1976 (mCompassSensor->isIntegrated() << MagneticField) |
2018 if (changed & ((1 << MagneticField) | (1 << RawMagneticField))) {
2026 if (!cal_stored && (!en && (changed & (1 << MagneticField)))) {
2049 | (mCompassSensor->isIntegrated() << MagneticField)
2083 (mCompassSensor->isIntegrated() << MagneticField) |
2142 ((!mCompassSensor->isIntegrated()) << MagneticField) ||
2649 what = MagneticField;
2650 sname = "MagneticField";
2654 sname = "MagneticField Uncalibrated";
2744 case MagneticField:
2855 what = MagneticField;
2856 sname = "MagneticField";
2860 sname = "MagneticField Uncalibrated";
2969 case MagneticField:
3051 compassRate = mDelays[MagneticField] < mDelays[RawMagneticField] ? mDelays[MagneticField] : mDelays[RawMagneticField];
3285 int64_t compassWanted = (mDelays[MagneticField] <= mDelays[RawMagneticField]?
3286 (mEnabled & (1 << MagneticField)? mDelays[MagneticField]: mDelays[RawMagneticField]):
3287 (mEnabled & (1 << RawMagneticField)? mDelays[RawMagneticField]: mDelays[MagneticField]));
4455 mCompassSensor->fillList(&list[MagneticField]);
4605 list[MagneticField].power;
4620 list[MagneticField].power;
4649 list[MagneticField].power;
4663 list[MagneticField].power;
4677 list[MagneticField].power;
5461 uint32_t hardwareSensorMask = (1<<Gyro) | (1<<RawGyro) | (1<<Accelerometer) | (1<<MagneticField) |
5787 compassRate = mBatchDelays[MagneticField] < mBatchDelays[RawMagneticField] ? mBatchDelays[MagneticField] : mBatchDelays[RawMagneticField];
5876 compassRate = mDelays[MagneticField] < mDelays[RawMagneticField] ? mDelays[MagneticField] : mDelays[RawMagneticField];