Home
last modified time | relevance | path

Searched refs:TEST_CONF (Results 1 – 4 of 4) sorted by relevance

/cts/tests/tests/media/src/android/media/cts/
DAudioTrackTest.java422 final int TEST_CONF = AudioFormat.CHANNEL_CONFIGURATION_STEREO; in testPlaybackHeadPositionAfterInit() local
428 AudioTrack track = new AudioTrack(TEST_STREAM_TYPE, TEST_SR, TEST_CONF, TEST_FORMAT, in testPlaybackHeadPositionAfterInit()
429 AudioTrack.getMinBufferSize(TEST_SR, TEST_CONF, TEST_FORMAT), TEST_MODE); in testPlaybackHeadPositionAfterInit()
442 final int TEST_CONF = AudioFormat.CHANNEL_CONFIGURATION_STEREO; in testPlaybackHeadPositionIncrease() local
448 int minBuffSize = AudioTrack.getMinBufferSize(TEST_SR, TEST_CONF, TEST_FORMAT); in testPlaybackHeadPositionIncrease()
449 AudioTrack track = new AudioTrack(TEST_STREAM_TYPE, TEST_SR, TEST_CONF, TEST_FORMAT, in testPlaybackHeadPositionIncrease()
469 final int TEST_CONF = AudioFormat.CHANNEL_CONFIGURATION_STEREO; in testPlaybackHeadPositionAfterFlush() local
475 int minBuffSize = AudioTrack.getMinBufferSize(TEST_SR, TEST_CONF, TEST_FORMAT); in testPlaybackHeadPositionAfterFlush()
476 AudioTrack track = new AudioTrack(TEST_STREAM_TYPE, TEST_SR, TEST_CONF, TEST_FORMAT, in testPlaybackHeadPositionAfterFlush()
498 final int TEST_CONF = AudioFormat.CHANNEL_CONFIGURATION_STEREO; in testPlaybackHeadPositionAfterStop() local
[all …]
DAudioTrackLatencyTest.java73 final int TEST_CONF = AudioFormat.CHANNEL_OUT_STEREO; in testSetBufferSize() local
79 int minBuffSize = AudioTrack.getMinBufferSize(TEST_SR, TEST_CONF, TEST_FORMAT); in testSetBufferSize()
80 AudioTrack track = new AudioTrack(TEST_STREAM_TYPE, TEST_SR, TEST_CONF, TEST_FORMAT, in testSetBufferSize()
266 final int TEST_CONF = AudioFormat.CHANNEL_OUT_STEREO; in createCustomAudioTrack() local
271 int bufferSizeBytes = 2 * AudioTrack.getMinBufferSize(TEST_SR, TEST_CONF, TEST_FORMAT); in createCustomAudioTrack()
282 .setChannelMask(TEST_CONF) in createCustomAudioTrack()
379 final int TEST_CONF = AudioFormat.CHANNEL_OUT_STEREO; in testGetUnderrunCount() local
394 int minBuffSize = AudioTrack.getMinBufferSize(TEST_SR, TEST_CONF, TEST_FORMAT); in testGetUnderrunCount()
396 AudioTrack track = new AudioTrack(TEST_STREAM_TYPE, TEST_SR, TEST_CONF, TEST_FORMAT, in testGetUnderrunCount()
496 final int TEST_CONF = AudioFormat.CHANNEL_OUT_STEREO; in testGetUnderrunCountSleep() local
[all …]
DAudioTrack_ListenerTest.java38 private final static int TEST_CONF = AudioFormat.CHANNEL_OUT_MONO; field in AudioTrack_ListenerTest
85 final int minBuffSize = AudioTrack.getMinBufferSize(TEST_SR, TEST_CONF, TEST_FORMAT); in doTest()
100 track = new AudioTrack(TEST_STREAM_TYPE, TEST_SR, TEST_CONF, in doTest()
108 return new AudioTrack(TEST_STREAM_TYPE, TEST_SR, TEST_CONF, in doTest()
156 final int numChannels = AudioFormat.channelCountFromOutChannelMask(TEST_CONF); in doTest()
DAudioRecordTest.java743 final int TEST_SR, final int TEST_CONF, final int TEST_FORMAT) throws Exception { in doTest() argument
756 * AudioFormat.channelCountFromInChannelMask(TEST_CONF)) : in doTest()
757 AudioRecord.getMinBufferSize(TEST_SR, TEST_CONF, TEST_FORMAT); in doTest()
766 record = createAudioRecord(TEST_SOURCE, TEST_SR, TEST_CONF, in doTest()
774 return createAudioRecord(TEST_SOURCE, TEST_SR, TEST_CONF, in doTest()
833 final int numChannels = AudioFormat.channelCountFromInChannelMask(TEST_CONF); in doTest()