/frameworks/av/services/audioflinger/ |
D | BufLog.cpp | 76 int samplingRate, size_t maxBytes, const void *buf, size_t size) { in write() argument 84 samplingRate, maxBytes); in write() 116 size_t maxBytes = 0) : mId(id), mFormat(format), mChannels(channels), in BufLogStream() argument 117 mSamplingRate(samplingRate), mMaxBytes(maxBytes) { in BufLogStream()
|
D | BufLog.h | 120 size_t maxBytes); 175 size_t maxBytes,
|
/frameworks/av/media/libdatasource/ |
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() 501 size_t maxBytes = mLastAccessPos - mCacheOffset; in restartPrefetcherIfNecessary_l() local 504 if (maxBytes < kGrayArea) { in restartPrefetcherIfNecessary_l() 508 maxBytes -= kGrayArea; in restartPrefetcherIfNecessary_l() 511 size_t actualBytes = mCache->releaseFromStart(maxBytes); in restartPrefetcherIfNecessary_l()
|
/frameworks/base/core/java/android/os/ |
D | DropBoxManager.java | 228 public @Nullable String getText(@BytesLong int maxBytes) { in getText() argument 230 if (mData != null) return new String(mData, 0, Math.min(maxBytes, mData.length)); in getText() 236 byte[] buf = new byte[maxBytes]; in getText() 239 while (n >= 0 && (readBytes += n) < maxBytes) { in getText() 240 n = is.read(buf, readBytes, maxBytes - readBytes); in getText()
|
D | FileUtils.java | 1052 public static String trimFilename(String str, int maxBytes) { in trimFilename() argument 1054 trimFilename(res, maxBytes); in trimFilename() 1059 private static void trimFilename(StringBuilder res, int maxBytes) { in trimFilename() argument 1061 if (raw.length > maxBytes) { in trimFilename() 1062 maxBytes -= 3; in trimFilename() 1063 while (raw.length > maxBytes) { in trimFilename()
|
/frameworks/base/media/native/midi/ |
D | amidi.cpp | 312 ssize_t receive(int32_t *opcodePtr, uint8_t *buffer, size_t maxBytes, in receive() argument 338 numMessageBytes = std::min(maxBytes, numMessageBytes); in receive() 354 uint8_t *buffer, size_t maxBytes, size_t* numBytesReceivedPtr, int64_t *timestampPtr) { in AMidiOutputPort_receive() argument 360 return MidiReceiver((AMIDI_Port*)outputPort).receive(opcodePtr, buffer, maxBytes, in AMidiOutputPort_receive()
|
/frameworks/base/tests/UiBench/src/com/android/test/uibench/leanback/ |
D | BitmapLoader.java | 65 int maxBytes = (int) (width * height * BYTES_PER_PIXEL * CACHE_SIZE_TO_SCREEN); in getLruCache() local 66 sLruCache = new LruCache<Long, Bitmap>(maxBytes) { in getLruCache()
|
/frameworks/base/media/packages/BluetoothMidiService/tests/unit/src/com/android/bluetoothmidiservice/ |
D | BluetoothMidiDecoderTest.java | 49 final int maxBytes = 20; in DecoderChecker() local 50 mDecoder = new BluetoothPacketDecoder(maxBytes); in DecoderChecker()
|
D | BluetoothMidiEncoderTest.java | 63 final int maxBytes = 20; in EncoderChecker() local 64 mEncoder = new BluetoothPacketEncoder(mReceiver, maxBytes); in EncoderChecker()
|
/frameworks/base/media/native/midi/include/amidi/ |
D | AMidi.h | 182 …uint8_t *buffer, size_t maxBytes, size_t* numBytesReceivedPtr, int64_t *outTimestampPtr) __INTRODU…
|
/frameworks/base/libs/hwui/pipeline/skia/ |
D | SkiaPipeline.cpp | 587 size_t maxBytes = mRenderThread.getGrContext()->getResourceCacheLimit(); in dumpResourceCacheUsage() local 592 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 | 2481 final int maxBytes = res.getInteger( in loadGlobalSettings() local 2483 if (maxBytes > 0) { in loadGlobalSettings() 2485 Integer.toString(maxBytes)); in loadGlobalSettings()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkPolicyManagerService.java | 1415 long maxBytes = 0; in findRapidBlame() local 1424 if (bytes > maxBytes) { in findRapidBlame() 1425 maxBytes = bytes; in findRapidBlame() 1432 if (maxBytes > 0 && maxBytes > totalBytes / 2) { in findRapidBlame()
|