Home
last modified time | relevance | path

Searched refs:audio_source_t (Results 1 – 25 of 75) sorted by relevance

123

/frameworks/av/services/audiopolicy/engineconfigurable/src/
DInputSource.h29 class Element<audio_source_t>
53 status_t setIdentifier(audio_source_t identifier);
58 audio_source_t getIdentifier() const { return mIdentifier; } in getIdentifier()
78 audio_source_t mIdentifier = AUDIO_SOURCE_DEFAULT;
83 typedef Element<audio_source_t> InputSource;
DInputSource.cpp26 status_t Element<audio_source_t>::setIdentifier(audio_source_t identifier) in setIdentifier()
47 status_t Element<audio_source_t>::set(audio_devices_t devices) in set()
66 audio_devices_t Element<audio_source_t>::get<audio_devices_t>() const in get()
DEngine.h76 status_t addInputSource(const std::string &name, audio_source_t source) override in addInputSource()
78 return add<audio_source_t>(name, source); in addInputSource()
83 bool setDeviceForInputSource(const audio_source_t &inputSource, audio_devices_t device) override in setDeviceForInputSource()
85 return setPropertyForKey<audio_devices_t, audio_source_t>(device, inputSource); in setDeviceForInputSource()
DCollection.h148 struct Collection<audio_source_t>::collectionSupported {};
151 typedef Collection<audio_source_t> InputSourceCollection;
DEngine.cpp51 InputSourceCollection &Engine::getCollection<audio_source_t>() in getCollection()
62 const InputSourceCollection &Engine::getCollection<audio_source_t>() const in getCollection()
336 audio_devices_t deviceType = getPropertyForKey<audio_devices_t, audio_source_t>(attr.source); in getInputDeviceForAttributes()
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioInputDescriptor.h81 bool isSourceActive(audio_source_t source) const;
82 audio_source_t source() const;
98 audio_source_t source,
111 audio_source_t source = AUDIO_SOURCE_DEFAULT, bool preferredDeviceOnly = false) const;
145 bool isSourceActive(audio_source_t source) const;
DClientDescriptor.h153 audio_source_t source, audio_input_flags_t flags, bool isSoundTrigger) : in RecordClientDescriptor()
163 audio_source_t source() const { return mSource; } in source()
175 const audio_source_t mSource;
/frameworks/av/services/audiopolicy/engineconfigurable/interface/
DAudioPolicyPluginInterface.h63 virtual android::status_t addInputSource(const std::string &name, audio_source_t id) = 0;
84 virtual bool setDeviceForInputSource(const audio_source_t &inputSource,
/frameworks/av/media/libaudioclient/include/media/
DIAudioPolicyServiceClient.h37 audio_source_t source;
67 audio_source_t source) = 0;
DAudioPolicy.h67 AudioMixMatchCriterion(audio_usage_t usage, audio_source_t source, uint32_t rule);
74 audio_source_t mSource;
DAudioRecord.h185 AudioRecord(audio_source_t inputSource,
227 status_t set(audio_source_t inputSource,
266 audio_source_t inputSource() const { return mAttributes.source; } in inputSource()
/frameworks/av/services/audiopolicy/service/
DAudioPolicyEffects.h63 audio_source_t inputSource,
92 audio_source_t source,
223 static audio_source_t inputSourceNameToEnum(const char *name);
258 KeyedVector< audio_source_t, EffectDescVector* > mInputSources;
DAudioPolicyService.h143 virtual bool isSourceActive(audio_source_t source) const;
152 audio_source_t source,
299 audio_source_t source);
307 audio_source_t source);
350 static bool isPrivacySensitiveSource(audio_source_t source);
351 static bool isVirtualSource(audio_source_t source);
497 audio_source_t source);
596 audio_source_t mSource;
662 audio_source_t source,
716 audio_source_t source);
[all …]
DAudioPolicyClientImpl.cpp103 audio_source_t source, in openInput()
225 audio_source_t source) in onRecordingConfigurationUpdate()
DAudioPolicyEffects.cpp92 audio_source_t inputSource, in addInputEffects()
98 audio_source_t aliasSource = (inputSource == AUDIO_SOURCE_HOTWORD) ? in addInputEffects()
327 audio_source_t source, in addSourceDefaultEffect()
545 /*static*/ audio_source_t AudioPolicyEffects::inputSourceNameToEnum(const char *name) in inputSourceNameToEnum()
554 return (audio_source_t)i; in inputSourceNameToEnum()
819 audio_source_t source = inputSourceNameToEnum(node->name); in loadInputEffectConfigurations()
/frameworks/av/media/libaudioclient/
DIAudioPolicyServiceClient.cpp56 clientInfo->source = (audio_source_t) data.readInt32(); in readRecordClientInfoFromParcel()
139 audio_source_t source) { in onRecordingConfigurationUpdate()
200 audio_source_t source = (audio_source_t) data.readInt32(); in onTransact()
DAudioPolicy.cpp28 audio_source_t source, in AudioMixMatchCriterion()
50 mValue.mSource = (audio_source_t) parcel->readInt32(); in readFromParcel()
DAudioAttributes.cpp32 mAttributes.source = static_cast<audio_source_t>(parcel->readInt32()); in readFromParcel()
/frameworks/av/services/audiopolicy/tests/
DAudioPolicyTestClient.h49 audio_source_t /*source*/, in openInput() argument
85 audio_source_t source __unused) override { } in onRecordingConfigurationUpdate()
/frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/plugin/
DInputSource.h46 audio_source_t mId; /**< input source identifier to link with audio.h. */
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioInputDescriptor.cpp51 audio_source_t AudioInputDescriptor::source() const in source()
127 bool AudioInputDescriptor::isSourceActive(audio_source_t source) const in isSourceActive()
211 audio_source_t source, in open()
406 RecordClientVector AudioInputDescriptor::clientsList(bool activeOnly, audio_source_t source, in clientsList()
526 bool AudioInputCollection::isSourceActive(audio_source_t source) const in isSourceActive()
/frameworks/av/services/audiopolicy/
DAudioPolicyInterface.h204 virtual bool isSourceActive(audio_source_t source) const = 0;
337 audio_source_t source,
398 audio_source_t source) = 0;
/frameworks/av/media/libeffects/config/include/media/
DEffectsConfig.h72 using InputStream = Stream<audio_source_t>;
/frameworks/av/services/audiopolicy/enginedefault/src/
DEngine.h83 sp<DeviceDescriptor> getDeviceForInputSource(audio_source_t inputSource) const;
/frameworks/av/media/libaaudio/src/utility/
DAAudioUtilities.cpp205 audio_source_t AAudioConvert_inputPresetToAudioSource(aaudio_input_preset_t preset) { in AAudioConvert_inputPresetToAudioSource()
218 return (audio_source_t) preset; // same value in AAudioConvert_inputPresetToAudioSource()

123