Home
last modified time | relevance | path

Searched refs:mMaxCacheSize (Results 1 – 4 of 4) sorted by relevance

/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/
DClientCompositionRequestCache.h42 explicit ClientCompositionRequestCache(uint32_t cacheSize) : mMaxCacheSize(cacheSize){}; in ClientCompositionRequestCache()
51 uint32_t mMaxCacheSize;
/frameworks/native/services/sensorservice/
DSensorEventConnection.cpp45 mCacheSize(0), mMaxCacheSize(0), mTimeOfLastEventDrop(0), mEventsDropped(0), in SensorEventConnection()
94 mMaxCacheSize); in dump()
138 proto->write(MAX_CACHE_SIZE, int32_t(mMaxCacheSize)); in dump()
421 mMaxCacheSize = computeMaxCacheSizeLocked(); in sendEvents()
422 mEventCache = new sensors_event_t[mMaxCacheSize]; in sendEvents()
491 ALOGD_IF(DEBUG_CONNECTIONS, "reAllocateCacheLocked maxCacheSize=%d %d", mMaxCacheSize, in reAllocateCacheLocked()
497 mMaxCacheSize = new_cache_size; in reAllocateCacheLocked()
504 } else if (mCacheSize + count <= mMaxCacheSize) { in appendEventsToCacheLocked()
513 int freeSpace = mMaxCacheSize - mCacheSize; in appendEventsToCacheLocked()
519 int newEventsToDrop = std::max(0, count - mMaxCacheSize); in appendEventsToCacheLocked()
[all …]
DSensorEventConnection.h183 int mCacheSize, mMaxCacheSize; variable
/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DClientCompositionRequestCache.cpp109 if (mCache.size() >= mMaxCacheSize) { in add()