Home
last modified time | relevance | path

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

/system/core/libutils/tests/
DBlobCache_test.cpp32 MAX_TOTAL_SIZE = 13, enumerator
36 mBC = new BlobCache(MAX_KEY_SIZE, MAX_VALUE_SIZE, MAX_TOTAL_SIZE); in SetUp()
148 ASSERT_TRUE(MAX_TOTAL_SIZE < MAX_KEY_SIZE + MAX_VALUE_SIZE); in TEST_F()
149 ASSERT_TRUE(MAX_KEY_SIZE < MAX_TOTAL_SIZE); in TEST_F()
151 enum { bufSize = MAX_TOTAL_SIZE - MAX_KEY_SIZE + 1 }; in TEST_F()
199 ASSERT_TRUE(MAX_KEY_SIZE < MAX_TOTAL_SIZE); in TEST_F()
201 enum { bufSize = MAX_TOTAL_SIZE - MAX_KEY_SIZE }; in TEST_F()
235 ASSERT_GE(MAX_TOTAL_SIZE / 2, numCached); in TEST_F()
240 const int maxEntries = MAX_TOTAL_SIZE / 2; in TEST_F()
265 mBC2 = new BlobCache(MAX_KEY_SIZE, MAX_VALUE_SIZE, MAX_TOTAL_SIZE); in SetUp()
[all …]