Lines Matching defs:batchMode
2004 LOGV_IF(EXTRA_VERBOSE, "HAL:MPL:batchmode timeout is zero");
2249 int batchMode = computeBatchSensorMask(mEnabled, mBatchEnabled);
2251 if(((int)mOldBatchEnabledMask != batchMode) || batchMode) {
2252 setBatch(batchMode,0);
2254 mOldBatchEnabledMask = batchMode;
2342 if (!batchMode && (resetDataRates() < 0)) {
2358 int batchMode = 1;
2409 "HAL:computeBatchSensorMask: batchMode=%d, mBatchEnabled=%0x",
2410 batchMode, tempBatchSensor);
2411 return (batchMode && tempBatchSensor);
2544 /* take the minimum batchmode timeout */
3059 int batchMode = 0;
3099 batchMode = computeBatchSensorMask(mEnabled, mBatchEnabled);
3101 if(((int)mOldBatchEnabledMask != batchMode) || batchMode) {
3102 setBatch(batchMode,1);
3104 mOldBatchEnabledMask = batchMode;
5885 int batchMode = timeout > 0 ? 1 : 0;
5972 batchMode = 0;
5974 batchMode = 1;
5983 if (batchMode == 1) {
6042 if(((int)mOldBatchEnabledMask != batchMode) || batchMode) {
6043 calcBatchTimeout(batchMode, &tmp_batch_timeout);
6053 if (batchMode == 1) {
6101 if(((int)mOldBatchEnabledMask != batchMode) || batchMode) {
6104 mOldBatchEnabledMask = batchMode;
6109 LOGV_IF(ENG_VERBOSE, "batchMode =%d, featureMask=0x%x, mEnabled=%d",
6110 batchMode, featureMask, mEnabled);
6121 if ((batchMode == 1) && (featureMask & INV_DMP_PED_STANDALONE) &&
6135 if ((batchMode == 1) && (featureMask & INV_DMP_PED_QUATERNION) &&
6157 if ((batchMode == 1) && ((featureMask & INV_DMP_PED_INDICATOR))) {
6164 if ((batchMode == 1) && (featureMask & INV_DMP_6AXIS_QUATERNION) &&
6196 writeBatchTimeout(batchMode, tmp_batch_timeout);
6204 if (batchMode == 1) {
6288 int MPLSensor::selectAndSetQuaternion(int batchMode, int mEnabled, long long featureMask)
6296 if (batchMode == 1) {