Lines Matching refs:RawMagneticField
442 mPendingEvents[RawMagneticField].version = sizeof(sensors_event_t); in MPLSensor()
443 mPendingEvents[RawMagneticField].sensor = ID_RM; in MPLSensor()
444 mPendingEvents[RawMagneticField].type = SENSOR_TYPE_MAGNETIC_FIELD_UNCALIBRATED; in MPLSensor()
445 mPendingEvents[RawMagneticField].magnetic.status = in MPLSensor()
493 mHandlers[RawMagneticField] = &MPLSensor::rawCompassHandler; in MPLSensor()
2094 (mCompassSensor->isIntegrated() << RawMagneticField))) {
2134 if (changed & ((1 << MagneticField) | (1 << RawMagneticField))) {
2137 … res = enableCompass(!!(sensors & INV_THREE_AXIS_COMPASS), changed & (1 << RawMagneticField));
2168 | (mCompassSensor->isIntegrated() << RawMagneticField)))
2210 (mCompassSensor->isIntegrated() << RawMagneticField))) {
2268 ((!mCompassSensor->isIntegrated()) << RawMagneticField))
2898 what = RawMagneticField;
2988 case RawMagneticField:
3011 for (int i = Gyro; i <= RawMagneticField; i++) {
3028 for (int i = Gyro; i <= RawMagneticField; i++) {
3045 for (int i = Accelerometer; i <= RawMagneticField; i++) {
3107 what = RawMagneticField;
3233 case RawMagneticField:
3512 int64_t compassWanted = (mDelays[MagneticField] <= mDelays[RawMagneticField]?
3513 … (mEnabled & (1 << MagneticField)? mDelays[MagneticField]: mDelays[RawMagneticField]):
3514 … (mEnabled & (1 << RawMagneticField)? mDelays[RawMagneticField]: mDelays[MagneticField]));
4785 mCompassSensor->fillList(&list[RawMagneticField]);
5636 case RawMagneticField:
5679 if (i <= RawMagneticField) {
5974 | (1 << RawMagneticField);
6337 if (mBatchEnabled & (1 << MagneticField) || mBatchEnabled & (1 << RawMagneticField)) {
6338 compassRate = (mBatchDelays[MagneticField] <= mBatchDelays[RawMagneticField]) ?
6340 mBatchDelays[RawMagneticField]) :
6341 (mBatchEnabled & (1 << RawMagneticField) ? mBatchDelays[RawMagneticField] :