Home
last modified time | relevance | path

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

/packages/apps/Mms/src/com/android/mms/util/
DBlobCache.java109 private RandomAccessFile mDataFile1; field in BlobCache
143 mDataFile1 = new RandomAccessFile(path + ".1", "rw"); in BlobCache()
186 closeSilently(mDataFile1); in closeAll()
195 mDataFile1.seek(0); in loadIndex()
262 if (mDataFile1.read(magic) != 4) { in loadIndex()
286 mActiveDataFile = (mActiveRegion == 0) ? mDataFile0 : mDataFile1; in setActiveVariables()
287 mInactiveDataFile = (mActiveRegion == 1) ? mDataFile0 : mDataFile1; in setActiveVariables()
319 mDataFile1.setLength(0); in resetCache()
321 mDataFile1.seek(0); in resetCache()
324 mDataFile1.write(buf, 0, 4); in resetCache()
[all …]
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DBlobCache.java108 private RandomAccessFile mDataFile1; field in BlobCache
142 mDataFile1 = new RandomAccessFile(path + ".1", "rw"); in BlobCache()
185 closeSilently(mDataFile1); in closeAll()
194 mDataFile1.seek(0); in loadIndex()
261 if (mDataFile1.read(magic) != 4) { in loadIndex()
285 mActiveDataFile = (mActiveRegion == 0) ? mDataFile0 : mDataFile1; in setActiveVariables()
286 mInactiveDataFile = (mActiveRegion == 1) ? mDataFile0 : mDataFile1; in setActiveVariables()
318 mDataFile1.setLength(0); in resetCache()
320 mDataFile1.seek(0); in resetCache()
323 mDataFile1.write(buf, 0, 4); in resetCache()
[all …]