Lines Matching refs:mLocalSensorMask
157 mLocalSensorMask(0),
970 mLocalSensorMask = ALL_MPL_SENSORS_NP;
977 mLocalSensorMask = 0;
983 mLocalSensorMask |= INV_THREE_AXIS_GYRO;
986 mLocalSensorMask &= ~INV_THREE_AXIS_GYRO;
991 mLocalSensorMask |= INV_THREE_AXIS_ACCEL;
994 mLocalSensorMask &= ~INV_THREE_AXIS_ACCEL;
1000 mLocalSensorMask |= INV_THREE_AXIS_COMPASS;
1003 mLocalSensorMask &= ~INV_THREE_AXIS_COMPASS;
1379 sen_mask = mLocalSensorMask & mMasterSensorMask;
1745 unsigned long sensors = mLocalSensorMask & mMasterSensorMask;
1793 if (mLocalSensorMask & INV_THREE_AXIS_ACCEL) {
1867 sensors = ((mLocalSensorMask & INV_THREE_AXIS_GYRO)? 1 : 0) +
1868 ((mLocalSensorMask & INV_THREE_AXIS_ACCEL)? 1 : 0) +
1869 (((mLocalSensorMask & INV_THREE_AXIS_COMPASS) && mCompassSensor->isIntegrated())? 1 : 0);
1894 LOGI_IF(mLocalSensorMask & INV_THREE_AXIS_GYRO, "gyro x/y/z: %d/%d/%d",
1897 LOGI_IF(mLocalSensorMask & INV_THREE_AXIS_ACCEL, "accel x/y/z: %d/%d/%d",
1898 *((short *) (rdata + 0 + ((mLocalSensorMask & INV_THREE_AXIS_GYRO)? 6: 0))),
1899 *((short *) (rdata + 2 + ((mLocalSensorMask & INV_THREE_AXIS_GYRO)? 6: 0))),
1900 *((short *) (rdata + 4) + ((mLocalSensorMask & INV_THREE_AXIS_GYRO)? 6: 0)));
1902 LOGI_IF(mLocalSensorMask & INV_THREE_AXIS_COMPASS &
1904 *((short *) (rdata + 0 + ((mLocalSensorMask & INV_THREE_AXIS_GYRO)? 6: 0) +
1905 ((mLocalSensorMask & INV_THREE_AXIS_ACCEL)? 6: 0))),
1906 *((short *) (rdata + 2 + ((mLocalSensorMask & INV_THREE_AXIS_GYRO)? 6: 0) +
1907 ((mLocalSensorMask & INV_THREE_AXIS_ACCEL)? 6: 0))),
1908 *((short *) (rdata + 4) + ((mLocalSensorMask & INV_THREE_AXIS_GYRO)? 6: 0) +
1909 ((mLocalSensorMask & INV_THREE_AXIS_ACCEL)? 6: 0)));
1927 if (mLocalSensorMask & INV_THREE_AXIS_GYRO) {
1930 if (mLocalSensorMask & INV_THREE_AXIS_ACCEL) {
1932 ((mLocalSensorMask & INV_THREE_AXIS_GYRO)? 6: 0)));
1934 if ((mLocalSensorMask & INV_THREE_AXIS_COMPASS) && mCompassSensor->isIntegrated()) {
1939 mask |= (((mLocalSensorMask & INV_THREE_AXIS_GYRO)? 1 << Gyro: 0) +
1940 ((mLocalSensorMask & INV_THREE_AXIS_ACCEL)? 1 << Accelerometer: 0));
1941 if ((mLocalSensorMask & INV_THREE_AXIS_COMPASS) && mCompassSensor->isIntegrated() &&
1985 if (mLocalSensorMask & INV_THREE_AXIS_GYRO) {
1996 if (mLocalSensorMask & INV_THREE_AXIS_ACCEL) {
2011 if (mLocalSensorMask & INV_THREE_AXIS_COMPASS) {
2062 if (mLocalSensorMask & INV_THREE_AXIS_COMPASS) {