Lines Matching refs:mFeatureActiveMask
121 mFeatureActiveMask(0), in MPLSensor()
1098 if ((mFeatureActiveMask & DMP_FEATURE_MASK) || en) { in setDmpFeature()
1099 if ((mFeatureActiveMask & INV_DMP_6AXIS_QUATERNION) || in setDmpFeature()
1100 (mFeatureActiveMask & INV_DMP_PED_QUATERNION) || in setDmpFeature()
1101 (mFeatureActiveMask & INV_DMP_QUATERNION)) { in setDmpFeature()
1139 uint32_t dataInterrupt = (mEnabled || (mFeatureActiveMask & INV_DMP_BATCH_MODE)); in setDmpFeature()
1154 if (mFeatureActiveMask) { in computeDmpState()
1222 if (!(mFeatureActiveMask & INV_DMP_PED_QUATERNION)) { in enablePedIndicator()
1247 if (!(mFeatureActiveMask & DMP_FEATURE_MASK) in enablePedIndicator()
1271 if ((mFeatureActiveMask & INV_DMP_PEDOMETER) && in checkPedStandaloneBatched()
1284 return ((mFeatureActiveMask & INV_DMP_PED_STANDALONE)? 1:0); in checkPedStandaloneEnabled()
1295 mFeatureActiveMask &= ~INV_DMP_PED_STANDALONE; in enablePedStandalone()
1296 if (mFeatureActiveMask == 0) { in enablePedStandalone()
1298 } else if(mFeatureActiveMask & INV_DMP_PEDOMETER) { in enablePedStandalone()
1321 mFeatureActiveMask |= INV_DMP_PED_STANDALONE; in enablePedStandalone()
1367 if (!(mFeatureActiveMask & DMP_FEATURE_MASK) in enablePedStandaloneData()
1374 if (!(mFeatureActiveMask & DMP_FEATURE_MASK) in enablePedStandaloneData()
1402 return ((mFeatureActiveMask & INV_DMP_PED_QUATERNION)? 1:0); in checkPedQuatEnabled()
1413 mFeatureActiveMask &= ~INV_DMP_PED_QUATERNION; in enablePedQuaternion()
1414 if (mFeatureActiveMask == 0) { in enablePedQuaternion()
1416 } else if(mFeatureActiveMask & INV_DMP_PEDOMETER) { in enablePedQuaternion()
1439 mFeatureActiveMask |= INV_DMP_PED_QUATERNION; in enablePedQuaternion()
1477 if (!(mFeatureActiveMask & DMP_FEATURE_MASK) in enablePedQuaternionData()
1484 if (!(mFeatureActiveMask & DMP_FEATURE_MASK) in enablePedQuaternionData()
1491 if (mFeatureActiveMask & INV_DMP_QUATERNION) { in enablePedQuaternionData()
1561 return ((mFeatureActiveMask & INV_DMP_6AXIS_QUATERNION)? 1:0); in check6AxisQuatEnabled()
1572 mFeatureActiveMask &= ~INV_DMP_6AXIS_QUATERNION; in enable6AxisQuaternion()
1573 if (mFeatureActiveMask == 0) { in enable6AxisQuaternion()
1581 mFeatureActiveMask |= INV_DMP_6AXIS_QUATERNION; in enable6AxisQuaternion()
1605 if (!(mFeatureActiveMask & DMP_FEATURE_MASK) in enable6AxisQuaternionData()
1612 if (!(mFeatureActiveMask & DMP_FEATURE_MASK) in enable6AxisQuaternionData()
1619 if (mFeatureActiveMask & INV_DMP_QUATERNION) { in enable6AxisQuaternionData()
1632 if (!(mFeatureActiveMask & INV_DMP_PED_QUATERNION)) { in enable6AxisQuaternionData()
1716 return ((mFeatureActiveMask & INV_DMP_QUATERNION)? 1:0); in checkLPQuaternion()
1725 mFeatureActiveMask &= ~INV_DMP_QUATERNION; in enableLPQuaternion()
1726 if (mFeatureActiveMask == 0) { in enableLPQuaternion()
1734 mFeatureActiveMask |= INV_DMP_QUATERNION; in enableLPQuaternion()
1819 mFeatureActiveMask |= INV_DMP_PEDOMETER; in enableDmpPedometer()
1822 mFeatureActiveMask |= INV_DMP_PEDOMETER_STEP; in enableDmpPedometer()
1828 mFeatureActiveMask &= ~INV_DMP_PEDOMETER; in enableDmpPedometer()
1831 mFeatureActiveMask &= ~INV_DMP_PEDOMETER_STEP; in enableDmpPedometer()
1836 if (!(mFeatureActiveMask & (INV_DMP_PEDOMETER | INV_DMP_PEDOMETER_STEP))) { in enableDmpPedometer()
1847 if (!(mFeatureActiveMask & INV_DMP_PEDOMETER)) { in enableDmpPedometer()
1867 if(en || enabled_sensors || mFeatureActiveMask) { in enableDmpPedometer()
2023 if (!(mFeatureActiveMask & INV_DMP_BATCH_MODE) ||
2260 "mFeatureActiveMask=0x%llx", mFeatureActiveMask);
2270 LOGV_IF(ENG_VERBOSE, "mFeatureActiveMask=0x%llx", mFeatureActiveMask);
2272 if ((mFeatureActiveMask & (long long)DMP_FEATURE_MASK) &&
2273 !((mFeatureActiveMask & INV_DMP_6AXIS_QUATERNION) ||
2274 (mFeatureActiveMask & INV_DMP_PED_STANDALONE) ||
2275 (mFeatureActiveMask & INV_DMP_PED_QUATERNION) ||
2276 (mFeatureActiveMask & INV_DMP_BATCH_MODE))) {
2332 if(mFeatureActiveMask || sensors) {
2345 mFeatureActiveMask &= ~INV_DMP_BATCH_MODE;
2388 if ((mFeatureActiveMask & INV_DMP_PEDOMETER) && !(tempBatchSensor & (1 << StepDetector))) {
2393 mFeatureActiveMask |= INV_DMP_BATCH_MODE;
2421 if (en && (mFeatureActiveMask & INV_DMP_PEDOMETER) &&
2431 if (en && (mFeatureActiveMask & INV_DMP_PEDOMETER) &&
2448 (mFeatureActiveMask & INV_DMP_PED_STANDALONE))) {
2495 if (mFeatureActiveMask == 0) {
2509 uint32_t dataInterrupt = (mEnabled || (mFeatureActiveMask & INV_DMP_BATCH_MODE));
2518 if (mFeatureActiveMask || mEnabled)
2535 mFeatureActiveMask, mEnabled, mBatchEnabled);
3118 if (mFeatureActiveMask & INV_DMP_6AXIS_QUATERNION) {
3470 if(mFeatureActiveMask & INV_DMP_BATCH_MODE) {
3472 LOGV_IF(ENG_VERBOSE, "HAL: mFeatureActiveMask=%016llx", mFeatureActiveMask);
3519 "mFeatureActiveMask=%016llx", mFeatureActiveMask);
3520 if(mFeatureActiveMask & DMP_FEATURE_MASK) {
3606 LOGV_IF(ENG_VERBOSE, "mFeatureActiveMask=%016llx", mFeatureActiveMask);
3626 LOGV_IF(ENG_VERBOSE, "mFeatureActiveMask=%016llx", mFeatureActiveMask);
3665 LOGV_IF(ENG_VERBOSE, "mFeatureActiveMask=%016llx", mFeatureActiveMask);
3677 LOGV_IF(ENG_VERBOSE, "mFeatureActiveMask=%016llx", mFeatureActiveMask);
3699 LOGV_IF(ENG_VERBOSE, "mFeatureActiveMask=%016llx", mFeatureActiveMask);
3700 if(mFeatureActiveMask & DMP_FEATURE_MASK) {
4232 if (!(mFeatureActiveMask & INV_DMP_BATCH_MODE)) {
4591 mFeatureActiveMask |= INV_DMP_DISPL_ORIENTATION;
4592 LOGV_IF(ENG_VERBOSE, "mFeatureActiveMask=%016llx", mFeatureActiveMask);
4594 mFeatureActiveMask &= ~INV_DMP_DISPL_ORIENTATION;
4596 if (mFeatureActiveMask == 0) {
4614 LOGV_IF(ENG_VERBOSE, "mFeatureActiveMask=%016llx", mFeatureActiveMask);
4620 if (en || mEnabled || mFeatureActiveMask) {
4725 return ((mFeatureActiveMask & INV_DMP_DISPL_ORIENTATION) ? 1 : 0);
4735 if (mFeatureActiveMask & INV_DMP_BATCH_MODE) {
5703 return ((mFeatureActiveMask & INV_DMP_BATCH_MODE)? 1:0);
5919 uint32_t dataInterrupt = (mEnabled || (mFeatureActiveMask & INV_DMP_BATCH_MODE));
5958 (mFeatureActiveMask & INV_DMP_PEDOMETER)) {
5973 (mFeatureActiveMask & INV_DMP_PEDOMETER)) {
6063 if (enabled_sensors || mFeatureActiveMask) {
6094 ((what == StepDetector) && !(mFeatureActiveMask & INV_DMP_PEDOMETER))) {
6136 (mFeatureActiveMask & INV_DMP_PEDOMETER)) {
6399 mFeatureActiveMask &= ~INV_DMP_SIGNIFICANT_MOTION;
6436 mFeatureActiveMask |= INV_DMP_SIGNIFICANT_MOTION;
6445 mFeatureActiveMask &= ~INV_DMP_SIGNIFICANT_MOTION;
6457 if(en || enabled_sensors || mFeatureActiveMask) {
6575 if ((mFeatureActiveMask & INV_DMP_PED_QUATERNION) ||
6576 (mFeatureActiveMask & INV_DMP_6AXIS_QUATERNION)) {
6642 if ((mFeatureActiveMask & INV_DMP_PED_QUATERNION) ||
6643 (mFeatureActiveMask & INV_DMP_6AXIS_QUATERNION)) {