Searched refs:maxEntries (Results 1 - 7 of 7) sorted by relevance

/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DSimpleCache.java29 public SimpleCache(final int maxEntries) { argument
30 super(maxEntries + 1, 1f, true);
31 mMaxEntries = maxEntries;
/frameworks/base/core/java/android/provider/
H A DSearchRecentSuggestions.java227 * @param maxEntries Max entries to leave in the table. 0 means remove all entries.
229 protected void truncateHistory(ContentResolver cr, int maxEntries) { argument
230 if (maxEntries < 0) {
237 if (maxEntries > 0) {
241 " LIMIT -1 OFFSET " + String.valueOf(maxEntries) + ")";
/frameworks/ml/nn/driver/cache/BlobCache/
H A DBlobCache_test.cpp318 const int maxEntries = MAX_TOTAL_SIZE / 2;
319 for (int i = 0; i < maxEntries; i++) {
325 uint8_t k = maxEntries;
331 for (int i = 0; i < maxEntries+1; i++) {
338 ASSERT_EQ(found, i >= maxEntries/2);
341 ASSERT_EQ(maxEntries/2 + 1, numCached);
349 const int maxEntries = MAX_TOTAL_SIZE / 2; local
350 for (int i = 0; i < maxEntries; i++) {
356 uint8_t k = maxEntries;
361 for (int i = 0; i < maxEntries
372 const int maxEntries = MAX_TOTAL_SIZE / 2; local
453 static const int maxEntries = MAX_TOTAL_SIZE / 2; local
548 const int maxEntries = MAX_TOTAL_SIZE / 2; local
567 const int maxEntries = MAX_TOTAL_SIZE / 2; local
589 const int maxEntries = MAX_TOTAL_SIZE / 2; local
[all...]
/frameworks/native/opengl/libs/EGL/
H A DBlobCache_test.cpp249 const int maxEntries = MAX_TOTAL_SIZE / 2;
250 for (int i = 0; i < maxEntries; i++) {
256 uint8_t k = maxEntries;
261 for (int i = 0; i < maxEntries+1; i++) {
267 ASSERT_EQ(maxEntries/2 + 1, numCached);
306 const int maxEntries = MAX_TOTAL_SIZE / 2; local
307 for (int i = 0; i < maxEntries; i++) {
315 for (int i = 0; i < maxEntries; i++) {
325 const int maxEntries = MAX_TOTAL_SIZE / 2; local
326 for (int i = 0; i < maxEntries;
347 const int maxEntries = MAX_TOTAL_SIZE / 2; local
[all...]
/frameworks/ml/nn/driver/cache/nnCache/
H A DnnCache_test.cpp120 const int maxEntries = MAX_TOTAL_SIZE / 2; local
121 for (int i = 0; i < maxEntries; i++) {
132 uint8_t k = maxEntries;
138 for (int i = 0; i < maxEntries+1; i++) {
150 ASSERT_EQ(maxEntries/2, numCached);
151 ASSERT_EQ(size_t((maxEntries/2)*2), sizeCached);
157 const int initialNumEntries = maxEntries;
/frameworks/minikin/include/minikin/
H A DLayoutCache.h184 LayoutCache(uint32_t maxEntries) : mCache(maxEntries), mRequestCount(0), mCacheHitCount(0) { argument
/frameworks/minikin/tests/unittest/
H A DLayoutCacheTest.cpp31 TestableLayoutCache(uint32_t maxEntries) : LayoutCache(maxEntries) {} argument

Completed in 159 milliseconds