HomeSort by relevance Sort by last modified time
    Searched refs:numEventsDropped (Results 1 - 2 of 2) sorted by null

  /frameworks/native/services/sensorservice/
SensorEventConnection.cpp 304 int numEventsDropped = count - remaningCacheSize;
305 countFlushCompleteEventsLocked(mEventCache, numEventsDropped);
306 // Drop the first "numEventsDropped" in the cache.
307 memmove(mEventCache, &mEventCache[numEventsDropped],
308 (mCacheSize - numEventsDropped) * sizeof(sensors_event_t));
311 memcpy(&mEventCache[mCacheSize - numEventsDropped], scratch + remaningCacheSize,
312 numEventsDropped * sizeof(sensors_event_t));
472 sensors_event_t const* scratch, const int numEventsDropped) {
473 ALOGD_IF(DEBUG_CONNECTIONS, "dropping %d events ", numEventsDropped);
476 for (int j = 0; j < numEventsDropped; ++j)
    [all...]
SensorEventConnection.h 80 void countFlushCompleteEventsLocked(sensors_event_t const* scratch, int numEventsDropped);

Completed in 49 milliseconds