Home
last modified time | relevance | path

Searched refs:maxEntries (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/core/java/android/os/
DIpcDataCache.java325 public IpcDataCache(int maxEntries, @NonNull @IpcDataCacheModule String module, in IpcDataCache() argument
328 super(maxEntries, module, api, cacheName, computer); in IpcDataCache()
438 public Config(int maxEntries, @NonNull @IpcDataCacheModule String module, in Config() argument
440 mMaxEntries = maxEntries; in Config()
449 public Config(int maxEntries, @NonNull @IpcDataCacheModule String module, in Config() argument
451 this(maxEntries, module, api, api); in Config()
459 this(root.maxEntries(), root.module(), api, name); in Config()
467 this(root.maxEntries(), root.module(), api, api); in Config()
481 public final int maxEntries() { in maxEntries() method in IpcDataCache.Config
550 super(config.maxEntries(), config.module(), config.api(), config.name(), computer); in IpcDataCache()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DSimpleCache.java29 public SimpleCache(final int maxEntries) { in SimpleCache() argument
30 super(maxEntries + 1, 1f, true); in SimpleCache()
31 mMaxEntries = maxEntries; in SimpleCache()
/frameworks/native/opengl/libs/EGL/
DBlobCache_test.cpp276 const int maxEntries = MAX_TOTAL_SIZE / 2; in TEST_F() local
277 for (int i = 0; i < maxEntries; i++) { in TEST_F()
283 uint8_t k = maxEntries; in TEST_F()
288 for (int i = 0; i < maxEntries + 1; i++) { in TEST_F()
294 ASSERT_EQ(maxEntries / 2 + 1, numCached); in TEST_F()
341 const int maxEntries = MAX_TOTAL_SIZE / 2; in TEST_F() local
342 for (int i = 0; i < maxEntries; i++) { in TEST_F()
350 for (int i = 0; i < maxEntries; i++) { in TEST_F()
360 const int maxEntries = MAX_TOTAL_SIZE / 2; in TEST_F() local
361 for (int i = 0; i < maxEntries; i++) { in TEST_F()
[all …]
/frameworks/base/core/java/android/provider/
DSearchRecentSuggestions.java229 protected void truncateHistory(ContentResolver cr, int maxEntries) { in truncateHistory() argument
230 if (maxEntries < 0) { in truncateHistory()
237 if (maxEntries > 0) { in truncateHistory()
241 " LIMIT -1 OFFSET " + String.valueOf(maxEntries) + ")"; in truncateHistory()
/frameworks/base/core/tests/coretests/src/android/os/
DIpcDataCacheTest.java382 assertEquals(8, a.maxEntries()); in testConfig()
388 assertEquals(8, b.maxEntries()); in testConfig()
394 assertEquals(8, c.maxEntries()); in testConfig()
400 assertEquals(8, d.maxEntries()); in testConfig()
/frameworks/base/core/java/android/app/
DPropertyInvalidatedCache.java545 public PropertyInvalidatedCache(int maxEntries, @NonNull String propertyName) { in PropertyInvalidatedCache() argument
546 this(maxEntries, propertyName, propertyName); in PropertyInvalidatedCache()
560 public PropertyInvalidatedCache(int maxEntries, @NonNull String propertyName, in PropertyInvalidatedCache() argument
564 mMaxEntries = maxEntries; in PropertyInvalidatedCache()
583 public PropertyInvalidatedCache(int maxEntries, @NonNull String module, @NonNull String api, in PropertyInvalidatedCache() argument
587 mMaxEntries = maxEntries; in PropertyInvalidatedCache()
/frameworks/minikin/include/minikin/
DLayoutCache.h220 LayoutCache(uint32_t maxEntries) : mCache(maxEntries) { in LayoutCache() argument
/frameworks/minikin/tests/unittest/
DLayoutCacheTest.cpp31 TestableLayoutCache(uint32_t maxEntries) : LayoutCache(maxEntries) {} in TestableLayoutCache() argument
/frameworks/native/services/inputflinger/dispatcher/
DInputDispatcher.cpp325 constexpr size_t maxEntries = 50; // max events to print in dumpQueue() local
326 constexpr size_t skipBegin = maxEntries / 2; in dumpQueue()
327 const size_t skipEnd = queue.size() - maxEntries / 2; in dumpQueue()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/base/boot/
Dboot-image-profile.txt12155 HSPLandroid/os/IpcDataCache$Config;->maxEntries()I
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt56423 field protected final int maxEntries;
/frameworks/base/config/
Dboot-image-profile.txt12158 HSPLandroid/os/IpcDataCache$Config;->maxEntries()I