Searched refs:mMaxCacheSize (Results 1 – 6 of 6) sorted by relevance
/frameworks/native/services/sensorservice/ |
D | SensorEventConnection.cpp | 37 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 …]
|
D | SensorEventConnection.h | 174 int mCacheSize, mMaxCacheSize; variable
|
/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/layoutlib/bridge/src/android/util/imagepool/ |
D | Bucket.java | 64 public final long mMaxCacheSize; field in Bucket.BucketCreationMetaData 73 mMaxCacheSize = maxCacheSize; in BucketCreationMetaData()
|
D | ImagePoolHelper.java | 114 metaData.mWidth, metaData.mHeight, metaData.mMaxCacheSize)) { in populateBucket()
|
/frameworks/native/services/surfaceflinger/CompositionEngine/src/ |
D | ClientCompositionRequestCache.cpp | 111 if (mCache.size() >= mMaxCacheSize) { in add()
|