Home
last modified time | relevance | path

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

/packages/apps/Mms/src/com/android/mms/util/
DBlobCache.java114 private int mMaxBytes; field in BlobCache
214 mMaxBytes = readInt(buf, IH_MAX_BYTES); in loadIndex()
230 if (mMaxBytes <= 0) { in loadIndex()
242 if (mActiveBytes < DATA_HEADER_SIZE || mActiveBytes > mMaxBytes) { in loadIndex()
364 if (DATA_HEADER_SIZE + BLOB_HEADER_SIZE + data.length > mMaxBytes) { in insert()
368 if (mActiveBytes + BLOB_HEADER_SIZE + data.length > mMaxBytes in insert()
451 if (mActiveBytes + BLOB_HEADER_SIZE + req.length > mMaxBytes in lookup()
501 if (length < 0 || length > mMaxBytes - offset - BLOB_HEADER_SIZE) { in getBlob()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DBlobCache.java113 private int mMaxBytes; field in BlobCache
213 mMaxBytes = readInt(buf, IH_MAX_BYTES); in loadIndex()
229 if (mMaxBytes <= 0) { in loadIndex()
241 if (mActiveBytes < DATA_HEADER_SIZE || mActiveBytes > mMaxBytes) { in loadIndex()
363 if (DATA_HEADER_SIZE + BLOB_HEADER_SIZE + data.length > mMaxBytes) { in insert()
367 if (mActiveBytes + BLOB_HEADER_SIZE + data.length > mMaxBytes in insert()
460 if (mActiveBytes + BLOB_HEADER_SIZE + req.length > mMaxBytes in lookup()
513 if (length < 0 || length > mMaxBytes - offset - BLOB_HEADER_SIZE) { in getBlob()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DUtf8ByteLengthFilter.java41 private final int mMaxBytes; field in Utf8ByteLengthFilter
44 mMaxBytes = maxBytes; in Utf8ByteLengthFilter()
64 int keepBytes = mMaxBytes - destByteCount; in filter()
/packages/apps/SoundRecorder/src/com/android/soundrecorder/
DSoundRecorder.java74 private long mMaxBytes; field in RemainingTimeCalculator
104 mMaxBytes = maxBytes; in setFileSizeLimit()
157 long result2 = (mMaxBytes - fileSize)/mBytesPerSecond; in timeRemaining()