Home
last modified time | relevance | path

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

/frameworks/native/services/sensorservice/
DSensorEventConnection.cpp480 sensors_event_t *eventCache_new; in reAllocateCacheLocked() local
483 eventCache_new = new sensors_event_t[new_cache_size]; in reAllocateCacheLocked()
484 memcpy(eventCache_new, mEventCache, mCacheSize * sizeof(sensors_event_t)); in reAllocateCacheLocked()
485 memcpy(&eventCache_new[mCacheSize], scratch, count * sizeof(sensors_event_t)); in reAllocateCacheLocked()
491 mEventCache = eventCache_new; in reAllocateCacheLocked()