Lines Matching refs:RawMagneticField
470 mPendingEvents[RawMagneticField].version = sizeof(sensors_event_t); in MPLSensor()
471 mPendingEvents[RawMagneticField].sensor = ID_RM; in MPLSensor()
472 mPendingEvents[RawMagneticField].type = SENSOR_TYPE_MAGNETIC_FIELD_UNCALIBRATED; in MPLSensor()
473 mPendingEvents[RawMagneticField].magnetic.status = in MPLSensor()
521 mHandlers[RawMagneticField] = &MPLSensor::rawCompassHandler; in MPLSensor()
2146 (mCompassSensor->isIntegrated() << RawMagneticField))) {
2186 if (changed & ((1 << MagneticField) | (1 << RawMagneticField))) {
2189 … res = enableCompass(!!(sensors & INV_THREE_AXIS_COMPASS), changed & (1 << RawMagneticField));
2220 | (mCompassSensor->isIntegrated() << RawMagneticField)))
2262 (mCompassSensor->isIntegrated() << RawMagneticField))) {
2320 ((!mCompassSensor->isIntegrated()) << RawMagneticField))
2743 if (!mEnabledTime[RawMagneticField] || !(s->timestamp > mEnabledTime[RawMagneticField])) {
2745 mEnabledTime[RawMagneticField], s->timestamp, android::elapsedRealtimeNano());
3144 what = RawMagneticField;
3239 case RawMagneticField:
3262 for (int i = Gyro; i <= RawMagneticField; i++) {
3279 for (int i = Gyro; i <= RawMagneticField; i++) {
3296 for (int i = Accelerometer; i <= RawMagneticField; i++) {
3368 what = RawMagneticField;
3494 case RawMagneticField:
3773 int64_t compassWanted = (mDelays[MagneticField] <= mDelays[RawMagneticField]?
3774 … (mEnabled & (1 << MagneticField)? mDelays[MagneticField]: mDelays[RawMagneticField]):
3775 … (mEnabled & (1 << RawMagneticField)? mDelays[RawMagneticField]: mDelays[MagneticField]));
5086 mCompassSensor->fillList(&list[RawMagneticField]);
5940 case RawMagneticField:
5989 if (i <= RawMagneticField) {
6365 | (1 << RawMagneticField);
6743 if (mBatchEnabled & (1 << MagneticField) || mBatchEnabled & (1 << RawMagneticField)) {
6744 compassRate = (mBatchDelays[MagneticField] <= mBatchDelays[RawMagneticField]) ?
6746 mBatchDelays[RawMagneticField]) :
6747 (mBatchEnabled & (1 << RawMagneticField) ? mBatchDelays[RawMagneticField] :