/aosp12/frameworks/layoutlib/bridge/tests/src/android/util/imagepool/ |
H A 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()
|
/aosp12/art/test/693-vdex-inmem-loader-evict/src/ |
H A D | Main.java | 43 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 D | ImagePoolStatsProdImpl.java | 37 public boolean fitsMaxCacheSize(int width, int height, long maxCacheSize) { in fitsMaxCacheSize() argument 39 return newTotal <= maxCacheSize; in fitsMaxCacheSize()
|
H A D | Bucket.java | 67 Orientation orientation, long maxCacheSize) { in BucketCreationMetaData() argument 73 mMaxCacheSize = maxCacheSize; in BucketCreationMetaData()
|
H A 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()
|
H A D | ImagePoolStats.java | 27 boolean fitsMaxCacheSize(int width, int height, long maxCacheSize); in fitsMaxCacheSize() argument
|
/aosp12/packages/services/Car/cpp/watchdog/server/tests/ |
H A D | IoPerfCollectionTest.cpp | 188 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 D | StatsCollector.cpp | 121 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 D | StatsCollector.h | 67 size_t maxCacheSize = 0; member
|
/aosp12/packages/services/Car/cpp/watchdog/server/src/ |
H A D | IoPerfCollection.cpp | 339 .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 D | IoPerfCollection.h | 120 size_t maxCacheSize = 0; // Maximum cache size for the collection. member
|
/aosp12/packages/modules/Wifi/service/java/com/android/server/wifi/ |
H A D | WifiNetworkScoreCache.java | 87 Context context, @Nullable CacheListener listener, int maxCacheSize) { in WifiNetworkScoreCache() argument 90 mCache = new LruCache<>(maxCacheSize); in WifiNetworkScoreCache()
|
H A D | WifiVendorHal.java | 855 out.max_scan_cache_size = cap.maxCacheSize; in getBgScanCapabilities()
|
/aosp12/frameworks/base/wifi/java/src/android/net/wifi/ |
H A D | WifiNetworkScoreCache.java | 84 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 D | RemoteViewsAdapter.java | 617 FixedSizeRemoteViewsCache(int maxCacheSize, Configuration configuration) { in FixedSizeRemoteViewsCache() argument 618 mMaxCount = maxCacheSize; in FixedSizeRemoteViewsCache()
|
/aosp12/hardware/interfaces/wifi/1.5/default/ |
H A D | hidl_struct_util.cpp | 591 hidl_caps->maxCacheSize = legacy_caps.max_scan_cache_size; in convertLegacyGscanCapabilitiesToHidl()
|
/aosp12/hardware/interfaces/wifi/1.0/ |
H A D | types.hal | 268 uint32_t maxCacheSize;
|
/aosp12/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
H A D | WifiVendorHalTest.java | 781 capabilities.maxCacheSize = 12; in testGetBgScanCapabilities()
|