Lines Matching refs:MagneticField
546 mPendingEvents[MagneticField].version = sizeof(sensors_event_t); in MPLSensor()
547 mPendingEvents[MagneticField].sensor = ID_M; in MPLSensor()
548 mPendingEvents[MagneticField].type = SENSOR_TYPE_MAGNETIC_FIELD; in MPLSensor()
549 mPendingEvents[MagneticField].magnetic.status = in MPLSensor()
593 mHandlers[MagneticField] = &MPLSensor::compassHandler; in MPLSensor()
595 mHandlers[MagneticField] = &MPLSensor::rawCompassHandler; in MPLSensor()
2065 (mCompassSensor->isIntegrated() << MagneticField) | in enableSensors()
2107 if (changed & ((1 << MagneticField) | (1 << RawMagneticField))) { in enableSensors()
2115 if (!cal_stored && (!en && (changed & (1 << MagneticField)))) { in enableSensors()
2138 | (mCompassSensor->isIntegrated() << MagneticField) in enableSensors()
2176 (mCompassSensor->isIntegrated() << MagneticField) | in enableSensors()
2238 ((!mCompassSensor->isIntegrated()) << MagneticField) || in enableSensors()
2815 what = MagneticField; in enable()
2910 case MagneticField: in enable()
3023 what = MagneticField; in getHandle()
3148 case MagneticField: in setDelay()
3239 …compassRate = mDelays[MagneticField] < mDelays[RawMagneticField] ? mDelays[MagneticField] : mDelay… in update_delay()
3477 int64_t compassWanted = (mDelays[MagneticField] <= mDelays[RawMagneticField]? in update_delay()
3478 … (mEnabled & (1 << MagneticField)? mDelays[MagneticField]: mDelays[RawMagneticField]): in update_delay()
3479 … (mEnabled & (1 << RawMagneticField)? mDelays[RawMagneticField]: mDelays[MagneticField])); in update_delay()
4741 mCompassSensor->fillList(&list[MagneticField]); in populateSensorList()
4917 list[MagneticField].power; in fillRV()
4932 list[MagneticField].power; in fillGMRV()
4961 list[MagneticField].power; in fillOrientation()
4975 list[MagneticField].power; in fillGravity()
4989 list[MagneticField].power; in fillLinearAccel()
5551 case MagneticField: in batch()
5874 | (1 << MagneticField) in computeBatchDataOutput()
6242 …compassRate = mBatchDelays[MagneticField] < mBatchDelays[RawMagneticField] ? mBatchDelays[Magnetic… in setBatchDataRates()