Lines Matching refs:mFeatureActiveMask
246 mFeatureActiveMask(0), in MPLSensor()
1190 if (!(mFeatureActiveMask & INV_DMP_PED_QUATERNION)) { in enablePedIndicator()
1215 return ((mFeatureActiveMask & INV_DMP_PED_STANDALONE)? 1:0); in checkPedStandaloneEnabled()
1226 mFeatureActiveMask &= ~INV_DMP_PED_STANDALONE; in enablePedStandalone()
1227 if (mFeatureActiveMask == 0) { in enablePedStandalone()
1229 } else if(mFeatureActiveMask & INV_DMP_PEDOMETER) { in enablePedStandalone()
1252 mFeatureActiveMask |= INV_DMP_PED_STANDALONE; in enablePedStandalone()
1298 if (!(mFeatureActiveMask & DMP_FEATURE_MASK) in enablePedStandaloneData()
1305 if (!(mFeatureActiveMask & DMP_FEATURE_MASK) in enablePedStandaloneData()
1333 return ((mFeatureActiveMask & INV_DMP_PED_QUATERNION)? 1:0); in checkPedQuatEnabled()
1344 mFeatureActiveMask &= ~INV_DMP_PED_QUATERNION; in enablePedQuaternion()
1345 if (mFeatureActiveMask == 0) { in enablePedQuaternion()
1347 } else if(mFeatureActiveMask & INV_DMP_PEDOMETER) { in enablePedQuaternion()
1370 mFeatureActiveMask |= INV_DMP_PED_QUATERNION; in enablePedQuaternion()
1416 if (!(mFeatureActiveMask & DMP_FEATURE_MASK) in enablePedQuaternionData()
1423 if (!(mFeatureActiveMask & DMP_FEATURE_MASK) in enablePedQuaternionData()
1430 if (mFeatureActiveMask & INV_DMP_QUATERNION) { in enablePedQuaternionData()
1485 return ((mFeatureActiveMask & INV_DMP_6AXIS_QUATERNION)? 1:0); in check6AxisQuatEnabled()
1496 mFeatureActiveMask &= ~INV_DMP_6AXIS_QUATERNION; in enable6AxisQuaternion()
1497 if (mFeatureActiveMask == 0) { in enable6AxisQuaternion()
1505 mFeatureActiveMask |= INV_DMP_6AXIS_QUATERNION; in enable6AxisQuaternion()
1529 if (!(mFeatureActiveMask & DMP_FEATURE_MASK) in enable6AxisQuaternionData()
1536 if (!(mFeatureActiveMask & DMP_FEATURE_MASK) in enable6AxisQuaternionData()
1543 if (mFeatureActiveMask & INV_DMP_QUATERNION) { in enable6AxisQuaternionData()
1556 if (!(mFeatureActiveMask & INV_DMP_PED_QUATERNION)) { in enable6AxisQuaternionData()
1621 return ((mFeatureActiveMask & INV_DMP_QUATERNION)? 1:0); in checkLPQuaternion()
1630 mFeatureActiveMask &= ~INV_DMP_QUATERNION; in enableLPQuaternion()
1631 if (mFeatureActiveMask == 0) { in enableLPQuaternion()
1639 mFeatureActiveMask |= INV_DMP_QUATERNION; in enableLPQuaternion()
1695 if (interruptMode || (mFeatureActiveMask & INV_DMP_PEDOMETER)) { in enableDmpPedometer()
1744 mFeatureActiveMask |= INV_DMP_PEDOMETER; in enableDmpPedometer()
1747 mFeatureActiveMask |= INV_DMP_PEDOMETER_STEP; in enableDmpPedometer()
1754 mFeatureActiveMask &= ~INV_DMP_PEDOMETER; in enableDmpPedometer()
1757 mFeatureActiveMask &= ~INV_DMP_PEDOMETER_STEP; in enableDmpPedometer()
1762 if (!(mFeatureActiveMask & (INV_DMP_PEDOMETER | INV_DMP_PEDOMETER_STEP))) { in enableDmpPedometer()
1773 if (mFeatureActiveMask == 0 ) { in enableDmpPedometer()
1791 if (!(mFeatureActiveMask & INV_DMP_PEDOMETER)) { in enableDmpPedometer()
1813 if(en || enabled_sensors || mFeatureActiveMask) { in enableDmpPedometer()
2183 "mFeatureActiveMask=%016llx", mFeatureActiveMask); in enableSensors()
2184 if (mFeatureActiveMask & DMP_FEATURE_MASK) { in enableSensors()
2195 LOGV_IF(ENG_VERBOSE, "mFeatureActiveMask=%lld", mFeatureActiveMask); in enableSensors()
2197 if ((mFeatureActiveMask & (long long)DMP_FEATURE_MASK) && in enableSensors()
2198 (!(mFeatureActiveMask & INV_DMP_6AXIS_QUATERNION) || in enableSensors()
2199 !(mFeatureActiveMask & INV_DMP_PED_STANDALONE) || in enableSensors()
2200 !(mFeatureActiveMask & INV_DMP_PED_QUATERNION))) { in enableSensors()
2264 mFeatureActiveMask &= ~INV_DMP_BATCH_MODE; in computeBatchSensorMask()
2308 if ((mFeatureActiveMask & INV_DMP_PEDOMETER) && !(tempBatchSensor & (1 << StepDetector))) { in computeBatchSensorMask()
2313 mFeatureActiveMask |= INV_DMP_BATCH_MODE; in computeBatchSensorMask()
2341 mFeatureActiveMask, mEnabled, mBatchEnabled); in setBatch()
2359 if (en && (mFeatureActiveMask & INV_DMP_PEDOMETER) && in setBatch()
2369 if (en && (mFeatureActiveMask & INV_DMP_PEDOMETER) && in setBatch()
2384 (mFeatureActiveMask & INV_DMP_PED_STANDALONE))) { in setBatch()
2434 if (mFeatureActiveMask == 0) { in setBatch()
2451 if (mFeatureActiveMask || mEnabled) in setBatch()
2897 if (mFeatureActiveMask & INV_DMP_6AXIS_QUATERNION) { in enable()
3247 if(mFeatureActiveMask & INV_DMP_BATCH_MODE) { in update_delay()
3249 LOGV_IF(ENG_VERBOSE, "HAL: mFeatureActiveMask=%016llx", mFeatureActiveMask); in update_delay()
3286 "mFeatureActiveMask=%016llx", mFeatureActiveMask); in update_delay()
3288 if(mFeatureActiveMask & DMP_FEATURE_MASK) { in update_delay()
3401 LOGV_IF(ENG_VERBOSE, "mFeatureActiveMask=%016llx", mFeatureActiveMask); in update_delay()
3402 if (mFeatureActiveMask & DMP_FEATURE_MASK) { in update_delay()
3430 LOGV_IF(ENG_VERBOSE, "mFeatureActiveMask=%016llx", mFeatureActiveMask); in update_delay()
3431 if (mFeatureActiveMask & DMP_FEATURE_MASK) { in update_delay()
3480 LOGV_IF(ENG_VERBOSE, "mFeatureActiveMask=%016llx", mFeatureActiveMask); in update_delay()
3481 if (mFeatureActiveMask & DMP_FEATURE_MASK) { in update_delay()
3496 LOGV_IF(ENG_VERBOSE, "mFeatureActiveMask=%016llx", mFeatureActiveMask); in update_delay()
3497 if (mFeatureActiveMask & DMP_FEATURE_MASK) { in update_delay()
3520 LOGV_IF(ENG_VERBOSE, "mFeatureActiveMask=%016llx", mFeatureActiveMask); in update_delay()
3521 if(mFeatureActiveMask & DMP_FEATURE_MASK) { in update_delay()
3962 if (!(mFeatureActiveMask & INV_DMP_BATCH_MODE)) { in buildMpuEvent()
4296 mFeatureActiveMask |= INV_DMP_DISPL_ORIENTATION; in enableDmpOrientation()
4297 LOGV_IF(ENG_VERBOSE, "mFeatureActiveMask=%016llx", mFeatureActiveMask); in enableDmpOrientation()
4299 mFeatureActiveMask &= ~INV_DMP_DISPL_ORIENTATION; in enableDmpOrientation()
4301 if (mFeatureActiveMask == 0) { in enableDmpOrientation()
4323 LOGV_IF(ENG_VERBOSE, "mFeatureActiveMask=%016llx", mFeatureActiveMask); in enableDmpOrientation()
4326 if (en || mEnabled || mFeatureActiveMask) { in enableDmpOrientation()
4431 return ((mFeatureActiveMask & INV_DMP_DISPL_ORIENTATION) ? 1 : 0); in checkDMPOrientation()
4446 if (mFeatureActiveMask & INV_DMP_BATCH_MODE) { in getDmpRate()
5477 return ((mFeatureActiveMask & INV_DMP_BATCH_MODE)? 1:0); in checkBatchEnabled()
5658 (mFeatureActiveMask & INV_DMP_PEDOMETER)) { in batch()
5673 (mFeatureActiveMask & INV_DMP_PEDOMETER)) { in batch()
5766 if ((mFeatureActiveMask == 0) && !(mEnabled & VIRTUAL_SENSOR_ALL_MASK)) { in batch()
5781 if (enabled_sensors || mFeatureActiveMask) { in batch()
5803 ((what == StepDetector) && !(mFeatureActiveMask & INV_DMP_PEDOMETER))) { in flush()
6006 mFeatureActiveMask &= ~INV_DMP_SIGNIFICANT_MOTION; in readDmpSignificantMotionEvents()
6008 if(mFeatureActiveMask == 0 || sensors == 0) { in readDmpSignificantMotionEvents()
6084 mFeatureActiveMask |= INV_DMP_SIGNIFICANT_MOTION; in enableDmpSignificantMotion()
6093 mFeatureActiveMask &= ~INV_DMP_SIGNIFICANT_MOTION; in enableDmpSignificantMotion()
6095 if (mFeatureActiveMask == 0) { in enableDmpSignificantMotion()
6118 if(en || enabled_sensors || mFeatureActiveMask) { in enableDmpSignificantMotion()
6215 if ((mFeatureActiveMask & INV_DMP_PED_QUATERNION) || in setBatchDataRates()
6216 (mFeatureActiveMask & INV_DMP_6AXIS_QUATERNION)) { in setBatchDataRates()