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.cpp57 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.cpp107 uint32_t frameCount = kMaxBufferSize / sizeof(int16_t) / channelCount; in set()
229 meta->setInt32(kKeyMaxInputSize, kMaxBufferSize); in getFormat()
426 if (numLostBytes > kMaxBufferSize) { in onMoreData()
427 numLostBytes -= kMaxBufferSize; in onMoreData()
428 bufferSize = kMaxBufferSize; in onMoreData()
/frameworks/av/media/tests/benchmark/tests/
DDecoderTest.cpp61 std::unique_ptr<uint8_t[]> inputBuffer(new (std::nothrow) uint8_t[kMaxBufferSize]); in TEST_P()
73 ASSERT_LE(inputBufferOffset + info.size, kMaxBufferSize) in TEST_P()
DMuxerTest.cpp82 std::unique_ptr<uint8_t[]> inputBuffer(new (std::nothrow) uint8_t[kMaxBufferSize]); in TEST_P()
95 ASSERT_LE(inputBufferOffset + info.size, kMaxBufferSize) in TEST_P()
DEncoderTest.cpp65 std::unique_ptr<uint8_t[]> inputBuffer(new (std::nothrow) uint8_t[kMaxBufferSize]); in TEST_P()
77 ASSERT_LE(inputBufferOffset + info.size, kMaxBufferSize) in TEST_P()
DC2DecoderTest.cpp79 ASSERT_LE(fileSize, kMaxBufferSize) in TEST_P()
DC2EncoderTest.cpp82 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/module/extractors/mp4/
DMPEG4Extractor.cpp5266 const size_t kMaxBufferSize = 64 * 1024 * 1024; in start() local
5267 if (max_size > kMaxBufferSize) { in start()
5268 ALOGE("bogus max input size: %zu > %zu", max_size, kMaxBufferSize); in start()
5279 const size_t realMaxBuffers = min(kMaxBufferSize / max_size, kMaxBuffers); in start()