Home
last modified time | relevance | path

Searched refs:AudioHelper (Results 1 – 11 of 11) sorted by relevance

/cts/tests/tests/media/audio/src/android/media/audio/cts/
DAudioTrack_ListenerTest.java24 import android.media.cts.AudioHelper;
108 final AudioHelper.MakeSomethingAsynchronouslyAndLoop<AudioTrack> makeSomething; in doTest()
115 new AudioHelper.MakeSomethingAsynchronouslyAndLoop<AudioTrack>( in doTest()
116 new AudioHelper.MakesSomething<AudioTrack>() { in doTest()
134 byte[] vai = AudioHelper.createSoundDataInByteArray( in doTest()
201 AudioHelper.Statistics markerStat = new AudioHelper.Statistics(); in doTest()
211 AudioHelper.Statistics periodicStat = new AudioHelper.Statistics(); in doTest()
DMediaSyncEventTest.java30 import android.media.cts.AudioHelper;
70 final int frameCount = AudioHelper.frameCountFromMsec(PLAYBACK_TIME_IN_MS, format); in testSynchronizedRecord()
71 final int frameSize = AudioHelper.frameSizeFromFormat(format); in testSynchronizedRecord()
79 byte[] vab = AudioHelper.createSoundDataInByteArray( in testSynchronizedRecord()
DAudioRecordTest.java45 import android.media.cts.AudioHelper;
727 final AudioHelper.TimestampVerifier tsVerifier = in testTimestamp()
728 new AudioHelper.TimestampVerifier(TAG, RECORD_SAMPLE_RATE, in testTimestamp()
866 AudioHelper.assertMetricsKeyEquals(metrics, AudioRecord.MetricsConstants.ENCODING, in testMediaMetrics()
868 AudioHelper.assertMetricsKeyEquals(metrics, AudioRecord.MetricsConstants.SOURCE, in testMediaMetrics()
870 AudioHelper.assertMetricsKeyEquals(metrics, AudioRecord.MetricsConstants.SAMPLERATE, in testMediaMetrics()
872 AudioHelper.assertMetricsKeyEquals(metrics, AudioRecord.MetricsConstants.CHANNELS, in testMediaMetrics()
876 AudioHelper.assertMetricsKey(metrics, AudioRecord.MetricsConstants.LATENCY); in testMediaMetrics()
879 AudioHelper.assertMetricsKeyEquals(metrics, AudioRecord.MetricsConstants.CHANNEL_MASK, in testMediaMetrics()
881 AudioHelper.assertMetricsKeyEquals(metrics, AudioRecord.MetricsConstants.FRAME_COUNT, in testMediaMetrics()
[all …]
DAudioTrackLatencyTest.java24 import android.media.cts.AudioHelper;
189 mData = AudioHelper.createSineWavesShort(framesPerBuffer, in createTrack()
362 final short[] data = AudioHelper.createSineWavesShort(TEST_FRAMES_PER_BUFFER, in checkOutputLowLatency()
445 final short[] data = AudioHelper.createSineWavesShort(TEST_FRAMES_PER_BUFFER, in testGetUnderrunCount()
447 final short[] blip = AudioHelper.createSineWavesShort(TEST_FRAMES_PER_BLIP, in testGetUnderrunCount()
562 final short[] data = AudioHelper.createSineWavesShort(TEST_FRAMES_PER_BUFFER, in testGetUnderrunCountSleep()
564 final short[] blip = AudioHelper.createSineWavesShort(TEST_FRAMES_PER_BLIP, in testGetUnderrunCountSleep()
DAudioTrackTest.java38 import android.media.cts.AudioHelper;
1557 byte data[] = AudioHelper.createSoundDataInByteArray( in testReloadStaticData()
1689 byte data[] = AudioHelper.createSoundDataInByteArray( in playOnceStaticData()
1697 short data[] = AudioHelper.createSoundDataInShortArray( in playOnceStaticData()
1705 float data[] = AudioHelper.createSoundDataInFloatArray( in playOnceStaticData()
1834 final int frames = AudioHelper.frameCountFromMsec(300 /* ms */, format); in playOnceStreamData()
1855 byte data[] = AudioHelper.createSoundDataInByteArray( in playOnceStreamData()
1859 AudioHelper.maskArray(data, testConf, mask); in playOnceStreamData()
1870 short data[] = AudioHelper.createSoundDataInShortArray( in playOnceStreamData()
1874 AudioHelper.maskArray(data, testConf, mask); in playOnceStreamData()
[all …]
DAudioNativeTest.java26 import android.media.cts.AudioHelper;
126 float data[] = AudioHelper.createSoundDataInFloatArray( in testPlayStreamData()
133 short data[] = AudioHelper.createSoundDataInShortArray( in testPlayStreamData()
DSoundDoseHelperTest.java24 import static android.media.cts.AudioHelper.hasAudioSilentProperty;
DVolumeShaperTest.java36 import android.media.cts.AudioHelper;
205 final int frameCount = AudioHelper.frameCountFromMsec(100 /*ms*/, format); in createSineAudioTrack()
206 final int frameSize = AudioHelper.frameSizeFromFormat(format); in createSineAudioTrack()
220 final float[] vaf = AudioHelper.createSoundDataInFloatArray( in createSineAudioTrack()
DAudioPlaybackConfigurationTest.java34 import static android.media.cts.AudioHelper.createSoundDataInShortByteBuffer;
35 import static android.media.cts.AudioHelper.hasAudioSilentProperty;
/cts/tests/tests/media/common/src/android/media/cts/
DStreamUtils.java277 float[] fa = AudioHelper.createSoundDataInFloatArray( in PcmAudioBufferStream()
286 sb.put(AudioHelper.createSoundDataInShortArray( in PcmAudioBufferStream()
DAudioHelper.java49 public class AudioHelper { class