Home
last modified time | relevance | path

Searched refs:SAMPLE_RATE (Results 1 – 10 of 10) sorted by relevance

/cts/tests/tests/virtualdevice/audio/src/android/virtualdevice/cts/audio/
DAudioInjector.java38 public static final int SAMPLE_RATE = 44100; field in AudioInjector
42 public static final int NUMBER_OF_SAMPLES = computeNumSamples(SAMPLE_RATE, CHANNEL_COUNT);
46 .setSampleRate(SAMPLE_RATE)
107 return createAudioData(SAMPLE_RATE, NUMBER_OF_SAMPLES, CHANNEL_COUNT, FREQUENCY, AMPLITUDE); in createAudioData()
DVirtualAudioTest.java90 public static final int SAMPLE_RATE = 44100; field in VirtualAudioTest
94 .setSampleRate(SAMPLE_RATE)
99 .setSampleRate(SAMPLE_RATE)
377 AudioTrack audioTrack = new AudioTrack(AudioManager.STREAM_MUSIC, SAMPLE_RATE, in playAudio()
388 SAMPLE_RATE, in recordAudio()
DVirtualAudioPermissionTest.java288 AudioInjector.SAMPLE_RATE, in recordAudio()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DAudioOutputRoutingNotificationsActivity.java46 static final int SAMPLE_RATE = 48000; field in AudioOutputRoutingNotificationsActivity
85 .setSampleRate(SAMPLE_RATE) in onCreate()
DAudioInputRoutingNotificationsActivity.java48 static final int SAMPLE_RATE = 48000; field in AudioInputRoutingNotificationsActivity
80 .setSampleRate(SAMPLE_RATE) in onCreate()
DAnalogHeadsetAudioActivity.java101 static final int SAMPLE_RATE = 48000; field in AnalogHeadsetAudioActivity
377 .setSampleRate(SAMPLE_RATE) in setupPlayer()
/cts/tests/tests/media/audio/src/android/media/audio/cts/
DRemoteSubmixTest.java80 private static final int SAMPLE_RATE = 44100; field in RemoteSubmixTest
84 private static final int BUFFER_SIZE = SAMPLE_RATE * DURATION_IN_SEC
129 .setSampleRate(SAMPLE_RATE) in createPlaybackCaptureRecord()
DAudioPlaybackCaptureTest.java83 private static final int SAMPLE_RATE = 44100; field in AudioPlaybackCaptureTest
84 private static final int BUFFER_SIZE = SAMPLE_RATE * 2; // 1s at 44.1k/s 16bit mono
161 .setSampleRate(SAMPLE_RATE) in createDefaultPlaybackCaptureRecord()
DAudioTrackTest.java2747 AudioHelper.assertMetricsKeyEquals(metrics, AudioTrack.MetricsConstants.SAMPLE_RATE, in testMediaMetrics()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dtest-current.txt2013 field public static final String SAMPLE_RATE = "android.media.audiotrack.sampleRate";