Home
last modified time | relevance | path

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

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