Home
last modified time | relevance | path

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

/frameworks/native/services/sensorservice/
DSensorService.cpp1036 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 …]
DSensorService.h163 sensors_event_t *mEventCache; variable