Searched refs:cachedEventsToDrop (Results 1 – 1 of 1) sorted by relevance
434 int cachedEventsToDrop = std::min(mCacheSize, count - freeSpace); in appendEventsToCacheLocked() local445 " dropped", cachedEventsToDrop, mCacheSize, mMaxCacheSize, eventsToCopy, in appendEventsToCacheLocked()451 mEventsDropped += cachedEventsToDrop + newEventsToDrop; in appendEventsToCacheLocked()455 countFlushCompleteEventsLocked(mEventCache, cachedEventsToDrop); in appendEventsToCacheLocked()460 memmove(mEventCache, &mEventCache[cachedEventsToDrop], in appendEventsToCacheLocked()461 (mCacheSize - cachedEventsToDrop) * sizeof(sensors_event_t)); in appendEventsToCacheLocked()463 mCacheSize -= cachedEventsToDrop; in appendEventsToCacheLocked()