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.java458 final int TEST_CONF = AudioFormat.CHANNEL_CONFIGURATION_STEREO; in testPlaybackHeadPositionAfterInit() local
464 AudioTrack track = new AudioTrack(TEST_STREAM_TYPE, TEST_SR, TEST_CONF, TEST_FORMAT, in testPlaybackHeadPositionAfterInit()
465 AudioTrack.getMinBufferSize(TEST_SR, TEST_CONF, TEST_FORMAT), TEST_MODE); in testPlaybackHeadPositionAfterInit()
479 final int TEST_CONF = AudioFormat.CHANNEL_CONFIGURATION_STEREO; in testPlaybackHeadPositionIncrease() local
485 int minBuffSize = AudioTrack.getMinBufferSize(TEST_SR, TEST_CONF, TEST_FORMAT); in testPlaybackHeadPositionIncrease()
486 AudioTrack track = new AudioTrack(TEST_STREAM_TYPE, TEST_SR, TEST_CONF, TEST_FORMAT, in testPlaybackHeadPositionIncrease()
507 final int TEST_CONF = AudioFormat.CHANNEL_CONFIGURATION_STEREO; in testPlaybackHeadPositionAfterFlush() local
513 int minBuffSize = AudioTrack.getMinBufferSize(TEST_SR, TEST_CONF, TEST_FORMAT); in testPlaybackHeadPositionAfterFlush()
514 AudioTrack track = new AudioTrack(TEST_STREAM_TYPE, TEST_SR, TEST_CONF, TEST_FORMAT, in testPlaybackHeadPositionAfterFlush()
537 final int TEST_CONF = AudioFormat.CHANNEL_CONFIGURATION_STEREO; in testPlaybackHeadPositionAfterStop() local
[all …]
DAudioTrackLatencyTest.java75 final int TEST_CONF = AudioFormat.CHANNEL_OUT_STEREO; in testSetBufferSize() local
81 int minBuffSize = AudioTrack.getMinBufferSize(TEST_SR, TEST_CONF, TEST_FORMAT); in testSetBufferSize()
82 AudioTrack track = new AudioTrack(TEST_STREAM_TYPE, TEST_SR, TEST_CONF, TEST_FORMAT, in testSetBufferSize()
273 final int TEST_CONF = AudioFormat.CHANNEL_OUT_STEREO; in createCustomAudioTrack() local
278 int bufferSizeBytes = 2 * AudioTrack.getMinBufferSize(TEST_SR, TEST_CONF, TEST_FORMAT); in createCustomAudioTrack()
289 .setChannelMask(TEST_CONF) in createCustomAudioTrack()
386 final int TEST_CONF = AudioFormat.CHANNEL_OUT_STEREO; in testGetUnderrunCount() local
401 int minBuffSize = AudioTrack.getMinBufferSize(TEST_SR, TEST_CONF, TEST_FORMAT); in testGetUnderrunCount()
403 AudioTrack track = new AudioTrack(TEST_STREAM_TYPE, TEST_SR, TEST_CONF, TEST_FORMAT, in testGetUnderrunCount()
503 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.java1062 final int TEST_SR, final int TEST_CONF, final int TEST_FORMAT) throws Exception { in doTest() argument
1066 TEST_SR, TEST_CONF, TEST_FORMAT, TEST_TIME_MS); in doTest()
1072 final int TEST_SR, final int TEST_CONF, final int TEST_FORMAT, final int TEST_TIME_MS) in doTest() argument
1085 * AudioFormat.channelCountFromInChannelMask(TEST_CONF)) : in doTest()
1086 AudioRecord.getMinBufferSize(TEST_SR, TEST_CONF, TEST_FORMAT); in doTest()
1095 record = createAudioRecord(TEST_SOURCE, TEST_SR, TEST_CONF, in doTest()
1103 return createAudioRecord(TEST_SOURCE, TEST_SR, TEST_CONF, in doTest()
1162 final int numChannels = AudioFormat.channelCountFromInChannelMask(TEST_CONF); in doTest()