Lines Matching refs:MagneticField
436 mPendingEvents[MagneticField].version = sizeof(sensors_event_t); in MPLSensor()
437 mPendingEvents[MagneticField].sensor = ID_M; in MPLSensor()
438 mPendingEvents[MagneticField].type = SENSOR_TYPE_MAGNETIC_FIELD; in MPLSensor()
439 mPendingEvents[MagneticField].magnetic.status = in MPLSensor()
492 mHandlers[MagneticField] = &MPLSensor::compassHandler; in MPLSensor()
2090 (mCompassSensor->isIntegrated() << MagneticField) |
2134 if (changed & ((1 << MagneticField) | (1 << RawMagneticField))) {
2142 if (!cal_stored && (!en && (changed & (1 << MagneticField)))) {
2167 | (mCompassSensor->isIntegrated() << MagneticField)
2206 (mCompassSensor->isIntegrated() << MagneticField) |
2267 ((!mCompassSensor->isIntegrated()) << MagneticField) ||
2894 what = MagneticField;
2987 case MagneticField:
3103 what = MagneticField;
3232 case MagneticField:
3512 int64_t compassWanted = (mDelays[MagneticField] <= mDelays[RawMagneticField]?
3513 … (mEnabled & (1 << MagneticField)? mDelays[MagneticField]: mDelays[RawMagneticField]):
3514 … (mEnabled & (1 << RawMagneticField)? mDelays[RawMagneticField]: mDelays[MagneticField]));
4784 mCompassSensor->fillList(&list[MagneticField]);
4961 list[MagneticField].power;
4976 list[MagneticField].power;
5005 list[MagneticField].power;
5019 list[MagneticField].power;
5033 list[MagneticField].power;
5635 case MagneticField:
5970 | (1 << MagneticField)
6336 compassRate = mBatchDelays[MagneticField];
6337 if (mBatchEnabled & (1 << MagneticField) || mBatchEnabled & (1 << RawMagneticField)) {
6338 compassRate = (mBatchDelays[MagneticField] <= mBatchDelays[RawMagneticField]) ?
6339 (mBatchEnabled & (1 << MagneticField) ? mBatchDelays[MagneticField] :
6342 mBatchDelays[MagneticField]);