Home
last modified time | relevance | path

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

/frameworks/native/services/sensorservice/
DSensorEventConnection.cpp37 mCacheSize(0), mMaxCacheSize(0), mTimeOfLastEventDrop(0), mEventsDropped(0), in SensorEventConnection()
93 mMaxCacheSize); in dump()
137 proto->write(MAX_CACHE_SIZE, int32_t(mMaxCacheSize)); in dump()
417 mMaxCacheSize = computeMaxCacheSizeLocked(); in sendEvents()
418 mEventCache = new sensors_event_t[mMaxCacheSize]; in sendEvents()
472 ALOGD_IF(DEBUG_CONNECTIONS, "reAllocateCacheLocked maxCacheSize=%d %d", mMaxCacheSize, in reAllocateCacheLocked()
478 mMaxCacheSize = new_cache_size; in reAllocateCacheLocked()
485 } else if (mCacheSize + count <= mMaxCacheSize) { in appendEventsToCacheLocked()
494 int freeSpace = mMaxCacheSize - mCacheSize; in appendEventsToCacheLocked()
500 int newEventsToDrop = std::max(0, count - mMaxCacheSize); in appendEventsToCacheLocked()
[all …]
DSensorEventConnection.h174 int mCacheSize, mMaxCacheSize; variable
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/
DClientCompositionRequestCache.h42 explicit ClientCompositionRequestCache(uint32_t cacheSize) : mMaxCacheSize(cacheSize){}; in ClientCompositionRequestCache()
51 uint32_t mMaxCacheSize;
/frameworks/layoutlib/bridge/src/android/util/imagepool/
DBucket.java64 public final long mMaxCacheSize; field in Bucket.BucketCreationMetaData
73 mMaxCacheSize = maxCacheSize; in BucketCreationMetaData()
DImagePoolHelper.java114 metaData.mWidth, metaData.mHeight, metaData.mMaxCacheSize)) { in populateBucket()
/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DClientCompositionRequestCache.cpp111 if (mCache.size() >= mMaxCacheSize) { in add()