Searched refs:MagneticField (Results 1 – 6 of 6) sorted by relevance
51 mPendingEvents[MagneticField].version = sizeof(sensors_event_t); in AkmSensor()52 mPendingEvents[MagneticField].sensor = ID_M; in AkmSensor()53 mPendingEvents[MagneticField].type = SENSOR_TYPE_MAGNETIC_FIELD; in AkmSensor()54 mPendingEvents[MagneticField].magnetic.status = SENSOR_STATUS_ACCURACY_HIGH; in AkmSensor()87 case MagneticField: in setEnable()151 case MagneticField: in setDelay()265 return MagneticField; in handle2id()291 mPendingMask |= 1<<MagneticField; in processEvent()292 mPendingEvents[MagneticField].magnetic.x = value * CONVERT_M; in processEvent()295 mPendingMask |= 1<<MagneticField; in processEvent()[all …]
41 MagneticField, enumerator
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) |[all …]
65 MagneticField, enumerator
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()[all …]
183 MagneticField, enumerator