Searched refs:mEventCache (Results 1 – 2 of 2) sorted by relevance
/frameworks/native/services/sensorservice/ |
D | SensorEventConnection.cpp | 44 mDead(false), mDataInjectionMode(isDataInjectionMode), mEventCache(nullptr), in SensorEventConnection() 59 delete[] mEventCache; in ~SensorEventConnection() 420 if (mEventCache == nullptr) { in sendEvents() 422 mEventCache = new sensors_event_t[mMaxCacheSize]; in sendEvents() 488 memcpy(eventCache_new, mEventCache, mCacheSize * sizeof(sensors_event_t)); in reAllocateCacheLocked() 494 delete[] mEventCache; in reAllocateCacheLocked() 495 mEventCache = eventCache_new; in reAllocateCacheLocked() 506 memcpy(&mEventCache[mCacheSize], events, count * sizeof(sensors_event_t)); in appendEventsToCacheLocked() 537 countFlushCompleteEventsLocked(mEventCache, cachedEventsToDrop); in appendEventsToCacheLocked() 542 memmove(mEventCache, &mEventCache[cachedEventsToDrop], in appendEventsToCacheLocked() [all …]
|
D | SensorEventConnection.h | 182 sensors_event_t *mEventCache; variable
|