Searched refs:mCacheSize (Results 1 – 2 of 2) sorted by relevance
/frameworks/native/services/sensorservice/ |
D | SensorEventConnection.cpp | 44 mCacheSize(0), mMaxCacheSize(0), mTimeOfLastEventDrop(0), mEventsDropped(0), in SensorEventConnection() 94 "max cache size %d\n", mPackageName.string(), mWakeLockRefCount, mUid, mCacheSize, in dump() 111 mEventsReceived - (mEventsSentFromCache + mEventsSent + mCacheSize), in dump() 138 proto->write(CACHE_SIZE, int32_t(mCacheSize)); in dump() 156 mCacheSize)); in dump() 244 if (mCacheSize > 0) looper_flags |= ALOOPER_EVENT_OUTPUT; in updateLooperRegistrationLocked() 384 if (mCacheSize != 0) { in sendEvents() 421 mCacheSize = 0; in sendEvents() 484 memcpy(eventCache_new, mEventCache, mCacheSize * sizeof(sensors_event_t)); in reAllocateCacheLocked() 485 memcpy(&eventCache_new[mCacheSize], scratch, count * sizeof(sensors_event_t)); in reAllocateCacheLocked() [all …]
|
D | SensorEventConnection.h | 183 int mCacheSize, mMaxCacheSize; variable
|