Home
last modified time | relevance | path

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

12

/frameworks/base/media/java/android/media/
DMediaRecorder.java196 public final class AudioSource { class in MediaRecorder
198 private AudioSource() {} in AudioSource() method in MediaRecorder.AudioSource
311 case AudioSource.DEFAULT: in isSystemOnlyAudioSource()
312 case AudioSource.MIC: in isSystemOnlyAudioSource()
313 case AudioSource.VOICE_UPLINK: in isSystemOnlyAudioSource()
314 case AudioSource.VOICE_DOWNLINK: in isSystemOnlyAudioSource()
315 case AudioSource.VOICE_CALL: in isSystemOnlyAudioSource()
316 case AudioSource.CAMCORDER: in isSystemOnlyAudioSource()
317 case AudioSource.VOICE_RECOGNITION: in isSystemOnlyAudioSource()
318 case AudioSource.VOICE_COMMUNICATION: in isSystemOnlyAudioSource()
[all …]
DAudioRecordingConfiguration.java115 MediaRecorder.AudioSource.DEFAULT,
116 MediaRecorder.AudioSource.MIC,
117 MediaRecorder.AudioSource.VOICE_UPLINK,
118 MediaRecorder.AudioSource.VOICE_DOWNLINK,
119 MediaRecorder.AudioSource.VOICE_CALL,
120 MediaRecorder.AudioSource.CAMCORDER,
121 MediaRecorder.AudioSource.VOICE_RECOGNITION,
122 MediaRecorder.AudioSource.VOICE_COMMUNICATION,
123 MediaRecorder.AudioSource.UNPROCESSED
126 public @interface AudioSource {} annotation in AudioRecordingConfiguration
[all …]
DAudioAttributes.java342 private int mSource = MediaRecorder.AudioSource.AUDIO_SOURCE_INVALID;
443 private int mSource = MediaRecorder.AudioSource.AUDIO_SOURCE_INVALID;
701 case MediaRecorder.AudioSource.DEFAULT: in setCapturePreset()
702 case MediaRecorder.AudioSource.MIC: in setCapturePreset()
703 case MediaRecorder.AudioSource.CAMCORDER: in setCapturePreset()
704 case MediaRecorder.AudioSource.VOICE_RECOGNITION: in setCapturePreset()
705 case MediaRecorder.AudioSource.VOICE_COMMUNICATION: in setCapturePreset()
706 case MediaRecorder.AudioSource.UNPROCESSED: in setCapturePreset()
724 if ((preset == MediaRecorder.AudioSource.HOTWORD) in setInternalCapturePreset()
725 || (preset == MediaRecorder.AudioSource.REMOTE_SUBMIX) in setInternalCapturePreset()
[all …]
DAudioRecord.java329 if (attributes.getCapturePreset() == MediaRecorder.AudioSource.REMOTE_SUBMIX) { in AudioRecord()
497 if ( (source < MediaRecorder.AudioSource.DEFAULT) || in setAudioSource()
521 if (attributes.getCapturePreset() == MediaRecorder.AudioSource.AUDIO_SOURCE_INVALID) { in setAudioAttributes()
611 .setInternalCapturePreset(MediaRecorder.AudioSource.DEFAULT) in build()
676 if ( (audioSource < MediaRecorder.AudioSource.DEFAULT) || in audioParamCheck()
678 (audioSource != MediaRecorder.AudioSource.RADIO_TUNER) && in audioParamCheck()
679 (audioSource != MediaRecorder.AudioSource.HOTWORD)) ) { in audioParamCheck()
/frameworks/av/media/libstagefright/
DAudioSource.cpp36 AudioSource *source = (AudioSource *) user; in AudioRecordCallbackFunction()
52 AudioSource::AudioSource( in AudioSource() function in android::AudioSource
114 AudioSource::~AudioSource() { in ~AudioSource()
120 status_t AudioSource::initCheck() const { in initCheck()
124 status_t AudioSource::start(MetaData *params) { in start()
153 void AudioSource::releaseQueuedFrames_l() { in releaseQueuedFrames_l()
163 void AudioSource::waitOutstandingEncodingFrames_l() { in waitOutstandingEncodingFrames_l()
170 status_t AudioSource::reset() { in reset()
192 sp<MetaData> AudioSource::getFormat() { in getFormat()
208 void AudioSource::rampVolume( in rampVolume()
[all …]
DAndroid.bp18 "AudioSource.cpp",
/frameworks/av/media/libstagefright/include/media/stagefright/
DAudioSource.h33 struct AudioSource : public MediaSource, public MediaBufferObserver { struct
36 AudioSource(
62 virtual ~AudioSource(); argument
115 AudioSource(const AudioSource &); argument
116 AudioSource &operator=(const AudioSource &); argument
/frameworks/base/core/java/android/bluetooth/
DBluetoothUuid.java41 public static final ParcelUuid AudioSource = field in BluetoothUuid
93 AudioSink, AudioSource, AdvAudioDist, HSP, Handsfree, AvrcpController, AvrcpTarget,
97 return uuid.equals(AudioSource); in isAudioSource()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/mediarecorder/
DMediaRecorderTest.java87 mRecorder.setAudioSource(MediaRecorder.AudioSource.MIC); in recordVideo()
136 recorder.setAudioSource(MediaRecorder.AudioSource.MIC); in validateGetSurface()
237 recorder.setAudioSource(MediaRecorder.AudioSource.MIC); in recordVideoFromSurface()
348 mMediaRecorder.setAudioSource(MediaRecorder.AudioSource.MIC); in recordVideoWithPara()
379 mRecorder.setAudioSource(MediaRecorder.AudioSource.MIC); in invalidRecordSetting()
/frameworks/av/media/libmediaplayerservice/
DStagefrightRecorder.h40 struct AudioSource;
88 sp<AudioSource> mAudioSourceNode;
DStagefrightRecorder.cpp1064 sp<AudioSource> audioSource = in createAudioSource()
1065 new AudioSource( in createAudioSource()
/frameworks/av/cmds/stagefright/
Daudioloop.cpp87 source = new AudioSource( in main()
/frameworks/av/media/libaudiohal/
DDeviceHalHidl.cpp39 using ::android::hardware::audio::common::V2_0::AudioSource;
282 AudioSource(source), in openInputStream()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DMediaRecorderStateUnitTestTemplate.java42 public static final int AUDIO_SOURCE = MediaRecorder.AudioSource.MIC;
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DA2dpSinkProfile.java45 BluetoothUuid.AudioSource,
DLocalBluetoothProfileManager.java159 if (BluetoothUuid.isUuidPresent(uuids, BluetoothUuid.AudioSource)) { in updateLocalProfiles()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/
DMediaPlayerPerformance.java231 mRecorder.setAudioSource(MediaRecorder.AudioSource.MIC); in stressVideoRecord()
268 mRecorder.setAudioSource(MediaRecorder.AudioSource.MIC); in stressAudioRecord()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
DMediaRecorderStressTest.java231 mRecorder.setAudioSource(MediaRecorder.AudioSource.MIC); in recordVideoAndPlayback()
DCamera2RecordingTest.java807 mMediaRecorder.setAudioSource(MediaRecorder.AudioSource.CAMCORDER); in prepareRecordingWithProfile()
832 mMediaRecorder.setAudioSource(MediaRecorder.AudioSource.CAMCORDER); in prepareRecording()
DCamera2SwitchPreviewTest.java457 mMediaRecorder.setAudioSource(MediaRecorder.AudioSource.CAMCORDER); in prepareRecordingWithProfile()
/frameworks/av/media/libstagefright/wifi-display/source/
DPlaybackSession.cpp1072 sp<AudioSource> audioSource = new AudioSource( in addAudioSource()
/frameworks/base/media/java/android/media/audiopolicy/
DAudioPolicy.java378 .setInternalCapturePreset(MediaRecorder.AudioSource.REMOTE_SUBMIX) in createAudioRecordSink()
/frameworks/base/media/tests/ScoAudioTest/src/com/android/scoaudiotest/
DScoAudioTest.java466 mMediaRecorder.setAudioSource(MediaRecorder.AudioSource.MIC); in setup()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
DCodecTest.java498 mRecorder.setAudioSource(MediaRecorder.AudioSource.MIC); in mediaRecorderRecord()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DCameraStreamer.java1456 mRecorder.setAudioSource(MediaRecorder.AudioSource.CAMCORDER); in createRecorder()

12