Home | History | Annotate | Download | only in libsensors_iio

Lines Matching refs:mLocalSensorMask

208                          mLocalSensorMask(0),
1236 && (!(mLocalSensorMask & mMasterSensorMask
1243 && (!(mLocalSensorMask & mMasterSensorMask
1255 LOGV_IF(EXTRA_VERBOSE, "mLocalSensorMask=0x%lx", mLocalSensorMask);
1257 if (!((mLocalSensorMask & mMasterSensorMask) & INV_THREE_AXIS_ACCEL)) {
1353 && (!(mLocalSensorMask & mMasterSensorMask
1360 && (!(mLocalSensorMask & mMasterSensorMask
1372 //LOGV("before mLocalSensorMask=0x%lx", mLocalSensorMask);
1375 mLocalSensorMask |= INV_THREE_AXIS_GYRO;
1376 mLocalSensorMask |= INV_THREE_AXIS_ACCEL;
1378 mLocalSensorMask |= INV_THREE_AXIS_ACCEL;
1381 mLocalSensorMask |= INV_THREE_AXIS_GYRO;
1383 //LOGV("after mLocalSensorMask=0x%lx", mLocalSensorMask);
1395 LOGV_IF(EXTRA_VERBOSE, "mLocalSensorMask=0x%lx", mLocalSensorMask);
1397 if ((!((mLocalSensorMask & mMasterSensorMask) & INV_THREE_AXIS_ACCEL)) ||
1402 mLocalSensorMask &= ~INV_THREE_AXIS_ACCEL;
1406 if ((!((mLocalSensorMask & mMasterSensorMask) & INV_THREE_AXIS_GYRO)) ||
1411 mLocalSensorMask &= ~INV_THREE_AXIS_GYRO;
1463 && (!(mLocalSensorMask & mMasterSensorMask
1470 && (!(mLocalSensorMask & mMasterSensorMask
1486 LOGV("before mLocalSensorMask=0x%lx", mLocalSensorMask);
1490 mLocalSensorMask |= INV_THREE_AXIS_GYRO;
1491 mLocalSensorMask |= INV_THREE_AXIS_ACCEL;
1494 mLocalSensorMask |= INV_THREE_AXIS_ACCEL;
1497 mLocalSensorMask |= INV_THREE_AXIS_GYRO;
1499 LOGV("after mLocalSensorMask=0x%lx", mLocalSensorMask);
1512 LOGV_IF(EXTRA_VERBOSE, "before: mLocalSensorMask=0x%lx", mLocalSensorMask);
1513 if ((!(mLocalSensorMask & mMasterSensorMask & INV_THREE_AXIS_ACCEL)) ||
1519 mLocalSensorMask &= ~INV_THREE_AXIS_ACCEL;
1522 if ((!(mLocalSensorMask & mMasterSensorMask & INV_THREE_AXIS_GYRO)) ||
1530 mLocalSensorMask &= ~INV_THREE_AXIS_GYRO;
1533 LOGV("after: mLocalSensorMask=0x%lx", mLocalSensorMask);
1645 if (!(mLocalSensorMask & mMasterSensorMask & INV_THREE_AXIS_ACCEL)) {
1706 if (!(mLocalSensorMask & mMasterSensorMask
1863 mLocalSensorMask |= INV_ONE_AXIS_PRESSURE;
1866 mLocalSensorMask &= ~INV_ONE_AXIS_PRESSURE;
1872 mLocalSensorMask = ALL_MPL_SENSORS_NP;
1879 mLocalSensorMask |= INV_THREE_AXIS_GYRO;
1880 mLocalSensorMask |= INV_THREE_AXIS_ACCEL;
1884 mLocalSensorMask |= INV_THREE_AXIS_GYRO;
1887 mLocalSensorMask &= ~INV_THREE_AXIS_GYRO;
1891 mLocalSensorMask |= INV_THREE_AXIS_ACCEL;
1894 mLocalSensorMask &= ~INV_THREE_AXIS_ACCEL;
1900 mLocalSensorMask |= INV_THREE_AXIS_COMPASS;
1903 mLocalSensorMask &= ~INV_THREE_AXIS_COMPASS;
1910 mLocalSensorMask
1911 mLocalSensorMask |= INV_THREE_AXIS_COMPASS;
1916 mLocalSensorMask |= INV_THREE_AXIS_GYRO;
1919 mLocalSensorMask &= ~INV_THREE_AXIS_GYRO;
1929 mLocalSensorMask = 0;
1935 mLocalSensorMask |= INV_THREE_AXIS_GYRO;
1938 mLocalSensorMask &= ~INV_THREE_AXIS_GYRO;
1943 mLocalSensorMask |= INV_THREE_AXIS_ACCEL;
1946 mLocalSensorMask &= ~INV_THREE_AXIS_ACCEL;
1952 mLocalSensorMask |= INV_THREE_AXIS_COMPASS;
1955 mLocalSensorMask &= ~INV_THREE_AXIS_COMPASS;
2727 sen_mask = mLocalSensorMask & mMasterSensorMask;
3354 unsigned long sensors = mLocalSensorMask & mMasterSensorMask;
3410 if (mLocalSensorMask & INV_THREE_AXIS_ACCEL) {
3507 sensors = ((mLocalSensorMask & INV_THREE_AXIS_GYRO)? 1 : 0) +
3508 ((mLocalSensorMask & INV_THREE_AXIS_ACCEL)? 1 : 0) +
3509 (((mLocalSensorMask & INV_THREE_AXIS_COMPASS)
3511 ((mLocalSensorMask & INV_ONE_AXIS_PRESSURE)? 1 : 0);
3512 //LOGV("mLocalSensorMask=0x%lx", mLocalSensorMask);
3535 // mLocalSensorMask does not need to be accounted for here
3759 if (mLocalSensorMask & INV_THREE_AXIS_GYRO) {
3771 if (mLocalSensorMask & INV_THREE_AXIS_ACCEL) {
3787 if (mLocalSensorMask & INV_THREE_AXIS_COMPASS) {
3865 if (mLocalSensorMask & INV_ONE_AXIS_PRESSURE) {
3904 if (mLocalSensorMask & INV_THREE_AXIS_COMPASS) {
4021 if (!(mLocalSensorMask & mMasterSensorMask & INV_THREE_AXIS_ACCEL)) {
4047 if (!(mLocalSensorMask & mMasterSensorMask
5621 if (!(mLocalSensorMask & mMasterSensorMask
5686 if (!(mLocalSensorMask & mMasterSensorMask & INV_THREE_AXIS_ACCEL)) {
5709 if (!(mLocalSensorMask & mMasterSensorMask