Searched refs:cachedEventsToDrop (Results 1 – 1 of 1) sorted by relevance
512 int cachedEventsToDrop = std::min(mCacheSize, count - freeSpace); in appendEventsToCacheLocked() local523 " dropped", cachedEventsToDrop, mCacheSize, mMaxCacheSize, eventsToCopy, in appendEventsToCacheLocked()529 mEventsDropped += cachedEventsToDrop + newEventsToDrop; in appendEventsToCacheLocked()533 countFlushCompleteEventsLocked(mEventCache, cachedEventsToDrop); in appendEventsToCacheLocked()538 memmove(mEventCache, &mEventCache[cachedEventsToDrop], in appendEventsToCacheLocked()539 (mCacheSize - cachedEventsToDrop) * sizeof(sensors_event_t)); in appendEventsToCacheLocked()541 mCacheSize -= cachedEventsToDrop; in appendEventsToCacheLocked()