Searched refs:mEventCache (Results 1 – 2 of 2) sorted by relevance
/frameworks/native/services/sensorservice/ |
D | SensorService.cpp | 1036 mDead(false), mEventCache(NULL), mCacheSize(0), mMaxCacheSize(0) { in SensorEventConnection() 1047 if (mEventCache != NULL) { in ~SensorEventConnection() 1048 delete mEventCache; in ~SensorEventConnection() 1283 memcpy(&mEventCache[mCacheSize], scratch, count * sizeof(sensors_event_t)); in sendEvents() 1295 memcpy(&mEventCache[mCacheSize], scratch, in sendEvents() 1299 countFlushCompleteEventsLocked(mEventCache, numEventsDropped); in sendEvents() 1301 memmove(mEventCache, &mEventCache[numEventsDropped], in sendEvents() 1305 memcpy(&mEventCache[mCacheSize - numEventsDropped], scratch + remaningCacheSize, in sendEvents() 1335 if (mEventCache == NULL) { in sendEvents() 1337 mEventCache = new sensors_event_t[mMaxCacheSize]; in sendEvents() [all …]
|
D | SensorService.h | 163 sensors_event_t *mEventCache; variable
|