Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DByteArrayRingBuffer.java26 private int mMaxBytes; field in ByteArrayRingBuffer
39 mMaxBytes = maxBytes; in ByteArrayRingBuffer()
53 pruneToSize(mMaxBytes - newData.length); in appendBuffer()
54 if (mBytesUsed + newData.length > mMaxBytes) { in appendBuffer()
86 mMaxBytes = maxBytes; in resize()
/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/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/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/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/httpclient/
DAdServicesHttpsClient.java100 private final long mMaxBytes; field in AdServicesHttpsClient
163 mMaxBytes = maxBytes; in AdServicesHttpsClient()
865 if (size > mMaxBytes) { in streamToString()
879 if (total <= mMaxBytes) { in manualStreamToString()