Searched refs:cachedEventsToDrop (Results 1 – 1 of 1) sorted by relevance
516 int cachedEventsToDrop = std::min(mCacheSize, count - freeSpace); in appendEventsToCacheLocked() local527 " dropped", cachedEventsToDrop, mCacheSize, mMaxCacheSize, eventsToCopy, in appendEventsToCacheLocked()533 mEventsDropped += cachedEventsToDrop + newEventsToDrop; in appendEventsToCacheLocked()537 countFlushCompleteEventsLocked(mEventCache, cachedEventsToDrop); in appendEventsToCacheLocked()542 memmove(mEventCache, &mEventCache[cachedEventsToDrop], in appendEventsToCacheLocked()543 (mCacheSize - cachedEventsToDrop) * sizeof(sensors_event_t)); in appendEventsToCacheLocked()545 mCacheSize -= cachedEventsToDrop; in appendEventsToCacheLocked()