Lines Matching refs:mFeatureActiveMask
146 mFeatureActiveMask(0), in MPLSensor()
1112 if (((mFeatureActiveMask & ~INV_DMP_BATCH_MODE) & DMP_FEATURE_MASK) || en) { in setDmpFeature()
1113 if ((mFeatureActiveMask & INV_DMP_6AXIS_QUATERNION) || in setDmpFeature()
1114 (mFeatureActiveMask & INV_DMP_PED_QUATERNION) || in setDmpFeature()
1115 (mFeatureActiveMask & INV_DMP_QUATERNION)) { in setDmpFeature()
1153 uint32_t dataInterrupt = (mEnabled || (mFeatureActiveMask & INV_DMP_BATCH_MODE)); in setDmpFeature()
1168 if (mFeatureActiveMask) { in computeDmpState()
1236 if (!(mFeatureActiveMask & INV_DMP_PED_QUATERNION)) { in enablePedIndicator()
1261 if (!(mFeatureActiveMask & DMP_FEATURE_MASK) in enablePedIndicator()
1285 if ((mFeatureActiveMask & INV_DMP_PEDOMETER) && in checkPedStandaloneBatched()
1298 return ((mFeatureActiveMask & INV_DMP_PED_STANDALONE)? 1:0); in checkPedStandaloneEnabled()
1309 mFeatureActiveMask &= ~INV_DMP_PED_STANDALONE; in enablePedStandalone()
1310 if (mFeatureActiveMask == 0) { in enablePedStandalone()
1312 } else if(mFeatureActiveMask & INV_DMP_PEDOMETER) { in enablePedStandalone()
1335 mFeatureActiveMask |= INV_DMP_PED_STANDALONE; in enablePedStandalone()
1381 if (!(mFeatureActiveMask & DMP_FEATURE_MASK) in enablePedStandaloneData()
1388 if (!(mFeatureActiveMask & DMP_FEATURE_MASK) in enablePedStandaloneData()
1416 return ((mFeatureActiveMask & INV_DMP_PED_QUATERNION)? 1:0); in checkPedQuatEnabled()
1427 mFeatureActiveMask &= ~INV_DMP_PED_QUATERNION; in enablePedQuaternion()
1428 if (mFeatureActiveMask == 0) { in enablePedQuaternion()
1430 } else if(mFeatureActiveMask & INV_DMP_PEDOMETER) { in enablePedQuaternion()
1453 mFeatureActiveMask |= INV_DMP_PED_QUATERNION; in enablePedQuaternion()
1491 if (!(mFeatureActiveMask & DMP_FEATURE_MASK) in enablePedQuaternionData()
1498 if (!(mFeatureActiveMask & DMP_FEATURE_MASK) in enablePedQuaternionData()
1505 if (mFeatureActiveMask & INV_DMP_QUATERNION) { in enablePedQuaternionData()
1575 return ((mFeatureActiveMask & INV_DMP_6AXIS_QUATERNION)? 1:0); in check6AxisQuatEnabled()
1586 mFeatureActiveMask &= ~INV_DMP_6AXIS_QUATERNION; in enable6AxisQuaternion()
1587 if (mFeatureActiveMask == 0) { in enable6AxisQuaternion()
1595 mFeatureActiveMask |= INV_DMP_6AXIS_QUATERNION; in enable6AxisQuaternion()
1619 if (!(mFeatureActiveMask & DMP_FEATURE_MASK) in enable6AxisQuaternionData()
1626 if (!(mFeatureActiveMask & DMP_FEATURE_MASK) in enable6AxisQuaternionData()
1633 if (mFeatureActiveMask & INV_DMP_QUATERNION) { in enable6AxisQuaternionData()
1646 if (!(mFeatureActiveMask & INV_DMP_PED_QUATERNION)) { in enable6AxisQuaternionData()
1730 return ((mFeatureActiveMask & INV_DMP_QUATERNION)? 1:0); in checkLPQuaternion()
1739 mFeatureActiveMask &= ~INV_DMP_QUATERNION; in enableLPQuaternion()
1740 if (mFeatureActiveMask == 0) { in enableLPQuaternion()
1748 mFeatureActiveMask |= INV_DMP_QUATERNION; in enableLPQuaternion()
1833 mFeatureActiveMask |= INV_DMP_PEDOMETER; in enableDmpPedometer()
1836 mFeatureActiveMask |= INV_DMP_PEDOMETER_STEP; in enableDmpPedometer()
1842 mFeatureActiveMask &= ~INV_DMP_PEDOMETER; in enableDmpPedometer()
1845 mFeatureActiveMask &= ~INV_DMP_PEDOMETER_STEP; in enableDmpPedometer()
1850 if (!(mFeatureActiveMask & (INV_DMP_PEDOMETER | INV_DMP_PEDOMETER_STEP))) { in enableDmpPedometer()
1861 if (!(mFeatureActiveMask & INV_DMP_PEDOMETER)) { in enableDmpPedometer()
1881 if(en || enabled_sensors || mFeatureActiveMask) { in enableDmpPedometer()
2037 if (!(mFeatureActiveMask & INV_DMP_BATCH_MODE) ||
2274 "mFeatureActiveMask=0x%llx", mFeatureActiveMask);
2284 LOGV_IF(ENG_VERBOSE, "mFeatureActiveMask=0x%llx", mFeatureActiveMask);
2286 if ((mFeatureActiveMask & (long long)DMP_FEATURE_MASK) &&
2287 !((mFeatureActiveMask & INV_DMP_6AXIS_QUATERNION) ||
2288 (mFeatureActiveMask & INV_DMP_PED_STANDALONE) ||
2289 (mFeatureActiveMask & INV_DMP_PED_QUATERNION) ||
2290 (mFeatureActiveMask & INV_DMP_BATCH_MODE))) {
2346 if(mFeatureActiveMask || sensors) {
2359 mFeatureActiveMask &= ~INV_DMP_BATCH_MODE;
2402 if ((mFeatureActiveMask & INV_DMP_PEDOMETER) && !(tempBatchSensor & (1 << StepDetector))) {
2407 mFeatureActiveMask |= INV_DMP_BATCH_MODE;
2435 if (en && (mFeatureActiveMask & INV_DMP_PEDOMETER) &&
2445 if (en && (mFeatureActiveMask & INV_DMP_PEDOMETER) &&
2462 (mFeatureActiveMask & INV_DMP_PED_STANDALONE))) {
2509 if (mFeatureActiveMask == 0) {
2523 uint32_t dataInterrupt = (mEnabled || (mFeatureActiveMask & INV_DMP_BATCH_MODE));
2532 if (mFeatureActiveMask || mEnabled)
2549 mFeatureActiveMask, mEnabled, mBatchEnabled);
3234 if (mFeatureActiveMask & INV_DMP_6AXIS_QUATERNION) {
3596 if(mFeatureActiveMask & INV_DMP_BATCH_MODE) {
3598 LOGV_IF(ENG_VERBOSE, "HAL: mFeatureActiveMask=%016llx", mFeatureActiveMask);
3645 "mFeatureActiveMask=%016llx", mFeatureActiveMask);
3646 if(mFeatureActiveMask & DMP_FEATURE_MASK) {
3732 LOGV_IF(ENG_VERBOSE, "mFeatureActiveMask=%016llx", mFeatureActiveMask);
3752 LOGV_IF(ENG_VERBOSE, "mFeatureActiveMask=%016llx", mFeatureActiveMask);
3791 LOGV_IF(ENG_VERBOSE, "mFeatureActiveMask=%016llx", mFeatureActiveMask);
3803 LOGV_IF(ENG_VERBOSE, "mFeatureActiveMask=%016llx", mFeatureActiveMask);
3825 LOGV_IF(ENG_VERBOSE, "mFeatureActiveMask=%016llx", mFeatureActiveMask);
3826 if(mFeatureActiveMask & DMP_FEATURE_MASK) {
4389 if (!(mFeatureActiveMask & INV_DMP_BATCH_MODE)) {
4754 mFeatureActiveMask |= INV_DMP_DISPL_ORIENTATION;
4755 LOGV_IF(ENG_VERBOSE, "mFeatureActiveMask=%016llx", mFeatureActiveMask);
4757 mFeatureActiveMask &= ~INV_DMP_DISPL_ORIENTATION;
4759 if (mFeatureActiveMask == 0) {
4777 LOGV_IF(ENG_VERBOSE, "mFeatureActiveMask=%016llx", mFeatureActiveMask);
4783 if (en || mEnabled || mFeatureActiveMask) {
4886 return ((mFeatureActiveMask & INV_DMP_DISPL_ORIENTATION) ? 1 : 0);
4896 if (mFeatureActiveMask & INV_DMP_BATCH_MODE) {
5863 return ((mFeatureActiveMask & INV_DMP_BATCH_MODE)? 1:0);
6083 uint32_t dataInterrupt = (mEnabled || (mFeatureActiveMask & INV_DMP_BATCH_MODE));
6122 (mFeatureActiveMask & INV_DMP_PEDOMETER)) {
6137 (mFeatureActiveMask & INV_DMP_PEDOMETER)) {
6227 if (enabled_sensors || mFeatureActiveMask) {
6258 ((what == StepDetector) && !(mFeatureActiveMask & INV_DMP_PEDOMETER))) {
6299 (mFeatureActiveMask & INV_DMP_PEDOMETER)) {
6579 mFeatureActiveMask &= ~INV_DMP_SIGNIFICANT_MOTION;
6616 mFeatureActiveMask |= INV_DMP_SIGNIFICANT_MOTION;
6625 mFeatureActiveMask &= ~INV_DMP_SIGNIFICANT_MOTION;
6637 if(en || enabled_sensors || mFeatureActiveMask) {
6755 if ((mFeatureActiveMask & INV_DMP_PED_QUATERNION) ||
6756 (mFeatureActiveMask & INV_DMP_6AXIS_QUATERNION)) {
6822 if ((mFeatureActiveMask & INV_DMP_PED_QUATERNION) ||
6823 (mFeatureActiveMask & INV_DMP_6AXIS_QUATERNION)) {