Searched refs:mMaxCacheSize (Results 1 – 4 of 4) sorted by relevance
/frameworks/native/services/sensorservice/ |
D | SensorEventConnection.cpp | 35 mCacheSize(0), mMaxCacheSize(0), mTimeOfLastEventDrop(0), mEventsDropped(0), in SensorEventConnection() 91 mMaxCacheSize); in dump() 359 mMaxCacheSize = computeMaxCacheSizeLocked(); in sendEvents() 360 mEventCache = new sensors_event_t[mMaxCacheSize]; in sendEvents() 409 ALOGD_IF(DEBUG_CONNECTIONS, "reAllocateCacheLocked maxCacheSize=%d %d", mMaxCacheSize, in reAllocateCacheLocked() 415 mMaxCacheSize = new_cache_size; in reAllocateCacheLocked() 422 } else if (mCacheSize + count <= mMaxCacheSize) { in appendEventsToCacheLocked() 431 int freeSpace = mMaxCacheSize - mCacheSize; in appendEventsToCacheLocked() 437 int newEventsToDrop = std::max(0, count - mMaxCacheSize); in appendEventsToCacheLocked() 440 int eventsToCopy = std::min(mMaxCacheSize, count); in appendEventsToCacheLocked() [all …]
|
D | SensorEventConnection.h | 175 int mCacheSize, mMaxCacheSize; variable
|
/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()
|