/cts/tests/tests/media/audio/src/android/media/audio/cts/ |
D | AudioTrackTest.java | 492 final int TEST_CONF = AudioFormat.CHANNEL_CONFIGURATION_STEREO; in testPlaybackHeadPositionAfterInit() local 498 AudioTrack track = new AudioTrack(TEST_STREAM_TYPE, TEST_SR, TEST_CONF, TEST_FORMAT, in testPlaybackHeadPositionAfterInit() 499 AudioTrack.getMinBufferSize(TEST_SR, TEST_CONF, TEST_FORMAT), TEST_MODE); in testPlaybackHeadPositionAfterInit() 513 final int TEST_CONF = AudioFormat.CHANNEL_CONFIGURATION_STEREO; in testPlaybackHeadPositionIncrease() local 519 int minBuffSize = AudioTrack.getMinBufferSize(TEST_SR, TEST_CONF, TEST_FORMAT); in testPlaybackHeadPositionIncrease() 520 AudioTrack track = new AudioTrack(TEST_STREAM_TYPE, TEST_SR, TEST_CONF, TEST_FORMAT, in testPlaybackHeadPositionIncrease() 541 final int TEST_CONF = AudioFormat.CHANNEL_CONFIGURATION_STEREO; in testPlaybackHeadPositionAfterFlush() local 547 int minBuffSize = AudioTrack.getMinBufferSize(TEST_SR, TEST_CONF, TEST_FORMAT); in testPlaybackHeadPositionAfterFlush() 548 AudioTrack track = new AudioTrack(TEST_STREAM_TYPE, TEST_SR, TEST_CONF, TEST_FORMAT, in testPlaybackHeadPositionAfterFlush() 571 final int TEST_CONF = AudioFormat.CHANNEL_CONFIGURATION_STEREO; in testPlaybackHeadPositionAfterStop() local [all …]
|
D | AudioTrackLatencyTest.java | 323 final int TEST_CONF = AudioFormat.CHANNEL_OUT_STEREO; in createCustomAudioTrack() local 328 int bufferSizeBytes = 2 * AudioTrack.getMinBufferSize(TEST_SR, TEST_CONF, TEST_FORMAT); in createCustomAudioTrack() 339 .setChannelMask(TEST_CONF) in createCustomAudioTrack() 436 final int TEST_CONF = AudioFormat.CHANNEL_OUT_STEREO; in testGetUnderrunCount() local 451 int minBuffSize = AudioTrack.getMinBufferSize(TEST_SR, TEST_CONF, TEST_FORMAT); in testGetUnderrunCount() 453 AudioTrack track = new AudioTrack(TEST_STREAM_TYPE, TEST_SR, TEST_CONF, TEST_FORMAT, in testGetUnderrunCount() 553 final int TEST_CONF = AudioFormat.CHANNEL_OUT_STEREO; in testGetUnderrunCountSleep() local 568 int minBuffSize = AudioTrack.getMinBufferSize(TEST_SR, TEST_CONF, TEST_FORMAT); in testGetUnderrunCountSleep() 570 AudioTrack track = new AudioTrack(TEST_STREAM_TYPE, TEST_SR, TEST_CONF, TEST_FORMAT, in testGetUnderrunCountSleep() 635 private final static int TEST_CONF = AudioFormat.CHANNEL_OUT_STEREO; field in AudioTrackLatencyTest.TrackBufferSizeChecker [all …]
|
D | AudioTrack_ListenerTest.java | 44 private final static int TEST_CONF = AudioFormat.CHANNEL_OUT_MONO; field in AudioTrack_ListenerTest 96 final int minBuffSize = AudioTrack.getMinBufferSize(TEST_SR, TEST_CONF, TEST_FORMAT); in doTest() 111 track = new AudioTrack(TEST_STREAM_TYPE, TEST_SR, TEST_CONF, in doTest() 119 return new AudioTrack(TEST_STREAM_TYPE, TEST_SR, TEST_CONF, in doTest() 167 final int numChannels = AudioFormat.channelCountFromOutChannelMask(TEST_CONF); in doTest()
|
D | AudioRecordTest.java | 1051 final int TEST_SR, final int TEST_CONF, final int TEST_FORMAT) throws Exception { in doTest() argument 1055 TEST_SR, TEST_CONF, TEST_FORMAT, TEST_TIME_MS); in doTest() 1061 final int TEST_SR, final int TEST_CONF, final int TEST_FORMAT, final int TEST_TIME_MS) in doTest() argument 1074 * AudioFormat.channelCountFromInChannelMask(TEST_CONF)) : in doTest() 1075 AudioRecord.getMinBufferSize(TEST_SR, TEST_CONF, TEST_FORMAT); in doTest() 1086 record = createAudioRecord(TEST_SOURCE, TEST_SR, TEST_CONF, in doTest() 1094 return createAudioRecord(TEST_SOURCE, TEST_SR, TEST_CONF, in doTest() 1162 final int numChannels = AudioFormat.channelCountFromInChannelMask(TEST_CONF); in doTest()
|