Home
last modified time | relevance | path

Searched refs:kMaxBufferSize (Results 1 – 12 of 12) sorted by relevance

/frameworks/native/libs/binder/tests/unit_fuzzers/
DMemoryDealerFuzz.cpp25 static constexpr size_t kMaxBufferSize = 10000; variable
31 if (size > kMaxBufferSize) { in LLVMFuzzerTestOneInput()
/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/main/cpp/
DNativeDecoder.cpp56 if (fileSize > kMaxBufferSize) { in Java_com_android_media_benchmark_library_Native_Decode()
88 if (inputBufferOffset + info.size > kMaxBufferSize) { in Java_com_android_media_benchmark_library_Native_Decode()
/frameworks/av/media/tests/benchmark/src/native/extractor/
DExtractor.cpp27 mFrameBuf = (uint8_t *)calloc(kMaxBufferSize, sizeof(uint8_t)); in initExtractor()
61 int32_t size = AMediaExtractor_readSampleData(mExtractor, mFrameBuf, kMaxBufferSize); in getFrameSample()
/frameworks/av/media/libstagefright/
DAudioSource.cpp119 uint32_t frameCount = kMaxBufferSize / sizeof(int16_t) / channelCount; in set()
242 meta->setInt32(kKeyMaxInputSize, kMaxBufferSize); in getFormat()
439 if (numLostBytes > kMaxBufferSize) { in dataCallback()
440 numLostBytes -= kMaxBufferSize; in dataCallback()
441 bufferSize = kMaxBufferSize; in dataCallback()
/frameworks/av/media/tests/benchmark/tests/
DDecoderTest.cpp58 uint8_t *inputBuffer = (uint8_t *)malloc(kMaxBufferSize); in TEST_P()
70 ASSERT_LE(inputBufferOffset + info.size, kMaxBufferSize) in TEST_P()
DMuxerTest.cpp81 uint8_t *inputBuffer = (uint8_t *)malloc(kMaxBufferSize); in TEST_P()
94 ASSERT_LE(inputBufferOffset + info.size, kMaxBufferSize) in TEST_P()
DEncoderTest.cpp64 uint8_t *inputBuffer = (uint8_t *)malloc(kMaxBufferSize); in TEST_P()
76 ASSERT_LE(inputBufferOffset + info.size, kMaxBufferSize) in TEST_P()
DC2DecoderTest.cpp78 ASSERT_LE(fileSize, kMaxBufferSize) in TEST_P()
DC2EncoderTest.cpp81 ASSERT_LE(fileSize, kMaxBufferSize) in TEST_P()
/frameworks/av/media/tests/benchmark/src/native/common/
DBenchmarkCommon.h37 constexpr uint32_t kMaxBufferSize = 1024 * 1024 * 16; variable
/frameworks/av/media/libstagefright/include/media/stagefright/
DAudioSource.h96 kMaxBufferSize = 2048, enumerator
/frameworks/av/media/extractors/mp4/
DMPEG4Extractor.cpp5247 const size_t kMaxBufferSize = 64 * 1024 * 1024; in start() local
5248 if (max_size > kMaxBufferSize) { in start()
5249 ALOGE("bogus max input size: %zu > %zu", max_size, kMaxBufferSize); in start()
5260 const size_t realMaxBuffers = min(kMaxBufferSize / max_size, kMaxBuffers); in start()