Home
last modified time | relevance | path

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

1234567

/aosp_15_r20/external/jimfs/jimfs/src/main/java/com/google/common/jimfs/
H A DConfiguration.java230 final long maxCacheSize; field in Configuration
254 this.maxCacheSize = builder.maxCacheSize; in Configuration()
292 if (maxCacheSize != Builder.DEFAULT_MAX_CACHE_SIZE) { in toString()
293 helper.add("maxCacheSize", maxCacheSize); in toString()
338 private long maxCacheSize = DEFAULT_MAX_CACHE_SIZE; field in Configuration.Builder
365 this.maxCacheSize = configuration.maxCacheSize; in Builder()
500 public Builder setMaxCacheSize(long maxCacheSize) { in setMaxCacheSize() argument
501 checkArgument(maxCacheSize >= 0, "maxCacheSize (%s) may not be negative", maxCacheSize); in setMaxCacheSize()
502 this.maxCacheSize = maxCacheSize; in setMaxCacheSize()
H A DHeapDisk.java60 config.maxCacheSize == -1 ? maxBlockCount : toBlockCount(config.maxCacheSize, blockSize); in HeapDisk()
/aosp_15_r20/out/soong/.intermediates/hardware/interfaces/wifi/1.0/android.hardware.wifi-V1.0-java_gen_java/gen/srcs/android/hardware/wifi/V1_0/
DStaBackgroundScanCapabilities.java8 public int maxCacheSize = 0; field in StaBackgroundScanCapabilities
35 if (this.maxCacheSize != other.maxCacheSize) { in equals()
53 android.os.HidlSupport.deepHashCode(this.maxCacheSize), in hashCode()
64 builder.append(this.maxCacheSize); in toString()
103 maxCacheSize = _hidl_blob.getInt32(_hidl_offset + 0); in readEmbeddedFromParcel()
134 _hidl_blob.putInt32(_hidl_offset + 0, maxCacheSize); in writeEmbeddedToBlob()
/aosp_15_r20/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()
/aosp_15_r20/out/soong/.intermediates/hardware/interfaces/wifi/aidl/android.hardware.wifi-V3-java-source/gen/android/hardware/wifi/
DStaBackgroundScanCapabilities.java14 public int maxCacheSize = 0; field in StaBackgroundScanCapabilities
42 _aidl_parcel.writeInt(maxCacheSize); in writeToParcel()
58 maxCacheSize = _aidl_parcel.readInt(); in readFromParcel()
/aosp_15_r20/external/jimfs/jimfs/src/test/java/com/google/common/jimfs/
H A DConfigurationTest.java69 assertThat(config.maxCacheSize).isEqualTo(-1); in testDefaultUnixConfiguration()
103 assertThat(config.maxCacheSize).isEqualTo(-1); in testDefaultOsXConfiguration()
142 assertThat(config.maxCacheSize).isEqualTo(-1); in testDefaultWindowsConfiguration()
197 assertThat(config.maxCacheSize).isEqualTo(50); in testBuilder()
257 assertThat(config.maxCacheSize).isEqualTo(-1); in testToBuilder()
/aosp_15_r20/packages/services/Car/cpp/evs/manager/1.1/stats/
DStatsCollector.cpp117 if (info->maxCacheSize < 1) { in handleCollectionEvent()
155 if (info->records[id].history.size() > info->maxCacheSize) { in collectLocked()
178 .maxCacheSize = kPeriodicCollectionCacheSize, in startCollection()
284 .maxCacheSize = std::numeric_limits<std::size_t>::max(), in startCustomCollection()
DStatsCollector.h61 size_t maxCacheSize = 0; member
/aosp_15_r20/packages/services/Car/cpp/evs/manager/aidl/stats/src/
DStatsCollector.cpp116 if (info->maxCacheSize < 1) { in handleCollectionEvent()
154 if (info->records[id].history.size() > info->maxCacheSize) { in collectLocked()
178 .maxCacheSize = kPeriodicCollectionCacheSize, in startCollection()
288 .maxCacheSize = std::numeric_limits<std::size_t>::max(), in startCustomCollection()
/aosp_15_r20/external/aws-sdk-java-v2/utils/src/main/java/software/amazon/awssdk/utils/cache/lru/
H A DLruCache.java51 private final int maxCacheSize; field in LruCache
59 this.maxCacheSize = customSize != null ? customSize : DEFAULT_SIZE; in LruCache()
142 if (size() > maxCacheSize) { in addToQueue()
/aosp_15_r20/external/skia/platform_tools/android/apps/skottie/skottielib/src/main/java/org/skia/skottie/
H A DSkottieRunner.java275 public void setMaxCacheSize(int maxCacheSize) { in setMaxCacheSize() argument
276 nSetMaxCacheSize(maxCacheSize, getNativeProxy()); in setMaxCacheSize()
282 private static native void nSetMaxCacheSize(int maxCacheSize, long mNativeProxy); in nSetMaxCacheSize() argument
H A DSkottieView.java220 static public void setMaxCacheSize(int maxCacheSize) { in setMaxCacheSize() argument
221 SkottieRunner.getInstance().setMaxCacheSize(maxCacheSize); in setMaxCacheSize()
/aosp_15_r20/packages/services/Car/cpp/watchdog/server/src/
DPerformanceProfiler.cpp652 StringAppendF(&buffer, kCollectionTitle, duration, maxCacheSize, records.size()); in toString()
681 .maxCacheSize = std::numeric_limits<std::size_t>::max(), in init()
685 .maxCacheSize = periodicCollectionBufferSize, in init()
689 .maxCacheSize = std::numeric_limits<std::size_t>::max(), in init()
693 .maxCacheSize = std::numeric_limits<std::size_t>::max(), in init()
1021 .maxCacheSize = std::numeric_limits<std::size_t>::max(), in onCustomCollectionDump()
1096 .maxCacheSize = std::numeric_limits<std::size_t>::max(), in onUserSwitchCollection()
1149 if (collectionInfo->maxCacheSize == 0) { in processLocked()
1172 if (collectionInfo->records.size() >= collectionInfo->maxCacheSize) { in processLocked()
DPerformanceProfiler.h214 size_t maxCacheSize = 0; // Maximum cache size for the collection. member
/aosp_15_r20/external/skia/platform_tools/android/apps/skottie/skottielib/src/main/cpp/
H A Dnative-lib.cpp124 Java_org_skia_skottie_SkottieRunner_nSetMaxCacheSize(JNIEnv *env, jclass clazz, jint maxCacheSize, in Java_org_skia_skottie_SkottieRunner_nSetMaxCacheSize() argument
131 skottie->mDContext->setResourceCacheLimit(maxCacheSize); in Java_org_skia_skottie_SkottieRunner_nSetMaxCacheSize()
/aosp_15_r20/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()
/aosp_15_r20/packages/services/Car/cpp/watchdog/server/tests/
DPerformanceProfilerTest.cpp371 return ExplainMatchResult(AllOf(Field("maxCacheSize", &CollectionInfo::maxCacheSize,
372 Eq(expected.maxCacheSize)),
383 Field("maxCacheSize", &UserSwitchCollectionInfo::maxCacheSize,
384 Eq(expected.maxCacheSize)),
1148 mCollector->mPeriodicCollection.maxCacheSize = bufferSize; in init()
1321 CollectionInfo{.maxCacheSize = maxCollectionCacheSize, in setupFirstCollection()
DWatchdogPerfServiceTest.cpp1782 int32_t maxCacheSize = 10; in TEST_F() local
1790 for (int64_t i = 0; i < maxCacheSize; ++i) { in TEST_F()
1823 .startTimeEpochMillis = maxCacheSize, in TEST_F()
/aosp_15_r20/hardware/interfaces/wifi/aidl/aidl_api/android.hardware.wifi/1/android/hardware/wifi/
H A DStaBackgroundScanCapabilities.aidl37 int maxCacheSize;
/aosp_15_r20/out/soong/.intermediates/hardware/interfaces/wifi/aidl/android.hardware.wifi_interface/dump/android/hardware/wifi/
DStaBackgroundScanCapabilities.aidl37 int maxCacheSize;
/aosp_15_r20/hardware/interfaces/wifi/aidl/aidl_api/android.hardware.wifi/current/android/hardware/wifi/
H A DStaBackgroundScanCapabilities.aidl37 int maxCacheSize;
/aosp_15_r20/hardware/interfaces/wifi/aidl/aidl_api/android.hardware.wifi/2/android/hardware/wifi/
H A DStaBackgroundScanCapabilities.aidl37 int maxCacheSize;
/aosp_15_r20/hardware/interfaces/wifi/aidl/android/hardware/wifi/
H A DStaBackgroundScanCapabilities.aidl27 int maxCacheSize;
/aosp_15_r20/packages/services/Car/cpp/evs/manager/aidl/stats/include/
DStatsCollector.h58 size_t maxCacheSize = 0; member
/aosp_15_r20/frameworks/base/core/java/android/widget/
H A DRemoteViewsAdapter.java617 FixedSizeRemoteViewsCache(int maxCacheSize, Configuration configuration) { in FixedSizeRemoteViewsCache() argument
618 mMaxCount = maxCacheSize; in FixedSizeRemoteViewsCache()

1234567