Home
last modified time | relevance | path

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

/frameworks/ml/nn/driver/cache/BlobCache/
DBlobCache_test.cpp318 const int maxEntries = MAX_TOTAL_SIZE / 2; in TEST_P() local
319 for (int i = 0; i < maxEntries; i++) { in TEST_P()
325 uint8_t k = maxEntries; in TEST_P()
331 for (int i = 0; i < maxEntries+1; i++) { in TEST_P()
338 ASSERT_EQ(found, i >= maxEntries/2); in TEST_P()
341 ASSERT_EQ(maxEntries/2 + 1, numCached); in TEST_P()
349 const int maxEntries = MAX_TOTAL_SIZE / 2; in TEST_P() local
350 for (int i = 0; i < maxEntries; i++) { in TEST_P()
356 uint8_t k = maxEntries; in TEST_P()
361 for (int i = 0; i < maxEntries+1; i++) { in TEST_P()
[all …]
/frameworks/native/opengl/libs/EGL/
DBlobCache_test.cpp249 const int maxEntries = MAX_TOTAL_SIZE / 2; in TEST_F() local
250 for (int i = 0; i < maxEntries; i++) { in TEST_F()
256 uint8_t k = maxEntries; in TEST_F()
261 for (int i = 0; i < maxEntries+1; i++) { in TEST_F()
267 ASSERT_EQ(maxEntries/2 + 1, numCached); in TEST_F()
306 const int maxEntries = MAX_TOTAL_SIZE / 2; in TEST_F() local
307 for (int i = 0; i < maxEntries; i++) { in TEST_F()
315 for (int i = 0; i < maxEntries; i++) { in TEST_F()
325 const int maxEntries = MAX_TOTAL_SIZE / 2; in TEST_F() local
326 for (int i = 0; i < maxEntries; i++) { in TEST_F()
[all …]
/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/ml/nn/driver/cache/nnCache/
DnnCache_test.cpp120 const int maxEntries = MAX_TOTAL_SIZE / 2; in TEST_P() local
121 for (int i = 0; i < maxEntries; i++) { in TEST_P()
132 uint8_t k = maxEntries; in TEST_P()
138 for (int i = 0; i < maxEntries+1; i++) { in TEST_P()
150 ASSERT_EQ(maxEntries/2, numCached); in TEST_P()
151 ASSERT_EQ(size_t((maxEntries/2)*2), sizeCached); in TEST_P()
157 const int initialNumEntries = maxEntries; in TEST_P()
/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/minikin/include/minikin/
DLayoutCache.h184 LayoutCache(uint32_t maxEntries) : mCache(maxEntries), mRequestCount(0), mCacheHitCount(0) { in LayoutCache() argument
/frameworks/minikin/tests/unittest/
DLayoutCacheTest.cpp31 TestableLayoutCache(uint32_t maxEntries) : LayoutCache(maxEntries) {} in TestableLayoutCache() argument
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt56423 field protected final int maxEntries;