/aosp14/frameworks/base/core/java/android/os/ |
H A D | DropBoxManager.java | 229 public @Nullable String getText(@BytesLong int maxBytes) { in getText() argument 231 if (mData != null) return new String(mData, 0, Math.min(maxBytes, mData.length)); in getText() 237 byte[] buf = new byte[maxBytes]; in getText() 240 while (n >= 0 && (readBytes += n) < maxBytes) { in getText() 241 n = is.read(buf, readBytes, maxBytes - readBytes); in getText()
|
H A D | FileUtils.java | 1053 public static String trimFilename(String str, int maxBytes) { in trimFilename() argument 1055 trimFilename(res, maxBytes); in trimFilename() 1060 private static void trimFilename(StringBuilder res, int maxBytes) { in trimFilename() argument 1062 if (raw.length > maxBytes) { in trimFilename() 1063 maxBytes -= 3; in trimFilename() 1064 while (raw.length > maxBytes) { in trimFilename()
|
/aosp14/frameworks/base/media/native/midi/ |
H A D | amidi.cpp | 320 ssize_t receive(int32_t *opcodePtr, uint8_t *buffer, size_t maxBytes, in receive() argument 346 numMessageBytes = std::min(maxBytes, numMessageBytes); in receive() 362 uint8_t *buffer, size_t maxBytes, size_t* numBytesReceivedPtr, int64_t *timestampPtr) { in AMidiOutputPort_receive() argument 368 return MidiReceiver((AMIDI_Port*)outputPort).receive(opcodePtr, buffer, maxBytes, in AMidiOutputPort_receive()
|
/aosp14/frameworks/base/tests/UiBench/src/com/android/test/uibench/leanback/ |
H A 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()
|
/aosp14/frameworks/base/media/packages/BluetoothMidiService/tests/unit/src/com/android/bluetoothmidiservice/ |
H A D | BluetoothMidiDecoderTest.java | 49 final int maxBytes = 20; in DecoderChecker() local 50 mDecoder = new BluetoothPacketDecoder(maxBytes); in DecoderChecker()
|
H A D | BluetoothMidiEncoderTest.java | 64 final int maxBytes = 20; in EncoderChecker() local 65 mEncoder = new BluetoothPacketEncoder(mReceiver, maxBytes); in EncoderChecker()
|
/aosp14/frameworks/base/media/native/midi/include/amidi/ |
H A D | AMidi.h | 278 …uint8_t *buffer, size_t maxBytes, size_t* numBytesReceivedPtr, int64_t *outTimestampPtr) __INTRODU…
|
/aosp14/frameworks/base/libs/hwui/pipeline/skia/ |
H A D | SkiaPipeline.cpp | 597 size_t maxBytes = mRenderThread.getGrContext()->getResourceCacheLimit(); in dumpResourceCacheUsage() local 602 bytes * (1.0f / (1024.0f * 1024.0f)), maxBytes * (1.0f / (1024.0f * 1024.0f))); in dumpResourceCacheUsage()
|
/aosp14/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
H A D | DatabaseHelper.java | 2471 final int maxBytes = res.getInteger( in loadGlobalSettings() local 2473 if (maxBytes > 0) { in loadGlobalSettings() 2475 Integer.toString(maxBytes)); in loadGlobalSettings()
|
/aosp14/frameworks/base/services/core/java/com/android/server/net/ |
H A D | NetworkPolicyManagerService.java | 1547 long maxBytes = 0; in findRapidBlame() local 1558 if (bytes > maxBytes) { in findRapidBlame() 1559 maxBytes = bytes; in findRapidBlame() 1566 if (maxBytes > 0 && maxBytes > totalBytes / 2) { in findRapidBlame()
|
/aosp14/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
H A D | android-33.jar | AndroidManifest.xml
META-INF/
META-INF/MANIFEST.MF
NOTICES/
NOTICES/libcore ... |