/frameworks/base/media/java/android/media/ |
D | MediaRecorder.java | 272 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 …]
|
D | AudioRecordingConfiguration.java | 111 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 …]
|
D | AudioAttributes.java | 563 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 …]
|
D | AudioRecord.java | 414 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/ |
D | AudioSource.cpp | 40 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/ |
D | AudioSource.h | 37 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/ |
D | RecordClientInfo.aidl | 19 import android.media.audio.common.AudioSource; 31 AudioSource source;
|
D | AudioMixMatchCriterionValue.aidl | 19 import android.media.audio.common.AudioSource; 27 AudioSource source;
|
D | OpenInputRequest.aidl | 21 import android.media.audio.common.AudioSource; 33 AudioSource source;
|
D | IAudioPolicyService.aidl | 55 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()
|
D | IAudioPolicyServiceClient.aidl | 22 import android.media.audio.common.AudioSource; 46 AudioSource source); in onRecordingConfigurationUpdate()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
D | AudioRecordUnitTest.java | 64 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/ |
D | audio_aidl_ndk_conversion_tests.cpp | 48 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/ |
D | AidlConversionCppNdk.cpp | 86 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/ |
D | MediaRecorderTest.java | 82 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/ |
D | Hal2AidlMapper.h | 83 ::aidl::android::media::audio::common::AudioSource source, 175 ::aidl::android::media::audio::common::AudioSource source, 199 ::aidl::android::media::audio::common::AudioSource source,
|
D | Hal2AidlMapper.cpp | 51 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()
|
D | EffectsFactoryHalAidl.cpp | 45 using ::aidl::android::media::audio::common::AudioSource; 305 AudioSource aidlType = in getProcessings()
|
/frameworks/base/core/java/android/service/voice/ |
D | HotwordDetectionService.java | 132 @interface AudioSource {} annotation in HotwordDetectionService 184 @AudioSource int audioSource,
|
/frameworks/av/services/audiopolicy/service/ |
D | AudioPolicyService.h | 61 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/ |
D | StagefrightRecorder.h | 44 struct AudioSource; 108 sp<AudioSource> mAudioSourceNode;
|
/frameworks/base/media/java/android/media/musicrecognition/ |
D | RecognitionRequest.java | 91 private int mCaptureSession = MediaRecorder.AudioSource.MIC;
|
/frameworks/av/cmds/stagefright/ |
D | audioloop.cpp | 117 source = new AudioSource( in main()
|
/frameworks/av/services/audiopolicy/fuzzer/ |
D | README.md | 36 | `AudioSource` | 14 values of type `audio_source_t` | Value chosen from valid values by obtaining …
|
/frameworks/av/media/libaudioclient/tests/ |
D | audioclient_serialization_tests.cpp | 66 getFlags<audio_source_t, xsd::AudioSource, decltype(audio_source_from_string)>( 67 xsdc_enum_range<xsd::AudioSource>{}, audio_source_from_string);
|