Lines Matching refs:mLocalSensorMask
208 mLocalSensorMask(0), in MPLSensor()
1299 && (!(mLocalSensorMask & mMasterSensorMask in enablePedStandaloneData()
1306 && (!(mLocalSensorMask & mMasterSensorMask in enablePedStandaloneData()
1318 LOGV_IF(EXTRA_VERBOSE, "mLocalSensorMask=0x%lx", mLocalSensorMask); in enablePedStandaloneData()
1320 if (!((mLocalSensorMask & mMasterSensorMask) & INV_THREE_AXIS_ACCEL)) { in enablePedStandaloneData()
1417 && (!(mLocalSensorMask & mMasterSensorMask in enablePedQuaternionData()
1424 && (!(mLocalSensorMask & mMasterSensorMask in enablePedQuaternionData()
1439 mLocalSensorMask |= INV_THREE_AXIS_GYRO; in enablePedQuaternionData()
1440 mLocalSensorMask |= INV_THREE_AXIS_ACCEL; in enablePedQuaternionData()
1442 mLocalSensorMask |= INV_THREE_AXIS_ACCEL; in enablePedQuaternionData()
1445 mLocalSensorMask |= INV_THREE_AXIS_GYRO; in enablePedQuaternionData()
1459 LOGV_IF(EXTRA_VERBOSE, "mLocalSensorMask=0x%lx", mLocalSensorMask); in enablePedQuaternionData()
1461 if ((!((mLocalSensorMask & mMasterSensorMask) & INV_THREE_AXIS_ACCEL)) || in enablePedQuaternionData()
1466 mLocalSensorMask &= ~INV_THREE_AXIS_ACCEL; in enablePedQuaternionData()
1470 if ((!((mLocalSensorMask & mMasterSensorMask) & INV_THREE_AXIS_GYRO)) || in enablePedQuaternionData()
1475 mLocalSensorMask &= ~INV_THREE_AXIS_GYRO; in enablePedQuaternionData()
1530 && (!(mLocalSensorMask & mMasterSensorMask in enable6AxisQuaternionData()
1537 && (!(mLocalSensorMask & mMasterSensorMask in enable6AxisQuaternionData()
1553 LOGV_IF(ENG_VERBOSE, " k=0x%lx", mLocalSensorMask); in enable6AxisQuaternionData()
1557 mLocalSensorMask |= INV_THREE_AXIS_GYRO; in enable6AxisQuaternionData()
1558 mLocalSensorMask |= INV_THREE_AXIS_ACCEL; in enable6AxisQuaternionData()
1565 mLocalSensorMask |= INV_THREE_AXIS_ACCEL; in enable6AxisQuaternionData()
1568 mLocalSensorMask |= INV_THREE_AXIS_GYRO; in enable6AxisQuaternionData()
1570 LOGV_IF(ENG_VERBOSE, "after mLocalSensorMask=0x%lx", mLocalSensorMask); in enable6AxisQuaternionData()
1583 LOGV_IF(EXTRA_VERBOSE, "before: mLocalSensorMask=0x%lx", mLocalSensorMask); in enable6AxisQuaternionData()
1584 if ((!(mLocalSensorMask & mMasterSensorMask & INV_THREE_AXIS_ACCEL)) || in enable6AxisQuaternionData()
1590 mLocalSensorMask &= ~INV_THREE_AXIS_ACCEL; in enable6AxisQuaternionData()
1593 if ((!(mLocalSensorMask & mMasterSensorMask & INV_THREE_AXIS_GYRO)) || in enable6AxisQuaternionData()
1601 mLocalSensorMask &= ~INV_THREE_AXIS_GYRO; in enable6AxisQuaternionData()
1604 LOGV_IF(ENG_VERBOSE, "after: mLocalSensorMask=0x%lx", mLocalSensorMask); in enable6AxisQuaternionData()
1727 if (!(mLocalSensorMask & mMasterSensorMask & INV_THREE_AXIS_ACCEL)) { in enableDmpPedometer()
1781 if (!(mLocalSensorMask & mMasterSensorMask in enableDmpPedometer()
1948 mLocalSensorMask |= INV_ONE_AXIS_PRESSURE; in computeLocalSensorMask()
1951 mLocalSensorMask &= ~INV_ONE_AXIS_PRESSURE; in computeLocalSensorMask()
1957 mLocalSensorMask |= ALL_MPL_SENSORS_NP; in computeLocalSensorMask()
1964 mLocalSensorMask |= INV_THREE_AXIS_GYRO; in computeLocalSensorMask()
1965 mLocalSensorMask |= INV_THREE_AXIS_ACCEL; in computeLocalSensorMask()
1969 mLocalSensorMask |= INV_THREE_AXIS_GYRO; in computeLocalSensorMask()
1972 mLocalSensorMask &= ~INV_THREE_AXIS_GYRO; in computeLocalSensorMask()
1976 mLocalSensorMask |= INV_THREE_AXIS_ACCEL; in computeLocalSensorMask()
1979 mLocalSensorMask &= ~INV_THREE_AXIS_ACCEL; in computeLocalSensorMask()
1985 mLocalSensorMask |= INV_THREE_AXIS_COMPASS; in computeLocalSensorMask()
1988 mLocalSensorMask &= ~INV_THREE_AXIS_COMPASS; in computeLocalSensorMask()
1995 mLocalSensorMask |= INV_THREE_AXIS_ACCEL; in computeLocalSensorMask()
1996 mLocalSensorMask |= INV_THREE_AXIS_COMPASS; in computeLocalSensorMask()
2001 mLocalSensorMask |= INV_THREE_AXIS_GYRO; in computeLocalSensorMask()
2004 mLocalSensorMask &= ~INV_THREE_AXIS_GYRO; in computeLocalSensorMask()
2014 mLocalSensorMask = 0; in computeLocalSensorMask()
2020 mLocalSensorMask |= INV_THREE_AXIS_GYRO; in computeLocalSensorMask()
2023 mLocalSensorMask &= ~INV_THREE_AXIS_GYRO; in computeLocalSensorMask()
2028 mLocalSensorMask |= INV_THREE_AXIS_ACCEL; in computeLocalSensorMask()
2031 mLocalSensorMask &= ~INV_THREE_AXIS_ACCEL; in computeLocalSensorMask()
2037 mLocalSensorMask |= INV_THREE_AXIS_COMPASS; in computeLocalSensorMask()
2040 mLocalSensorMask &= ~INV_THREE_AXIS_COMPASS; in computeLocalSensorMask()
2207 LOGV_IF(ENG_VERBOSE, "mLocalSensorMask=0x%lx", mLocalSensorMask); in enableSensors()
2208 if (((sensors | mLocalSensorMask) & INV_THREE_AXIS_ACCEL) == 0) { in enableSensors()
2884 sen_mask = mLocalSensorMask & mMasterSensorMask; in enable()
3509 unsigned long sensors = mLocalSensorMask & mMasterSensorMask; in update_delay()
3565 if (mLocalSensorMask & INV_THREE_AXIS_ACCEL) { in readAccelEvents()
3696 sensors = ((mLocalSensorMask & INV_THREE_AXIS_GYRO)? 1 : 0) + in buildMpuEvent()
3697 ((mLocalSensorMask & INV_THREE_AXIS_ACCEL)? 1 : 0) + in buildMpuEvent()
3698 (((mLocalSensorMask & INV_THREE_AXIS_COMPASS) in buildMpuEvent()
3700 ((mLocalSensorMask & INV_ONE_AXIS_PRESSURE)? 1 : 0); in buildMpuEvent()
3995 if (mLocalSensorMask & INV_THREE_AXIS_GYRO) { in buildMpuEvent()
4007 if (mLocalSensorMask & INV_THREE_AXIS_ACCEL) { in buildMpuEvent()
4035 if (mLocalSensorMask & INV_THREE_AXIS_COMPASS) { in buildMpuEvent()
4114 if (mLocalSensorMask & INV_ONE_AXIS_PRESSURE) { in buildMpuEvent()
4163 if (mLocalSensorMask & INV_THREE_AXIS_COMPASS) { in buildCompassEvent()
4281 if (!(mLocalSensorMask & mMasterSensorMask & INV_THREE_AXIS_ACCEL)) { in enableDmpOrientation()
4307 if (!(mLocalSensorMask & mMasterSensorMask in enableDmpOrientation()
6017 if (!(mLocalSensorMask & mMasterSensorMask in readDmpSignificantMotionEvents()
6079 if (!(mLocalSensorMask & mMasterSensorMask & INV_THREE_AXIS_ACCEL)) { in enableDmpSignificantMotion()
6102 if (!(mLocalSensorMask & mMasterSensorMask in enableDmpSignificantMotion()