Home
last modified time | relevance | path

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

/aosp12/frameworks/layoutlib/bridge/tests/src/android/util/imagepool/
H A 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()
/aosp12/art/test/693-vdex-inmem-loader-evict/src/
H A DMain.java43 final int maxCacheSize = getVdexCacheSize(); in main() local
45 if (numDexFiles <= maxCacheSize) { in main()
55 check(Math.min(i + 1, maxCacheSize), getCurrentCacheSize(), in main()
61 for (int i = 0; i < maxCacheSize; ++i) { in main()
65 check(maxCacheSize, getCurrentCacheSize(), "Unexpected number of cache entries"); in main()
/aosp12/frameworks/layoutlib/bridge/src/android/util/imagepool/
H A DImagePoolStatsProdImpl.java37 public boolean fitsMaxCacheSize(int width, int height, long maxCacheSize) { in fitsMaxCacheSize() argument
39 return newTotal <= maxCacheSize; in fitsMaxCacheSize()
H A DBucket.java67 Orientation orientation, long maxCacheSize) { in BucketCreationMetaData() argument
73 mMaxCacheSize = maxCacheSize; in BucketCreationMetaData()
H A DImagePoolStatsDebugImpl.java50 public boolean fitsMaxCacheSize(int width, int height, long maxCacheSize) { in fitsMaxCacheSize() argument
51 return super.fitsMaxCacheSize(width, height, maxCacheSize); in fitsMaxCacheSize()
H A DImagePoolStats.java27 boolean fitsMaxCacheSize(int width, int height, long maxCacheSize); in fitsMaxCacheSize() argument
/aosp12/packages/services/Car/cpp/watchdog/server/tests/
H A DIoPerfCollectionTest.cpp188 return ExplainMatchResult(AllOf(Field("maxCacheSize", &CollectionInfo::maxCacheSize,
189 Eq(expected.maxCacheSize)),
461 .maxCacheSize = std::numeric_limits<std::size_t>::max(), in TEST_F()
491 .maxCacheSize = static_cast<size_t>(sysprop::periodicCollectionBufferSize().value_or( in TEST_F()
522 .maxCacheSize = std::numeric_limits<std::size_t>::max(), in TEST_F()
588 .maxCacheSize = std::numeric_limits<std::size_t>::max(), in TEST_F()
644 .maxCacheSize = static_cast<size_t>(sysprop::periodicCollectionBufferSize().value_or( in TEST_F()
690 .maxCacheSize = static_cast<size_t>(sysprop::periodicCollectionBufferSize().value_or( in TEST_F()
/aosp12/packages/services/Car/cpp/evs/manager/1.1/stats/
H A DStatsCollector.cpp121 if (info->maxCacheSize < 1) { in handleCollectionEvent()
163 if (info->records[id].history.size() > info->maxCacheSize) { in collectLocked()
189 .maxCacheSize = kPeriodicCollectionCacheSize, in startCollection()
302 .maxCacheSize = std::numeric_limits<std::size_t>::max(), in startCustomCollection()
H A DStatsCollector.h67 size_t maxCacheSize = 0; member
/aosp12/packages/services/Car/cpp/watchdog/server/src/
H A DIoPerfCollection.cpp339 .maxCacheSize = std::numeric_limits<std::size_t>::max(), in init()
343 .maxCacheSize = periodicCollectionBufferSize, in init()
347 .maxCacheSize = std::numeric_limits<std::size_t>::max(), in init()
389 .maxCacheSize = std::numeric_limits<std::size_t>::max(), in onCustomCollectionDump()
451 if (collectionInfo->maxCacheSize == 0) { in processLocked()
459 if (collectionInfo->records.size() > collectionInfo->maxCacheSize) { in processLocked()
H A DIoPerfCollection.h120 size_t maxCacheSize = 0; // Maximum cache size for the collection. member
/aosp12/packages/modules/Wifi/service/java/com/android/server/wifi/
H A DWifiNetworkScoreCache.java87 Context context, @Nullable CacheListener listener, int maxCacheSize) { in WifiNetworkScoreCache() argument
90 mCache = new LruCache<>(maxCacheSize); in WifiNetworkScoreCache()
H A DWifiVendorHal.java855 out.max_scan_cache_size = cap.maxCacheSize; in getBgScanCapabilities()
/aosp12/frameworks/base/wifi/java/src/android/net/wifi/
H A DWifiNetworkScoreCache.java84 Context context, @Nullable CacheListener listener, int maxCacheSize) { in WifiNetworkScoreCache() argument
87 mCache = new LruCache<>(maxCacheSize); in WifiNetworkScoreCache()
/aosp12/frameworks/base/core/java/android/widget/
H A DRemoteViewsAdapter.java617 FixedSizeRemoteViewsCache(int maxCacheSize, Configuration configuration) { in FixedSizeRemoteViewsCache() argument
618 mMaxCount = maxCacheSize; in FixedSizeRemoteViewsCache()
/aosp12/hardware/interfaces/wifi/1.5/default/
H A Dhidl_struct_util.cpp591 hidl_caps->maxCacheSize = legacy_caps.max_scan_cache_size; in convertLegacyGscanCapabilitiesToHidl()
/aosp12/hardware/interfaces/wifi/1.0/
H A Dtypes.hal268 uint32_t maxCacheSize;
/aosp12/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
H A DWifiVendorHalTest.java781 capabilities.maxCacheSize = 12; in testGetBgScanCapabilities()