Home
last modified time | relevance | path

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

/packages/apps/Gallery2/tests/src/com/android/gallery3d/common/
DBlobCacheTest.java79 BlobCache bc = new BlobCache(TEST_FILE_NAME, MAX_ENTRIES, MAX_BYTES, true); in testChecksum()
107 private static final int MAX_ENTRIES = 100; field in BlobCacheTest
109 private static final int INDEX_SIZE = HEADER_SIZE + MAX_ENTRIES * 12 * 2;
125 bc = new BlobCache(name, MAX_ENTRIES, MAX_BYTES, true); in testBasic()
138 bc = new BlobCache(name, MAX_ENTRIES, MAX_BYTES, false); in testBasic()
155 bc = new BlobCache(name, MAX_ENTRIES, MAX_BYTES, false); in testBasic()
172 bc = new BlobCache(name, MAX_ENTRIES, MAX_BYTES, false); in testBasic()
200 BlobCache bc = new BlobCache(TEST_FILE_NAME, MAX_ENTRIES, MAX_BYTES, true); in testNegativeKey()
211 BlobCache bc = new BlobCache(TEST_FILE_NAME, MAX_ENTRIES, MAX_BYTES, true); in testEmptyBlob()
221 BlobCache bc = new BlobCache(TEST_FILE_NAME, MAX_ENTRIES, MAX_BYTES, true); in testLookupRequest()
[all …]
/packages/apps/Calculator/src/com/android/calculator2/
DHistory.java28 private static final int MAX_ENTRIES = 100; field in History
96 if (mEntries.size() >= MAX_ENTRIES) { in enter()