Home | History | Annotate | Download | only in sensorservice

Lines Matching refs:numEventsDropped

1298             int numEventsDropped = count - remaningCacheSize;
1299 countFlushCompleteEventsLocked(mEventCache, numEventsDropped);
1300 // Drop the first "numEventsDropped" in the cache.
1301 memmove(mEventCache, &mEventCache[numEventsDropped],
1302 (mCacheSize - numEventsDropped) * sizeof(sensors_event_t));
1305 memcpy(&mEventCache[mCacheSize - numEventsDropped], scratch + remaningCacheSize,
1306 numEventsDropped * sizeof(sensors_event_t));
1461 sensors_event_t const* scratch, const int numEventsDropped) {
1462 ALOGD_IF(DEBUG_CONNECTIONS, "dropping %d events ", numEventsDropped);
1465 for (int j = 0; j < numEventsDropped; ++j) {