Home
last modified time | relevance | path

Searched refs:maxCacheSize (Results 1 – 9 of 9) sorted by relevance

/frameworks/layoutlib/bridge/tests/src/android/util/imagepool/
DImagePoolHelperTest.java37 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/
DImagePoolStatsProdImpl.java37 public boolean fitsMaxCacheSize(int width, int height, long maxCacheSize) { in fitsMaxCacheSize() argument
39 return newTotal <= maxCacheSize; in fitsMaxCacheSize()
DBucket.java67 Orientation orientation, long maxCacheSize) { in BucketCreationMetaData() argument
73 mMaxCacheSize = maxCacheSize; in BucketCreationMetaData()
DImagePoolStats.java27 boolean fitsMaxCacheSize(int width, int height, long maxCacheSize); in fitsMaxCacheSize() argument
DImagePoolStatsDebugImpl.java50 public boolean fitsMaxCacheSize(int width, int height, long maxCacheSize) { in fitsMaxCacheSize() argument
51 return super.fitsMaxCacheSize(width, height, maxCacheSize); in fitsMaxCacheSize()
/frameworks/base/wifi/java/android/net/wifi/
DWifiNetworkScoreCache.java85 Context context, @Nullable CacheListener listener, int maxCacheSize) { in WifiNetworkScoreCache() argument
88 mCache = new LruCache<>(maxCacheSize); in WifiNetworkScoreCache()
/frameworks/base/core/java/android/widget/
DRemoteViewsAdapter.java615 FixedSizeRemoteViewsCache(int maxCacheSize, Configuration configuration) { in FixedSizeRemoteViewsCache() argument
616 mMaxCount = maxCacheSize; in FixedSizeRemoteViewsCache()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiVendorHal.java632 out.max_scan_cache_size = cap.maxCacheSize; in getBgScanCapabilities()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiVendorHalTest.java693 capabilities.maxCacheSize = 12; in testGetBgScanCapabilities()