Lines Matching refs:mTrimmedSensorEventArr
1274 mTrimmedSensorEventArr = new TrimmedSensorEvent *[mBufSize]; in CircularBuffer()
1277 mTrimmedSensorEventArr[i] = new TrimmedSensorEvent(mSensorType); in CircularBuffer()
1282 TrimmedSensorEvent *curr_event = mTrimmedSensorEventArr[mNextInd]; in addEvent()
1303 if (TrimmedSensorEvent::isSentinel(*mTrimmedSensorEventArr[i])) { in printBuffer()
1310 result.appendFormat("%llu,", mTrimmedSensorEventArr[i]->mStepCounter); in printBuffer()
1313 result.appendFormat("%5.1f,", mTrimmedSensorEventArr[i]->mData[j]); in printBuffer()
1316 result.appendFormat("%lld %02d:%02d:%02d ", mTrimmedSensorEventArr[i]->mTimestamp, in printBuffer()
1317 mTrimmedSensorEventArr[i]->mHour, mTrimmedSensorEventArr[i]->mMin, in printBuffer()
1318 mTrimmedSensorEventArr[i]->mSec); in printBuffer()
1327 if (TrimmedSensorEvent::isSentinel(*mTrimmedSensorEventArr[lastEventInd])) { in populateLastEvent()
1332 event->timestamp = mTrimmedSensorEventArr[lastEventInd]->mTimestamp; in populateLastEvent()
1334 event->u64.step_counter = mTrimmedSensorEventArr[lastEventInd]->mStepCounter; in populateLastEvent()
1336 memcpy(event->data, mTrimmedSensorEventArr[lastEventInd]->mData, in populateLastEvent()
1344 delete mTrimmedSensorEventArr[i]; in ~CircularBuffer()
1346 delete [] mTrimmedSensorEventArr; in ~CircularBuffer()