Searched refs:TEST_BUFFER_SIZE (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
D | MediaInserterTest.java | 47 private static final int TEST_BUFFER_SIZE = 10; field in MediaInserterTest 98 mMediaInserter = new MediaInserter(client, TEST_BUFFER_SIZE); in setUp() 148 fillBuffer(sFilesUri, TEST_BUFFER_SIZE - 4); in testInsertContentsLessThanBufferSize() 149 fillBuffer(sAudioUri, TEST_BUFFER_SIZE - 3); in testInsertContentsLessThanBufferSize() 150 fillBuffer(sVideoUri, TEST_BUFFER_SIZE - 2); in testInsertContentsLessThanBufferSize() 151 fillBuffer(sImagesUri, TEST_BUFFER_SIZE - 1); in testInsertContentsLessThanBufferSize() 160 fillBuffer(sFilesUri, TEST_BUFFER_SIZE); in testInsertContentsEqualToBufferSize() 161 fillBuffer(sAudioUri, TEST_BUFFER_SIZE); in testInsertContentsEqualToBufferSize() 162 fillBuffer(sVideoUri, TEST_BUFFER_SIZE); in testInsertContentsEqualToBufferSize() 163 fillBuffer(sImagesUri, TEST_BUFFER_SIZE); in testInsertContentsEqualToBufferSize() [all …]
|
/frameworks/av/media/libaaudio/tests/ |
D | test_block_adapter.cpp | 26 #define TEST_BUFFER_SIZE 103 macro 39 ASSERT_LE(frameCount, TEST_BUFFER_SIZE); in fillSequence() 58 int32_t mTestBuffer[TEST_BUFFER_SIZE]; 129 int32_t size = (r % TEST_BUFFER_SIZE); in TEST() 130 ASSERT_LE(size, TEST_BUFFER_SIZE); in TEST() 144 int32_t size = (r % TEST_BUFFER_SIZE); in TEST() 145 ASSERT_LE(size, TEST_BUFFER_SIZE); in TEST()
|