Home
last modified time | relevance | path

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

/frameworks/native/services/sensorservice/
DSensorEventConnection.cpp335 int numEventsDropped = count - remaningCacheSize; in sendEvents() local
336 countFlushCompleteEventsLocked(mEventCache, numEventsDropped); in sendEvents()
338 memmove(mEventCache, &mEventCache[numEventsDropped], in sendEvents()
339 (mCacheSize - numEventsDropped) * sizeof(sensors_event_t)); in sendEvents()
342 memcpy(&mEventCache[mCacheSize - numEventsDropped], scratch + remaningCacheSize, in sendEvents()
343 numEventsDropped * sizeof(sensors_event_t)); in sendEvents()
517 sensors_event_t const* scratch, const int numEventsDropped) { in countFlushCompleteEventsLocked() argument
518 ALOGD_IF(DEBUG_CONNECTIONS, "dropping %d events ", numEventsDropped); in countFlushCompleteEventsLocked()
521 for (int j = 0; j < numEventsDropped; ++j) { in countFlushCompleteEventsLocked()
DSensorEventConnection.h86 void countFlushCompleteEventsLocked(sensors_event_t const* scratch, int numEventsDropped);