Searched refs:maxBytes (Results 1 – 8 of 8) sorted by relevance
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
D | ByteArrayRingBuffer.java | 34 public ByteArrayRingBuffer(int maxBytes) { in ByteArrayRingBuffer() argument 35 if (maxBytes < 1) { in ByteArrayRingBuffer() 39 mMaxBytes = maxBytes; in ByteArrayRingBuffer() 84 public void resize(int maxBytes) { in resize() argument 85 pruneToSize(maxBytes); in resize() 86 mMaxBytes = maxBytes; in resize()
|
/frameworks/av/services/audioflinger/ |
D | BufLog.cpp | 75 int samplingRate, size_t maxBytes, const void *buf, size_t size) { in write() argument 83 samplingRate, maxBytes); in write() 115 size_t maxBytes = 0) : mId(id), mFormat(format), mChannels(channels), in BufLogStream() argument 116 mSamplingRate(samplingRate), mMaxBytes(maxBytes) { in BufLogStream()
|
D | BufLog.h | 120 size_t maxBytes); 175 size_t maxBytes,
|
/frameworks/av/media/libstagefright/ |
D | NuCachedSource2.cpp | 46 size_t releaseFromStart(size_t maxBytes); 115 size_t PageCache::releaseFromStart(size_t maxBytes) { in releaseFromStart() argument 118 while (maxBytes > 0 && !mActivePages.empty()) { in releaseFromStart() 123 if (maxBytes < page->mSize) { in releaseFromStart() 129 maxBytes -= page->mSize; in releaseFromStart() 497 size_t maxBytes = mLastAccessPos - mCacheOffset; in restartPrefetcherIfNecessary_l() local 500 if (maxBytes < kGrayArea) { in restartPrefetcherIfNecessary_l() 504 maxBytes -= kGrayArea; in restartPrefetcherIfNecessary_l() 507 size_t actualBytes = mCache->releaseFromStart(maxBytes); in restartPrefetcherIfNecessary_l()
|
/frameworks/base/core/java/android/os/ |
D | DropBoxManager.java | 190 public String getText(int maxBytes) { in getText() argument 192 if (mData != null) return new String(mData, 0, Math.min(maxBytes, mData.length)); in getText() 198 byte[] buf = new byte[maxBytes]; in getText() 201 while (n >= 0 && (readBytes += n) < maxBytes) { in getText() 202 n = is.read(buf, readBytes, maxBytes - readBytes); in getText()
|
D | FileUtils.java | 563 public static String trimFilename(String str, int maxBytes) { in trimFilename() argument 565 trimFilename(res, maxBytes); in trimFilename() 569 private static void trimFilename(StringBuilder res, int maxBytes) { in trimFilename() argument 571 if (raw.length > maxBytes) { in trimFilename() 572 maxBytes -= 3; in trimFilename() 573 while (raw.length > maxBytes) { in trimFilename()
|
/frameworks/base/libs/hwui/pipeline/skia/ |
D | SkiaPipeline.cpp | 327 size_t bytes, maxBytes; in dumpResourceCacheUsage() local 329 mRenderThread.getGrContext()->getResourceCacheLimits(&maxResources, &maxBytes); in dumpResourceCacheUsage() 334 bytes, bytes * (1.0f / (1024.0f * 1024.0f)), maxBytes * (1.0f / (1024.0f * 1024.0f))); in dumpResourceCacheUsage()
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | DatabaseHelper.java | 2543 final int maxBytes = mContext.getResources().getInteger( in loadGlobalSettings() local 2545 if (maxBytes > 0) { in loadGlobalSettings() 2547 Integer.toString(maxBytes)); in loadGlobalSettings()
|