Home
last modified time | relevance | path

Searched refs:getMinBufferSize (Results 1 – 25 of 25) sorted by relevance

/cts/tests/tests/media/src/android/media/cts/
DAudioTrackTest.java98 _inTest_format, AudioTrack.getMinBufferSize(testSampleRates[i], in constructorTestMultiSampleRate()
126 + AudioTrack.getMinBufferSize(testSampleRates[i], _inTest_config, in constructorTestMultiSampleRate()
268 TYPE_TEST_FORMAT, AudioTrack.getMinBufferSize(TYPE_TEST_SR, TYPE_TEST_CONF, in testConstructorStreamType()
307 final int buffSizeInBytes = AudioTrack.getMinBufferSize( in testBuilderDefault()
336 final int buffSizeInBytes = AudioTrack.getMinBufferSize( in testBuilderFormat()
465 AudioTrack.getMinBufferSize(TEST_SR, TEST_CONF, TEST_FORMAT), TEST_MODE); in testPlaybackHeadPositionAfterInit()
485 int minBuffSize = AudioTrack.getMinBufferSize(TEST_SR, TEST_CONF, TEST_FORMAT); in testPlaybackHeadPositionIncrease()
513 int minBuffSize = AudioTrack.getMinBufferSize(TEST_SR, TEST_CONF, TEST_FORMAT); in testPlaybackHeadPositionAfterFlush()
544 int minBuffSize = AudioTrack.getMinBufferSize(TEST_SR, TEST_CONF, TEST_FORMAT); in testPlaybackHeadPositionAfterStop()
580 int minBuffSize = AudioTrack.getMinBufferSize(TEST_SR, TEST_CONF, TEST_FORMAT); in testPlaybackHeadPositionAfterPause()
[all …]
DAudioTrackLatencyTest.java81 int minBuffSize = AudioTrack.getMinBufferSize(TEST_SR, TEST_CONF, TEST_FORMAT); in testSetBufferSize()
141 int minBufferSize = AudioTrack.getMinBufferSize(sampleRate, config, format); in createTrack()
278 int bufferSizeBytes = 2 * AudioTrack.getMinBufferSize(TEST_SR, TEST_CONF, TEST_FORMAT); in createCustomAudioTrack()
401 int minBuffSize = AudioTrack.getMinBufferSize(TEST_SR, TEST_CONF, TEST_FORMAT); in testGetUnderrunCount()
518 int minBuffSize = AudioTrack.getMinBufferSize(TEST_SR, TEST_CONF, TEST_FORMAT); in testGetUnderrunCountSleep()
595 public static int getMinBufferSize() { in getMinBufferSize() method in AudioTrackLatencyTest.TrackBufferSizeChecker
596 return AudioTrack.getMinBufferSize(TEST_SR, TEST_CONF, TEST_FORMAT); in getMinBufferSize()
DAudioRecord_BufferSizeTest.java69 int bufferSize = AudioRecord.getMinBufferSize(sampleRateInHz, CHANNEL_CONFIG, AUDIO_FORMAT); in record()
DRoutingTest.java103 AudioTrack.getMinBufferSize( in allocAudioTrack()
302 AudioRecord.getMinBufferSize( in allocAudioRecord()
461 AudioTrack.getMinBufferSize( in test_audioTrack_getRoutedDevice()
529 AudioRecord.getMinBufferSize( in test_audioRecord_getRoutedDevice()
DNonBlockingAudioTrack.java66 AudioTrack.getMinBufferSize( in NonBlockingAudioTrack()
DAudioPreProcessingTest.java239 AudioRecord.getMinBufferSize(SAMPLING_RATE, in getAudioRecord()
DAudioTrack_ListenerTest.java85 final int minBuffSize = AudioTrack.getMinBufferSize(TEST_SR, TEST_CONF, TEST_FORMAT); in doTest()
DAudioEffectTest.java105 AudioRecord.getMinBufferSize(SAMPLING_RATE, in getAudioRecord()
255 AudioTrack.getMinBufferSize(44100, in test1_7AuxiliaryOnAudioTrack()
DAudioRecordTest.java119 AudioRecord.getMinBufferSize(SAMPLING_RATE_HZ, in setUp()
163 int bufferSize = AudioRecord.getMinBufferSize(SAMPLING_RATE_HZ, in testAudioRecordProperties()
1086 AudioRecord.getMinBufferSize(TEST_SR, TEST_CONF, TEST_FORMAT); in doTest()
DAudioTrackSurroundTest.java198 int minBufferSize = AudioTrack.getMinBufferSize( in createAudioTrack()
DMediaSyncTest.java708 int minBufferSizeInBytes = AudioTrack.getMinBufferSize( in getAudioTrack()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/audiolib/
DStreamRecorder.java64 numBytes = AudioRecord.getMinBufferSize(sampleRate, AudioFormat.CHANNEL_IN_STEREO, in calcNumBufferBytes()
68 numBytes = AudioRecord.getMinBufferSize(sampleRate, in calcNumBufferBytes()
DStreamPlayer.java91 return AudioTrack.getMinBufferSize(sampleRate, in calcNumBufferBytes()
/cts/tests/tests/permission2/src/android/permission2/cts/
DNoCaptureAudioOutputPermissionTest.java41 int bufferSize = AudioRecord.getMinBufferSize(44100, in testCreateAudioRecord()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DTrivialRecorder.java41 AudioRecord.getMinBufferSize( in TrivialRecorder()
DTrivialPlayer.java40 AudioTrack.getMinBufferSize( in TrivialPlayer()
DAudioRecordHelper.java41 tmpBufferSize = AudioRecord.getMinBufferSize(rate, CHANNEL, ENCODING); in AudioRecordHelper()
DSoundPlayerObject.java131 mMinPlayBufferSizeInBytes = AudioTrack.getMinBufferSize(mSamplingRate, in setSoundWithResId()
DHifiUltrasoundTestActivity.java306 AudioFormat.ENCODING_PCM_16BIT, Math.max(data.length, AudioTrack.getMinBufferSize( in play()
DHifiUltrasoundSpeakerTestActivity.java347 AudioFormat.ENCODING_PCM_16BIT, Math.max(data.length, AudioTrack.getMinBufferSize( in play()
DAudioFrequencySpeakerActivity.java597 int minRecordBuffSizeInBytes = AudioRecord.getMinBufferSize(mSamplingRate, in initRecord()
DAudioFrequencyLineActivity.java579 int minRecordBuffSizeInBytes = AudioRecord.getMinBufferSize(mSamplingRate, in initRecord()
DAudioFrequencyMicActivity.java814 int minRecordBuffSizeInBytes = AudioRecord.getMinBufferSize(mSamplingRate, in initRecord()
DAudioFrequencyUnprocessedActivity.java1033 int minRecordBuffSizeInBytes = AudioRecord.getMinBufferSize(mSamplingRate, in initRecord()
/cts/suite/audio_quality/client/src/com/android/cts/audiotest/
DAudioProtocol.java262 int bufferSize = AudioTrack.getMinBufferSize(samplingRate, in handleStartPlayback()
351 int minBufferSize = AudioRecord.getMinBufferSize(samplingRate, in handleStartRecording()