Home
last modified time | relevance | path

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

/packages/apps/Mms/src/com/android/mms/util/
DBlobCache.java96 private static final int INDEX_HEADER_SIZE = 32; field in BlobCache
124 private byte[] mIndexHeader = new byte[INDEX_HEADER_SIZE];
198 if (mIndexFile.read(buf) != INDEX_HEADER_SIZE) { in loadIndex()
247 INDEX_HEADER_SIZE + mMaxEntries * 12 * 2) { in loadIndex()
291 mActiveHashStart = INDEX_HEADER_SIZE; in setActiveVariables()
292 mInactiveHashStart = INDEX_HEADER_SIZE; in setActiveVariables()
303 mIndexFile.setLength(INDEX_HEADER_SIZE + maxEntries * 12 * 2); in resetCache()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DBlobCache.java95 private static final int INDEX_HEADER_SIZE = 32; field in BlobCache
123 private byte[] mIndexHeader = new byte[INDEX_HEADER_SIZE];
197 if (mIndexFile.read(buf) != INDEX_HEADER_SIZE) { in loadIndex()
246 INDEX_HEADER_SIZE + mMaxEntries * 12 * 2) { in loadIndex()
290 mActiveHashStart = INDEX_HEADER_SIZE; in setActiveVariables()
291 mInactiveHashStart = INDEX_HEADER_SIZE; in setActiveVariables()
302 mIndexFile.setLength(INDEX_HEADER_SIZE + maxEntries * 12 * 2); in resetCache()