Searched refs:MagneticField (Results 1 – 10 of 10) sorted by relevance
50 mPendingEvents[MagneticField].version = sizeof(sensors_event_t); in AkmSensor()51 mPendingEvents[MagneticField].sensor = ID_M; in AkmSensor()52 mPendingEvents[MagneticField].type = SENSOR_TYPE_MAGNETIC_FIELD; in AkmSensor()53 mPendingEvents[MagneticField].magnetic.status = SENSOR_STATUS_ACCURACY_HIGH; in AkmSensor()86 case MagneticField: in setEnable()150 case MagneticField: in setDelay()264 return MagneticField; in handle2id()290 mPendingMask |= 1<<MagneticField; in processEvent()291 mPendingEvents[MagneticField].magnetic.x = value * CONVERT_M; in processEvent()294 mPendingMask |= 1<<MagneticField; in processEvent()[all …]
41 MagneticField, enumerator
240 mPendingEvents[MagneticField].version = sizeof(sensors_event_t); in MPLSensor()241 mPendingEvents[MagneticField].sensor = ID_M; in MPLSensor()242 mPendingEvents[MagneticField].type = SENSOR_TYPE_MAGNETIC_FIELD; in MPLSensor()243 mPendingEvents[MagneticField].magnetic.status = SENSOR_STATUS_ACCURACY_HIGH; in MPLSensor()256 mHandlers[MagneticField] = &MPLSensor::compassHandler; in MPLSensor()804 what = MagneticField; in enable()862 what = MagneticField; in setDelay()1249 list[MagneticField].maxRange = COMPASS_AKM8975_RANGE; in fillCompass()1250 list[MagneticField].resolution = COMPASS_AKM8975_RESOLUTION; in fillCompass()1251 list[MagneticField].power = COMPASS_AKM8975_POWER; in fillCompass()[all …]
49 MagneticField, enumerator
289 mPendingEvents[MagneticField].version = sizeof(sensors_event_t); in MPLSensor()290 mPendingEvents[MagneticField].sensor = ID_M; in MPLSensor()291 mPendingEvents[MagneticField].type = SENSOR_TYPE_MAGNETIC_FIELD; in MPLSensor()292 mPendingEvents[MagneticField].magnetic.status = in MPLSensor()307 mHandlers[MagneticField] = &MPLSensor::compassHandler; in MPLSensor()1029 | (1 << MagneticField); in enableSensors()1033 ext_compass_changed = changed & (1 << MagneticField); in enableSensors()1034 all_integrated_changeables = all_changeables & ~(1 << MagneticField); in enableSensors()1064 if (changed & (1 << MagneticField)) { in enableSensors()1319 what = MagneticField; in enable()[all …]
124 MagneticField, enumerator
436 mPendingEvents[MagneticField].version = sizeof(sensors_event_t); in MPLSensor()437 mPendingEvents[MagneticField].sensor = ID_M; in MPLSensor()438 mPendingEvents[MagneticField].type = SENSOR_TYPE_MAGNETIC_FIELD; in MPLSensor()439 mPendingEvents[MagneticField].magnetic.status = in MPLSensor()492 mHandlers[MagneticField] = &MPLSensor::compassHandler; in MPLSensor()2090 (mCompassSensor->isIntegrated() << MagneticField) |2134 if (changed & ((1 << MagneticField) | (1 << RawMagneticField))) {2142 if (!cal_stored && (!en && (changed & (1 << MagneticField)))) {2167 | (mCompassSensor->isIntegrated() << MagneticField)2206 (mCompassSensor->isIntegrated() << MagneticField) |[all …]
65 MagneticField, enumerator
546 mPendingEvents[MagneticField].version = sizeof(sensors_event_t); in MPLSensor()547 mPendingEvents[MagneticField].sensor = ID_M; in MPLSensor()548 mPendingEvents[MagneticField].type = SENSOR_TYPE_MAGNETIC_FIELD; in MPLSensor()549 mPendingEvents[MagneticField].magnetic.status = in MPLSensor()593 mHandlers[MagneticField] = &MPLSensor::compassHandler; in MPLSensor()595 mHandlers[MagneticField] = &MPLSensor::rawCompassHandler; in MPLSensor()2065 (mCompassSensor->isIntegrated() << MagneticField) | in enableSensors()2107 if (changed & ((1 << MagneticField) | (1 << RawMagneticField))) { in enableSensors()2115 if (!cal_stored && (!en && (changed & (1 << MagneticField)))) { in enableSensors()2138 | (mCompassSensor->isIntegrated() << MagneticField) in enableSensors()[all …]
183 MagneticField, enumerator