Lines Matching refs:numEventsDropped
304 int numEventsDropped = count - remaningCacheSize;
305 countFlushCompleteEventsLocked(mEventCache, numEventsDropped);
306 // Drop the first "numEventsDropped" in the cache.
307 memmove(mEventCache, &mEventCache[numEventsDropped],
308 (mCacheSize - numEventsDropped) * sizeof(sensors_event_t));
311 memcpy(&mEventCache[mCacheSize - numEventsDropped], scratch + remaningCacheSize,
312 numEventsDropped * sizeof(sensors_event_t));
472 sensors_event_t const* scratch, const int numEventsDropped) {
473 ALOGD_IF(DEBUG_CONNECTIONS, "dropping %d events ", numEventsDropped);
476 for (int j = 0; j < numEventsDropped; ++j) {