Lines Matching refs:MagneticField

464     mPendingEvents[MagneticField].version = sizeof(sensors_event_t);  in MPLSensor()
465 mPendingEvents[MagneticField].sensor = ID_M; in MPLSensor()
466 mPendingEvents[MagneticField].type = SENSOR_TYPE_MAGNETIC_FIELD; in MPLSensor()
467 mPendingEvents[MagneticField].magnetic.status = in MPLSensor()
520 mHandlers[MagneticField] = &MPLSensor::compassHandler; in MPLSensor()
2142 (mCompassSensor->isIntegrated() << MagneticField) |
2186 if (changed & ((1 << MagneticField) | (1 << RawMagneticField))) {
2194 if (!cal_stored && (!en && (changed & (1 << MagneticField)))) {
2219 | (mCompassSensor->isIntegrated() << MagneticField)
2258 (mCompassSensor->isIntegrated() << MagneticField) |
2319 ((!mCompassSensor->isIntegrated()) << MagneticField) ||
2707 if (!mEnabledTime[MagneticField] || !(s->timestamp > mEnabledTime[MagneticField])) {
2709 mEnabledTime[MagneticField], s->timestamp, android::elapsedRealtimeNano());
3140 what = MagneticField;
3238 case MagneticField:
3364 what = MagneticField;
3493 case MagneticField:
3773 int64_t compassWanted = (mDelays[MagneticField] <= mDelays[RawMagneticField]?
3774 … (mEnabled & (1 << MagneticField)? mDelays[MagneticField]: mDelays[RawMagneticField]):
3775 … (mEnabled & (1 << RawMagneticField)? mDelays[RawMagneticField]: mDelays[MagneticField]));
5085 mCompassSensor->fillList(&list[MagneticField]);
5261 list[MagneticField].power;
5276 list[MagneticField].power;
5305 list[MagneticField].power;
5319 list[MagneticField].power;
5333 list[MagneticField].power;
5939 case MagneticField:
6361 | (1 << MagneticField)
6742 compassRate = mBatchDelays[MagneticField];
6743 if (mBatchEnabled & (1 << MagneticField) || mBatchEnabled & (1 << RawMagneticField)) {
6744 compassRate = (mBatchDelays[MagneticField] <= mBatchDelays[RawMagneticField]) ?
6745 (mBatchEnabled & (1 << MagneticField) ? mBatchDelays[MagneticField] :
6748 mBatchDelays[MagneticField]);