Searched refs:maxCacheSize (Results 1 – 10 of 10) sorted by relevance
/frameworks/layoutlib/bridge/tests/src/android/util/imagepool/ |
D | ImagePoolHelperTest.java | 37 int maxCacheSize = width * height * 4 * 5; // can fit 5 width | height buffer in testGetBufferedImage() local 41 .NONE, maxCacheSize); in testGetBufferedImage() 53 int maxCacheSize = width * height * 4 * numberOfCopiesToRequestInBucket; in testGetBufferedImageRecurse() local 61 .NONE, maxCacheSize); in testGetBufferedImageRecurse() 73 int maxCacheSize = width * height * 4 * numberOfCopiesToRequestInBucket / 2; in testRecurseThenHitCacheLimit() local 81 .NONE, maxCacheSize); in testRecurseThenHitCacheLimit() 93 int maxCacheSize = width * height * 4 * numberOfCopiesToRequestInBucket / 2; in testBucketHasImageToReturn() local 103 .NONE, maxCacheSize); in testBucketHasImageToReturn()
|
/frameworks/layoutlib/bridge/src/android/util/imagepool/ |
D | ImagePoolStatsProdImpl.java | 37 public boolean fitsMaxCacheSize(int width, int height, long maxCacheSize) { in fitsMaxCacheSize() argument 39 return newTotal <= maxCacheSize; in fitsMaxCacheSize()
|
D | Bucket.java | 67 Orientation orientation, long maxCacheSize) { in BucketCreationMetaData() argument 73 mMaxCacheSize = maxCacheSize; in BucketCreationMetaData()
|
D | ImagePoolStats.java | 27 boolean fitsMaxCacheSize(int width, int height, long maxCacheSize); in fitsMaxCacheSize() argument
|
D | ImagePoolStatsDebugImpl.java | 50 public boolean fitsMaxCacheSize(int width, int height, long maxCacheSize) { in fitsMaxCacheSize() argument 51 return super.fitsMaxCacheSize(width, height, maxCacheSize); in fitsMaxCacheSize()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiNetworkScoreCache.java | 87 Context context, @Nullable CacheListener listener, int maxCacheSize) { in WifiNetworkScoreCache() argument 90 mCache = new LruCache<>(maxCacheSize); in WifiNetworkScoreCache()
|
D | WifiVendorHal.java | 676 out.max_scan_cache_size = cap.maxCacheSize; in getBgScanCapabilities()
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | WifiNetworkScoreCache.java | 84 Context context, @Nullable CacheListener listener, int maxCacheSize) { in WifiNetworkScoreCache() argument 87 mCache = new LruCache<>(maxCacheSize); in WifiNetworkScoreCache()
|
/frameworks/base/core/java/android/widget/ |
D | RemoteViewsAdapter.java | 615 FixedSizeRemoteViewsCache(int maxCacheSize, Configuration configuration) { in FixedSizeRemoteViewsCache() argument 616 mMaxCount = maxCacheSize; in FixedSizeRemoteViewsCache()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiVendorHalTest.java | 763 capabilities.maxCacheSize = 12; in testGetBgScanCapabilities()
|