Searched refs:mMaxCacheSize (Results 1 – 4 of 4) sorted by relevance
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/ |
D | ClientCompositionRequestCache.h | 42 explicit ClientCompositionRequestCache(uint32_t cacheSize) : mMaxCacheSize(cacheSize){}; in ClientCompositionRequestCache() 51 uint32_t mMaxCacheSize;
|
/frameworks/native/services/sensorservice/ |
D | SensorEventConnection.cpp | 45 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 …]
|
D | SensorEventConnection.h | 183 int mCacheSize, mMaxCacheSize; variable
|
/frameworks/native/services/surfaceflinger/CompositionEngine/src/ |
D | ClientCompositionRequestCache.cpp | 109 if (mCache.size() >= mMaxCacheSize) { in add()
|