Home
last modified time | relevance | path

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

12

/cts/tests/tests/media/src/android/media/cts/
DAudioFormatTest.java46 .setEncoding(TEST_ENCODING).setSampleRate(TEST_SR) in testBuilderForCopy()
92 .setSampleRate(TEST_SR).build(); in testPartialFormatBuilderForCopyRate()
161 .setEncoding(TEST_ENCODING).setSampleRate(TEST_SR) in testParcel()
198 .setSampleRate(44100) in testFrameSize()
208 .setSampleRate(192000) in testFrameSize()
305 .setSampleRate(sampleRate) in testAudioFormatBuilderError()
DAudioRecordSharedAudioTest.java82 .setSampleRate(SAMPLING_RATE_HZ) in testPermissionFailure()
104 .setSampleRate(SAMPLING_RATE_HZ) in testPermissionSuccess()
143 .setSampleRate(SAMPLING_RATE_HZ) in testBadValues()
177 .setSampleRate(SAMPLING_RATE_HZ) in testCapturesMatch()
204 .setSampleRate(SAMPLING_RATE_HZ) in testCapturesMatch()
DMediaSyncEventTest.java61 .setSampleRate(PLAYBACK_SAMPLE_RATE) in testSynchronizedRecord()
86 .setSampleRate(RECORD_SAMPLE_RATE) in testSynchronizedRecord()
DAudioRecordTest.java122 .setSampleRate(SAMPLING_RATE_HZ) in setUp()
484 .setAudioFormat(new AudioFormat.Builder().setSampleRate(expectedRate).build()) in testAudioRecordBuilderPartialFormat()
518 .setSampleRate(expectedRate) in testAudioRecordBuilderParams()
597 .setSampleRate(RECORD_SAMPLE_RATE) in testTimestamp()
701 .setSampleRate(8000) in testRecordNoDataForIdleUids()
782 .setSampleRate(8000) in testRestrictedAudioSourcePermissions()
811 .setSampleRate(RECORD_SAMPLE_RATE) in testMediaMetrics()
982 .setSampleRate(sampleRateInHz) in createAudioRecord()
1659 .setSampleRate(8000) in testPrivacySensitiveBuilder()
1679 .setSampleRate(8000) in testPrivacySensitiveDefaults()
[all …]
DNonBlockingAudioTrack.java92 .setSampleRate(sampleRate) in NonBlockingAudioTrack()
DAudioRecordAppOpTest.java78 .setSampleRate(8000) in testRecordAppOps()
DAudioTrackOffloadTest.java296 .setSampleRate(AUDIOTRACK_DEFAULT_SAMPLE_RATE) in getAudioFormatWithEncoding()
DAudioTrackTest.java351 .setChannelMask(TEST_CHANNELS).setSampleRate(TEST_RATE).build()) in testBuilderFormat()
1881 .setSampleRate(testSampleRate); in playOnceStreamByteBuffer()
2163 .setSampleRate(sampleRate) in doTestTimestamp()
2405 .setSampleRate(TEST_SR) in testVariableSpeedPlayback()
2574 .setSampleRate(44100) in testAudioTrackLargeFrameCount()
2601 .setSampleRate(48000) in testAc3BuilderNoBufferSize()
2649 .setSampleRate(48000) in testIsDirectPlaybackSupported()
2667 .setSampleRate(TEST_SAMPLE_RATE) in testMediaMetrics()
2734 .setSampleRate(8000) in testMaxAudioTracks()
3463 .setSampleRate(BIGNUM) in testAudioTrackBuilderError()
DAudioHelper.java508 .setSampleRate(sampleRate) in AudioRecordAudit()
531 .setSampleRate(sampleRate) in AudioRecordAudit()
DAudioRecordingConfigurationTest.java80 .setSampleRate(TEST_SAMPLE_RATE) in setUp()
/cts/apps/CtsVerifier/jni/audio_loopback/analyzer/
DLatencyAnalyzer.h153 void setSampleRate(int32_t sampleRate) { in setSampleRate() function
315 virtual void setSampleRate(int32_t sampleRate) { in setSampleRate() function
380 mAudioRecording.setSampleRate(getSampleRate()); in PulseLatencyAnalyzer()
396 void setSampleRate(int32_t sampleRate) override { in setSampleRate() function
397 LoopbackProcessor::setSampleRate(sampleRate); in setSampleRate()
398 mAudioRecording.setSampleRate(sampleRate); in setSampleRate()
/cts/apps/CtsVerifier/jni/megaaudio/player/
DWaveTableSource.h52 void setSampleRate(float sampleRate) { in setSampleRate() function
DOboePlayer.cpp84 builder.setSampleRate(mSampleRate); in setupStream()
/cts/tests/tests/systemui/AudioRecorderTestApp_AudioRecord/src/android/systemui/cts/audiorecorder/audiorecord/
DAudioRecorderService.java58 .setSampleRate(sampleRate) in run()
/cts/tests/tests/permission5/BlamedPermissionApp2/src/android/permission5/cts/blamed2/
DMyRecognitionService.kt71 .setSampleRate(8000) in performOperationMicRecoWithAttribution()
/cts/apps/CtsVerifier/src/org/hyphonate/megaaudio/player/sources/
DWaveTableSource.java81 public void setSampleRate(float sampleRate) { in setSampleRate() method in WaveTableSource
/cts/tests/mediapc/src/android/mediapc/cts/
DAudioPlaybackLoad.java73 .setSampleRate(sampleRate) in createAudioTrack()
/cts/apps/CtsVerifier/jni/megaaudio/recorder/
DOboeRecorder.cpp54 builder.setSampleRate(mSampleRate); in setupStream()
/cts/apps/CtsVerifier/src/org/hyphonate/megaaudio/recorder/
DJavaRecorder.java109 .setSampleRate(mSampleRate) in setupStream()
/cts/tests/tests/sensorprivacy/test-apps/utils/src/android/sensorprivacy/cts/testapp/utils/
DUtils.kt31 .setSampleRate(SAMPLING_RATE) in <lambda>()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/tv/audio/
DAudioCapabilitiesTestActivity.java231 .setSampleRate(sampleRate) in makeAudioFormat()
/cts/tests/tests/voiceinteraction/service/src/android/voiceinteraction/service/
DMainHotwordDetectionService.java304 .setSampleRate(sampleRate) in canReadAudio()
DBasicVoiceInteractionService.java332 .setSampleRate(32000)
/cts/tests/tests/mediaparser/src/android/media/mediaparser/cts/
DMockMediaParserOutputConsumer.java239 .setSampleRate(sampleRate) in toExoPlayerFormat()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DSoundPlayerObject.java389 .setSampleRate(mInputSampleRate) in setSoundWithResId()

12