Home
last modified time | relevance | path

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

/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/Car/Settings/src/com/android/car/settings/bluetooth/
DUtf8ByteLengthFilter.java42 private final int mMaxBytes; field in Utf8ByteLengthFilter
45 mMaxBytes = maxBytes; in Utf8ByteLengthFilter()
66 int keepBytes = mMaxBytes - destByteCount; in filter()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/bluetooth/
DUtf8ByteLengthFilter.java43 private final int mMaxBytes; field in Utf8ByteLengthFilter
47 mMaxBytes = maxBytes; in Utf8ByteLengthFilter()
67 int keepBytes = mMaxBytes - destByteCount; in filter()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DUtf8ByteLengthFilter.java43 private final int mMaxBytes; field in Utf8ByteLengthFilter
47 mMaxBytes = maxBytes; in Utf8ByteLengthFilter()
67 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()