/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 | 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 | 205 public String getText(int maxBytes) { in getText() argument 207 if (mData != null) return new String(mData, 0, Math.min(maxBytes, mData.length)); in getText() 213 byte[] buf = new byte[maxBytes]; in getText() 216 while (n >= 0 && (readBytes += n) < maxBytes) { in getText() 217 n = is.read(buf, readBytes, maxBytes - readBytes); in getText()
|
D | FileUtils.java | 1029 public static String trimFilename(String str, int maxBytes) { in trimFilename() argument 1031 trimFilename(res, maxBytes); in trimFilename() 1036 private static void trimFilename(StringBuilder res, int maxBytes) { in trimFilename() argument 1038 if (raw.length > maxBytes) { in trimFilename() 1039 maxBytes -= 3; in trimFilename() 1040 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 | 184 …uint8_t *buffer, size_t maxBytes, size_t* numBytesReceivedPtr, int64_t *outTimestampPtr) __INTRODU…
|
/frameworks/base/libs/hwui/pipeline/skia/ |
D | SkiaPipeline.cpp | 578 size_t maxBytes = mRenderThread.getGrContext()->getResourceCacheLimit(); in dumpResourceCacheUsage() local 583 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 | 2479 final int maxBytes = res.getInteger( in loadGlobalSettings() local 2481 if (maxBytes > 0) { in loadGlobalSettings() 2483 Integer.toString(maxBytes)); in loadGlobalSettings()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkPolicyManagerService.java | 1266 long maxBytes = 0; in findRapidBlame() local 1275 if (bytes > maxBytes) { in findRapidBlame() 1276 maxBytes = bytes; in findRapidBlame() 1283 if (maxBytes > 0 && maxBytes > totalBytes / 2) { in findRapidBlame()
|
/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
D | android-28.jar | META-INF/
META-INF/MANIFEST.MF
javax/
javax/net/
javax/ ... |