Home
last modified time | relevance | path

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

123

/frameworks/base/media/java/android/media/
DMediaRecorder.java272 public final class AudioSource { class in MediaRecorder
274 private AudioSource() {} in AudioSource() method in MediaRecorder.AudioSource
426 AudioSource.DEFAULT,
427 AudioSource.MIC,
428 AudioSource.VOICE_UPLINK,
429 AudioSource.VOICE_DOWNLINK,
430 AudioSource.VOICE_CALL,
431 AudioSource.CAMCORDER,
432 AudioSource.VOICE_RECOGNITION,
433 AudioSource.VOICE_COMMUNICATION,
[all …]
DAudioRecordingConfiguration.java111 false /*clientSilenced*/, MediaRecorder.AudioSource.DEFAULT /*deviceSource*/, in AudioRecordingConfiguration()
170 MediaRecorder.AudioSource.DEFAULT,
171 MediaRecorder.AudioSource.MIC,
172 MediaRecorder.AudioSource.VOICE_UPLINK,
173 MediaRecorder.AudioSource.VOICE_DOWNLINK,
174 MediaRecorder.AudioSource.VOICE_CALL,
175 MediaRecorder.AudioSource.CAMCORDER,
176 MediaRecorder.AudioSource.VOICE_RECOGNITION,
177 MediaRecorder.AudioSource.VOICE_COMMUNICATION,
178 MediaRecorder.AudioSource.UNPROCESSED,
[all …]
DAudioAttributes.java563 private int mSource = MediaRecorder.AudioSource.AUDIO_SOURCE_INVALID;
766 private int mSource = MediaRecorder.AudioSource.AUDIO_SOURCE_INVALID;
860 if (mSource == MediaRecorder.AudioSource.VOICE_COMMUNICATION in build()
861 || mSource == MediaRecorder.AudioSource.CAMCORDER) { in build()
878 if (mSource != MediaRecorder.AudioSource.VOICE_RECOGNITION in build()
1246 case MediaRecorder.AudioSource.DEFAULT: in setCapturePreset()
1247 case MediaRecorder.AudioSource.MIC: in setCapturePreset()
1248 case MediaRecorder.AudioSource.CAMCORDER: in setCapturePreset()
1249 case MediaRecorder.AudioSource.VOICE_RECOGNITION: in setCapturePreset()
1250 case MediaRecorder.AudioSource.VOICE_COMMUNICATION: in setCapturePreset()
[all …]
DAudioRecord.java414 if (attributes.getCapturePreset() == MediaRecorder.AudioSource.REMOTE_SUBMIX) { in AudioRecord()
632 if ( (source < MediaRecorder.AudioSource.DEFAULT) || in setAudioSource()
670 if (attributes.getCapturePreset() == MediaRecorder.AudioSource.AUDIO_SOURCE_INVALID) { in setAudioAttributes()
1008 .setInternalCapturePreset(MediaRecorder.AudioSource.DEFAULT) in build()
1014 .setInternalCapturePreset(MediaRecorder.AudioSource.VOICE_RECOGNITION) in build()
1022 if (source == MediaRecorder.AudioSource.REMOTE_SUBMIX in build()
1023 || source == MediaRecorder.AudioSource.RADIO_TUNER in build()
1024 || source == MediaRecorder.AudioSource.VOICE_DOWNLINK in build()
1025 || source == MediaRecorder.AudioSource.VOICE_UPLINK in build()
1026 || source == MediaRecorder.AudioSource.VOICE_CALL in build()
[all …]
/frameworks/av/media/libstagefright/
DAudioSource.cpp40 void AudioSource::onOverrun() { in onOverrun()
44 AudioSource::AudioSource( in AudioSource() function in android::AudioSource
55 AudioSource::AudioSource( in AudioSource() function in android::AudioSource
72 void AudioSource::set( in set()
141 AudioSource::~AudioSource() { in ~AudioSource()
147 status_t AudioSource::initCheck() const { in initCheck()
151 status_t AudioSource::start(MetaData *params) { in start()
180 void AudioSource::releaseQueuedFrames_l() { in releaseQueuedFrames_l()
190 void AudioSource::waitOutstandingEncodingFrames_l() { in waitOutstandingEncodingFrames_l()
197 status_t AudioSource::reset() { in reset()
[all …]
/frameworks/av/media/libstagefright/include/media/stagefright/
DAudioSource.h37 struct AudioSource : public MediaSource, struct
42 AudioSource(
53 AudioSource(
92 virtual ~AudioSource();
149 AudioSource(const AudioSource &); argument
150 AudioSource &operator=(const AudioSource &); argument
/frameworks/av/media/libaudioclient/aidl/android/media/
DRecordClientInfo.aidl19 import android.media.audio.common.AudioSource;
31 AudioSource source;
DAudioMixMatchCriterionValue.aidl19 import android.media.audio.common.AudioSource;
27 AudioSource source;
DOpenInputRequest.aidl21 import android.media.audio.common.AudioSource;
33 AudioSource source;
DIAudioPolicyService.aidl55 import android.media.audio.common.AudioSource;
167 boolean isSourceActive(AudioSource source); in isSourceActive()
182 AudioSource source); in addSourceDefaultEffect()
369 void setDevicesRoleForCapturePreset(AudioSource audioSource, in setDevicesRoleForCapturePreset()
373 void addDevicesRoleForCapturePreset(AudioSource audioSource, in addDevicesRoleForCapturePreset()
377 void removeDevicesRoleForCapturePreset(AudioSource audioSource, in removeDevicesRoleForCapturePreset()
381 void clearDevicesRoleForCapturePreset(AudioSource audioSource, in clearDevicesRoleForCapturePreset()
384 AudioDevice[] getDevicesForRoleAndCapturePreset(AudioSource audioSource, in getDevicesForRoleAndCapturePreset()
DIAudioPolicyServiceClient.aidl22 import android.media.audio.common.AudioSource;
46 AudioSource source); in onRecordingConfigurationUpdate()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DAudioRecordUnitTest.java64 MediaRecorder.AudioSource.DEFAULT).setAudioFormat( in testBuilderConstructionWithContext_defaultDeviceExplicitSessionId()
82 MediaRecorder.AudioSource.DEFAULT).setAudioFormat( in testBuilderConstructionWithContext_virtualDeviceDefaultAudioPolicy()
99 MediaRecorder.AudioSource.DEFAULT).setAudioFormat( in testBuilderConstructionWithContext_virtualDeviceCustomAudioPolicy()
118 MediaRecorder.AudioSource.DEFAULT).setAudioSource( in testBuilderConstructionWithContext_virtualDeviceSetSessionIdOverridesContext()
119 MediaRecorder.AudioSource.DEFAULT).setBufferSizeInBytes( in testBuilderConstructionWithContext_virtualDeviceSetSessionIdOverridesContext()
/frameworks/av/media/audioaidlconversion/tests/
Daudio_aidl_ndk_conversion_tests.cpp48 using aidl::android::media::audio::common::AudioSource;
74 const RecordTrackMetadata initial{ .source = AudioSource::DEFAULT }; in TEST()
83 RecordTrackMetadata initial{ .source = AudioSource::DEFAULT }; in TEST()
/frameworks/av/media/audioaidlconversion/
DAidlConversionCppNdk.cpp86 using media::audio::common::AudioSource;
1596 AudioSource aidl) { in aidl2legacy_AudioSource_audio_source_t()
1598 case AudioSource::SYS_RESERVED_INVALID: in aidl2legacy_AudioSource_audio_source_t()
1600 case AudioSource::DEFAULT: in aidl2legacy_AudioSource_audio_source_t()
1602 case AudioSource::MIC: in aidl2legacy_AudioSource_audio_source_t()
1604 case AudioSource::VOICE_UPLINK: in aidl2legacy_AudioSource_audio_source_t()
1606 case AudioSource::VOICE_DOWNLINK: in aidl2legacy_AudioSource_audio_source_t()
1608 case AudioSource::VOICE_CALL: in aidl2legacy_AudioSource_audio_source_t()
1610 case AudioSource::CAMCORDER: in aidl2legacy_AudioSource_audio_source_t()
1612 case AudioSource::VOICE_RECOGNITION: in aidl2legacy_AudioSource_audio_source_t()
[all …]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/mediarecorder/
DMediaRecorderTest.java82 mRecorder.setAudioSource(MediaRecorder.AudioSource.MIC); in recordVideo()
131 recorder.setAudioSource(MediaRecorder.AudioSource.MIC); in validateGetSurface()
232 recorder.setAudioSource(MediaRecorder.AudioSource.MIC); in recordVideoFromSurface()
343 mMediaRecorder.setAudioSource(MediaRecorder.AudioSource.MIC); in recordVideoWithPara()
374 mRecorder.setAudioSource(MediaRecorder.AudioSource.MIC); in invalidRecordSetting()
/frameworks/av/media/libaudiohal/impl/
DHal2AidlMapper.h83 ::aidl::android::media::audio::common::AudioSource source,
175 ::aidl::android::media::audio::common::AudioSource source,
199 ::aidl::android::media::audio::common::AudioSource source,
DHal2AidlMapper.cpp51 using aidl::android::media::audio::common::AudioSource;
368 AudioSource source, const std::set<int32_t>& destinationPortIds, in findOrCreateMixPortConfig()
405 && source != AudioSource::SYS_RESERVED_INVALID) { in findOrCreateMixPortConfig()
421 source != AudioSource::SYS_RESERVED_INVALID) { in findOrCreateMixPortConfig()
449 AudioSource source = requestedPortConfig.ext.get<Tag::mix>().usecase.getTag() == in findOrCreatePortConfig()
452 get<AudioPortMixExtUseCase::Tag::source>() : AudioSource::SYS_RESERVED_INVALID; in findOrCreatePortConfig()
775 AudioSource source, Cleanups* cleanups, AudioConfig* config, in prepareToOpenStream()
818 const AudioIoFlags& flags, AudioSource source, const AudioConfig& initialConfig, in prepareToOpenStreamHelper()
DEffectsFactoryHalAidl.cpp45 using ::aidl::android::media::audio::common::AudioSource;
305 AudioSource aidlType = in getProcessings()
/frameworks/base/core/java/android/service/voice/
DHotwordDetectionService.java132 @interface AudioSource {} annotation in HotwordDetectionService
184 @AudioSource int audioSource,
/frameworks/av/services/audiopolicy/service/
DAudioPolicyService.h61 using media::audio::common::AudioSource;
168 binder::Status isSourceActive(AudioSource source, bool* _aidl_return) override;
175 AudioSource source,
274 AudioSource audioSource,
278 AudioSource audioSource,
282 AudioSource audioSource,
285 binder::Status clearDevicesRoleForCapturePreset(AudioSource audioSource,
288 AudioSource audioSource,
/frameworks/av/media/libmediaplayerservice/
DStagefrightRecorder.h44 struct AudioSource;
108 sp<AudioSource> mAudioSourceNode;
/frameworks/base/media/java/android/media/musicrecognition/
DRecognitionRequest.java91 private int mCaptureSession = MediaRecorder.AudioSource.MIC;
/frameworks/av/cmds/stagefright/
Daudioloop.cpp117 source = new AudioSource( in main()
/frameworks/av/services/audiopolicy/fuzzer/
DREADME.md36 | `AudioSource` | 14 values of type `audio_source_t` | Value chosen from valid values by obtaining …
/frameworks/av/media/libaudioclient/tests/
Daudioclient_serialization_tests.cpp66 getFlags<audio_source_t, xsd::AudioSource, decltype(audio_source_from_string)>(
67 xsdc_enum_range<xsd::AudioSource>{}, audio_source_from_string);

123