Searched refs:mCacheSize (Results 1 – 2 of 2) sorted by relevance
/frameworks/native/services/sensorservice/ |
D | SensorEventConnection.cpp | 35 mCacheSize(0), mMaxCacheSize(0), mTimeOfLastEventDrop(0), mEventsDropped(0), in SensorEventConnection() 90 "max cache size %d\n", mPackageName.string(), mWakeLockRefCount, mUid, mCacheSize, in dump() 107 mEventsReceived - (mEventsSentFromCache + mEventsSent + mCacheSize), in dump() 187 if (mCacheSize > 0) looper_flags |= ALOOPER_EVENT_OUTPUT; in updateLooperRegistrationLocked() 324 if (mCacheSize != 0) { in sendEvents() 361 mCacheSize = 0; in sendEvents() 406 memcpy(eventCache_new, mEventCache, mCacheSize * sizeof(sensors_event_t)); in reAllocateCacheLocked() 407 memcpy(&eventCache_new[mCacheSize], scratch, count * sizeof(sensors_event_t)); in reAllocateCacheLocked() 414 mCacheSize += count; in reAllocateCacheLocked() 422 } else if (mCacheSize + count <= mMaxCacheSize) { in appendEventsToCacheLocked() [all …]
|
D | SensorEventConnection.h | 175 int mCacheSize, mMaxCacheSize; variable
|