Home
last modified time | relevance | path

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

12

/cts/tests/tests/media/libndkaudio/
DAudioSource.cpp25 AudioSource::AudioSource(int numChannels) in AudioSource() function in ndkaudio::AudioSource
31 AudioSource::~AudioSource() in ~AudioSource()
DAudioPlayer.h25 class AudioSource; variable
32 SLresult Open(int numChannels, AudioSource* filler);
44 inline AudioSource* getSource() { in getSource()
63 AudioSource* source_;
DAudioSource.h22 class AudioSource {
24 AudioSource(int numChannels);
25 virtual ~AudioSource();
DPeriodicAudioSource.cpp22 : AudioSource(numChannels), targetFreq_(1000.0f) { in PeriodicAudioSource()
DPeriodicAudioSource.h24 class PeriodicAudioSource : public AudioSource {
DAndroid.mk31 AudioSource.cpp \
DAudioPlayer.cpp130 SLresult AudioPlayer::Open(int numChannels, AudioSource* source) { in Open()
/cts/tests/tests/permission2/src/android/permission2/cts/
DNoCaptureAudioOutputPermissionTest.java22 import android.media.MediaRecorder.AudioSource;
59 AudioRecord record = new AudioRecord(AudioSource.REMOTE_SUBMIX, 44100, in testCreateAudioRecord()
/cts/tests/tests/media/src/android/media/cts/
DMediaRecorderTest.java321 mMediaRecorder.setAudioSource(MediaRecorder.AudioSource.MIC); in testRecorderMPEG2TS()
441 mMediaRecorder.setAudioSource(MediaRecorder.AudioSource.DEFAULT); in recordVideoUsingCamera()
608 mMediaRecorder.setAudioSource(MediaRecorder.AudioSource.MIC); in testRecordAudioInRawFormat()
617 mMediaRecorder.setAudioSource(MediaRecorder.AudioSource.MIC); in configureDefaultMediaRecorder()
670 mMediaRecorder.setAudioSource(MediaRecorder.AudioSource.UNPROCESSED); in testRecordAudioFromAudioSourceUnprocessed()
679 assertTrue(MediaRecorder.AudioSource.DEFAULT <= max); in testGetAudioSourceMax()
680 assertTrue(MediaRecorder.AudioSource.MIC <= max); in testGetAudioSourceMax()
681 assertTrue(MediaRecorder.AudioSource.CAMCORDER <= max); in testGetAudioSourceMax()
682 assertTrue(MediaRecorder.AudioSource.VOICE_CALL <= max); in testGetAudioSourceMax()
683 assertTrue(MediaRecorder.AudioSource.VOICE_COMMUNICATION <= max); in testGetAudioSourceMax()
[all …]
DAudioRecord_BufferSizeTest.java22 import android.media.MediaRecorder.AudioSource;
93 mAudioRecord = new AudioRecord(AudioSource.DEFAULT, sampleRateInHz, in createAudioRecord()
DMediaRandomTest.java292 MediaRecorder.AudioSource.DEFAULT, in testRecorderRandomAction()
293 MediaRecorder.AudioSource.MIC, in testRecorderRandomAction()
294 MediaRecorder.AudioSource.CAMCORDER, in testRecorderRandomAction()
DAudioRecordTest.java117 .setAudioSource(MediaRecorder.AudioSource.DEFAULT) in setUp()
155 assertEquals(MediaRecorder.AudioSource.DEFAULT, mAudioRecord.getAudioSource()); in testAudioRecordProperties()
395 final int expectedCapturePreset = MediaRecorder.AudioSource.DEFAULT; in testAudioRecordBuilderDefault()
460 final int expectedSource = MediaRecorder.AudioSource.VOICE_COMMUNICATION; in testAudioRecordBuilderParams()
642 .setAudioSource(MediaRecorder.AudioSource.MIC) in testRecordNoDataForIdleUids()
842 final int[] voiceCallAudioSources = new int [] {MediaRecorder.AudioSource.VOICE_CALL, in testVoiceCallAudioSourcePermissions()
843 MediaRecorder.AudioSource.VOICE_DOWNLINK, in testVoiceCallAudioSourcePermissions()
844 MediaRecorder.AudioSource.VOICE_UPLINK}; in testVoiceCallAudioSourcePermissions()
881 .setAudioSource(MediaRecorder.AudioSource.MIC) in testMediaMetrics()
973 mAudioRecord.getAudioSessionId(), MediaRecorder.AudioSource.DEFAULT); in testAudioRecordInfoCallback()
[all …]
DAudioRecordAppOpTest.java69 .setAudioSource(MediaRecorder.AudioSource.MIC) in testRecordAppOps()
DAudioPreProcessingTest.java235 ar = new AudioRecord(MediaRecorder.AudioSource.DEFAULT, in getAudioRecord()
DRoutingTest.java308 MediaRecorder.AudioSource.DEFAULT, in allocAudioRecord()
535 MediaRecorder.AudioSource.DEFAULT, in test_audioRecord_getRoutedDevice()
779 mediaRecorder.setAudioSource(MediaRecorder.AudioSource.MIC); in allocMediaRecorder()
DAudioRecordingConfigurationTest.java46 private static final int TEST_AUDIO_SOURCE = MediaRecorder.AudioSource.VOICE_RECOGNITION;
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DAudioRecordHelper.java19 MediaRecorder.AudioSource.MIC, MediaRecorder.AudioSource.VOICE_RECOGNITION};
DTrivialRecorder.java47 MediaRecorder.AudioSource.DEFAULT, in TrivialRecorder()
DAudioFrequencySpeakerActivity.java88 private final int mSelectedRecordSource = MediaRecorder.AudioSource.VOICE_RECOGNITION;
DAudioFrequencyLineActivity.java82 private final int mSelectedRecordSource = MediaRecorder.AudioSource.UNPROCESSED;
DAudioFrequencyMicActivity.java118 private final int mSelectedRecordSource = MediaRecorder.AudioSource.VOICE_RECOGNITION;
/cts/tests/tests/security/src/android/security/cts/
DMediaRecorderInfoLeakTest.java37 mediaRecorder.setAudioSource(MediaRecorder.AudioSource.DEFAULT); in test_cve_2016_2499()
/cts/suite/audio_quality/client/src/com/android/cts/audiotest/
DAudioProtocol.java23 import android.media.MediaRecorder.AudioSource;
353 int type = (mode == 0) ? AudioSource.VOICE_RECOGNITION : AudioSource.DEFAULT; in handleStartRecording()
/cts/tests/tests/mediastress/src/android/mediastress/cts/
DMediaRecorderStressTest.java435 mRecorder.setAudioSource(MediaRecorder.AudioSource.MIC); in testStressRecordVideoAndPlayback()
/cts/tests/camera/src/android/hardware/cts/
DCameraTest.java1334 recorder.setAudioSource(MediaRecorder.AudioSource.CAMCORDER); in recordVideoBySize()
1385 recorder.setAudioSource(MediaRecorder.AudioSource.CAMCORDER); in recordVideo()
2871 recorder.setAudioSource(MediaRecorder.AudioSource.CAMCORDER); in recordVideoSimpleBySize()
2896 recorder.setAudioSource(MediaRecorder.AudioSource.CAMCORDER); in recordVideoSimple()
3354 recorder.setAudioSource(MediaRecorder.AudioSource.CAMCORDER); in testVideoSnapshotByCamera()

12