Home
last modified time | relevance | path

Searched refs:newEventsToDrop (Results 1 – 1 of 1) sorted by relevance

/frameworks/native/services/sensorservice/
DSensorEventConnection.cpp437 int newEventsToDrop = std::max(0, count - mMaxCacheSize); in appendEventsToCacheLocked() local
451 mEventsDropped += cachedEventsToDrop + newEventsToDrop; in appendEventsToCacheLocked()
456 countFlushCompleteEventsLocked(events, newEventsToDrop); in appendEventsToCacheLocked()
466 memcpy(&mEventCache[mCacheSize], &events[newEventsToDrop], in appendEventsToCacheLocked()