Searched refs:mEventCache (Results 1 – 2 of 2) sorted by relevance
/frameworks/native/services/sensorservice/ |
D | SensorEventConnection.cpp | 34 mDead(false), mDataInjectionMode(isDataInjectionMode), mEventCache(NULL), in SensorEventConnection() 58 if (mEventCache != NULL) { in destroy() 59 delete mEventCache; in destroy() 319 memcpy(&mEventCache[mCacheSize], scratch, count * sizeof(sensors_event_t)); in sendEvents() 332 memcpy(&mEventCache[mCacheSize], scratch, in sendEvents() 336 countFlushCompleteEventsLocked(mEventCache, numEventsDropped); in sendEvents() 338 memmove(mEventCache, &mEventCache[numEventsDropped], in sendEvents() 342 memcpy(&mEventCache[mCacheSize - numEventsDropped], scratch + remaningCacheSize, in sendEvents() 376 if (mEventCache == NULL) { in sendEvents() 378 mEventCache = new sensors_event_t[mMaxCacheSize]; in sendEvents() [all …]
|
D | SensorEventConnection.h | 162 sensors_event_t *mEventCache; variable
|