Home
last modified time | relevance | path

Searched refs:minBuffSize (Results 1 – 3 of 3) sorted by relevance

/cts/tests/tests/media/src/android/media/cts/
DAudioTrackTest.java485 int minBuffSize = AudioTrack.getMinBufferSize(TEST_SR, TEST_CONF, TEST_FORMAT); in testPlaybackHeadPositionIncrease() local
487 2 * minBuffSize, TEST_MODE); in testPlaybackHeadPositionIncrease()
488 byte data[] = new byte[minBuffSize]; in testPlaybackHeadPositionIncrease()
513 int minBuffSize = AudioTrack.getMinBufferSize(TEST_SR, TEST_CONF, TEST_FORMAT); in testPlaybackHeadPositionAfterFlush() local
515 2 * minBuffSize, TEST_MODE); in testPlaybackHeadPositionAfterFlush()
516 byte data[] = new byte[minBuffSize]; in testPlaybackHeadPositionAfterFlush()
544 int minBuffSize = AudioTrack.getMinBufferSize(TEST_SR, TEST_CONF, TEST_FORMAT); in testPlaybackHeadPositionAfterStop() local
546 2 * minBuffSize, TEST_MODE); in testPlaybackHeadPositionAfterStop()
547 byte data[] = new byte[minBuffSize]; in testPlaybackHeadPositionAfterStop()
580 int minBuffSize = AudioTrack.getMinBufferSize(TEST_SR, TEST_CONF, TEST_FORMAT); in testPlaybackHeadPositionAfterPause() local
[all …]
DAudioTrackLatencyTest.java81 int minBuffSize = AudioTrack.getMinBufferSize(TEST_SR, TEST_CONF, TEST_FORMAT); in testSetBufferSize() local
83 minBuffSize, TEST_MODE); in testSetBufferSize()
401 int minBuffSize = AudioTrack.getMinBufferSize(TEST_SR, TEST_CONF, TEST_FORMAT); in testGetUnderrunCount() local
404 minBuffSize * 2, TEST_MODE); in testGetUnderrunCount()
410 int minBuffSizeInFrames = minBuffSize / (TEST_SAMPLES_PER_FRAME * TEST_BYTES_PER_SAMPLE); in testGetUnderrunCount()
518 int minBuffSize = AudioTrack.getMinBufferSize(TEST_SR, TEST_CONF, TEST_FORMAT); in testGetUnderrunCountSleep() local
521 minBuffSize * 2, TEST_MODE); in testGetUnderrunCountSleep()
525 int minBuffSizeInFrames = minBuffSize / (TEST_SAMPLES_PER_FRAME * TEST_BYTES_PER_SAMPLE); in testGetUnderrunCountSleep()
DAudioTrack_ListenerTest.java85 final int minBuffSize = AudioTrack.getMinBufferSize(TEST_SR, TEST_CONF, TEST_FORMAT); in doTest() local
89 bufferSizeInBytes = minBuffSize * TEST_BUFFER_FACTOR; in doTest()
92 bufferSizeInBytes = minBuffSize * TEST_BUFFER_FACTOR * TEST_LOOP_FACTOR; in doTest()