Lines Matching refs:MagneticField
542 mPendingEvents[MagneticField].version = sizeof(sensors_event_t); in MPLSensor()
543 mPendingEvents[MagneticField].sensor = ID_M; in MPLSensor()
544 mPendingEvents[MagneticField].type = SENSOR_TYPE_MAGNETIC_FIELD; in MPLSensor()
545 mPendingEvents[MagneticField].magnetic.status = in MPLSensor()
589 mHandlers[MagneticField] = &MPLSensor::compassHandler; in MPLSensor()
591 mHandlers[MagneticField] = &MPLSensor::rawCompassHandler; in MPLSensor()
2060 (mCompassSensor->isIntegrated() << MagneticField) | in enableSensors()
2102 if (changed & ((1 << MagneticField) | (1 << RawMagneticField))) { in enableSensors()
2110 if (!cal_stored && (!en && (changed & (1 << MagneticField)))) { in enableSensors()
2133 | (mCompassSensor->isIntegrated() << MagneticField) in enableSensors()
2171 (mCompassSensor->isIntegrated() << MagneticField) | in enableSensors()
2233 ((!mCompassSensor->isIntegrated()) << MagneticField) || in enableSensors()
2807 what = MagneticField; in enable()
2901 case MagneticField: in enable()
3014 what = MagneticField; in getHandle()
3139 case MagneticField: in setDelay()
3225 …compassRate = mDelays[MagneticField] < mDelays[RawMagneticField] ? mDelays[MagneticField] : mDelay… in update_delay()
3458 int64_t compassWanted = (mDelays[MagneticField] <= mDelays[RawMagneticField]? in update_delay()
3459 … (mEnabled & (1 << MagneticField)? mDelays[MagneticField]: mDelays[RawMagneticField]): in update_delay()
3460 … (mEnabled & (1 << RawMagneticField)? mDelays[RawMagneticField]: mDelays[MagneticField])); in update_delay()
4721 mCompassSensor->fillList(&list[MagneticField]); in populateSensorList()
4897 list[MagneticField].power; in fillRV()
4912 list[MagneticField].power; in fillGMRV()
4941 list[MagneticField].power; in fillOrientation()
4955 list[MagneticField].power; in fillGravity()
4969 list[MagneticField].power; in fillLinearAccel()
5522 case MagneticField: in batch()
5845 | (1 << MagneticField) in computeBatchDataOutput()
6212 …compassRate = mBatchDelays[MagneticField] < mBatchDelays[RawMagneticField] ? mBatchDelays[Magnetic… in setBatchDataRates()