Home
last modified time | relevance | path

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

1234

/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()
48 status_t Element<audio_source_t>::set(audio_devices_t devices) in set()
61 audio_devices_t Element<audio_source_t>::get<audio_devices_t>() const in get()
DEngine.h78 status_t addInputSource(const std::string &name, audio_source_t source) override in addInputSource()
80 return add<audio_source_t>(name, source); in addInputSource()
85 bool setDeviceForInputSource(const audio_source_t &inputSource, uint64_t device) override;
DCollection.h148 struct Collection<audio_source_t>::collectionSupported {};
151 typedef Collection<audio_source_t> InputSourceCollection;
DEngine.cpp53 InputSourceCollection &Engine::getCollection<audio_source_t>() in getCollection()
64 const InputSourceCollection &Engine::getCollection<audio_source_t>() const in getCollection()
344 audio_devices_t deviceType = getPropertyForKey<audio_devices_t, audio_source_t>(attr.source); in getInputDeviceForAttributes()
389 bool Engine::setDeviceForInputSource(const audio_source_t &inputSource, uint64_t device) in setDeviceForInputSource()
395 return setPropertyForKey<audio_devices_t, audio_source_t>(deviceType, inputSource); in setDeviceForInputSource()
/frameworks/av/services/audiopolicy/engine/interface/
DEngineInterface.h40 std::map<std::pair<audio_source_t, device_role_t>, AudioDeviceTypeAddrVector>;
361 virtual status_t setDevicesRoleForCapturePreset(audio_source_t audioSource, device_role_t role,
376 virtual status_t addDevicesRoleForCapturePreset(audio_source_t audioSource, device_role_t role,
389 virtual status_t removeDevicesRoleForCapturePreset(audio_source_t audioSource,
400 virtual status_t clearDevicesRoleForCapturePreset(audio_source_t audioSource,
414 virtual status_t getDevicesForRoleAndCapturePreset(audio_source_t audioSource,
/frameworks/av/services/audiopolicy/engine/common/include/
DEngineBase.h139 status_t setDevicesRoleForCapturePreset(audio_source_t audioSource, device_role_t role,
142 status_t addDevicesRoleForCapturePreset(audio_source_t audioSource, device_role_t role,
150 status_t doRemoveDevicesRoleForCapturePreset(audio_source_t audioSource,
154 status_t removeDevicesRoleForCapturePreset(audio_source_t audioSource,
157 status_t clearDevicesRoleForCapturePreset(audio_source_t audioSource,
160 status_t getDevicesForRoleAndCapturePreset(audio_source_t audioSource,
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioInputDescriptor.h81 bool isSourceActive(audio_source_t source) const;
82 audio_source_t source() const;
106 audio_source_t source,
119 audio_source_t source = AUDIO_SOURCE_DEFAULT, bool preferredDeviceOnly = false) const;
154 bool isSourceActive(audio_source_t source) const;
/frameworks/av/media/utils/include/mediautils/
DServiceUtilities.h89 audio_source_t source = AUDIO_SOURCE_DEFAULT);
91 const String16& msg, audio_source_t source);
92 void finishRecording(const AttributionSourceState& attributionSource, audio_source_t source);
111 int32_t getOpForSource(audio_source_t source);
/frameworks/av/services/audiopolicy/engine/common/src/
DEngineBase.cpp484 status_t EngineBase::setDevicesRoleForCapturePreset(audio_source_t audioSource, device_role_t role, in setDevicesRoleForCapturePreset()
487 std::function<bool(audio_source_t)> p = [](audio_source_t audioSource) { in setDevicesRoleForCapturePreset()
494 status_t EngineBase::addDevicesRoleForCapturePreset(audio_source_t audioSource, device_role_t role, in addDevicesRoleForCapturePreset()
528 audio_source_t audioSource, device_role_t role, const AudioDeviceTypeAddrVector& devices) { in removeDevicesRoleForCapturePreset()
532 status_t EngineBase::doRemoveDevicesRoleForCapturePreset(audio_source_t audioSource, in doRemoveDevicesRoleForCapturePreset()
571 status_t EngineBase::clearDevicesRoleForCapturePreset(audio_source_t audioSource, in clearDevicesRoleForCapturePreset()
574 std::function<bool(audio_source_t)> p = [](audio_source_t audioSource) { in clearDevicesRoleForCapturePreset()
581 status_t EngineBase::getDevicesForRoleAndCapturePreset(audio_source_t audioSource, in getDevicesForRoleAndCapturePreset()
584 std::function<bool(audio_source_t)> p = [](audio_source_t audioSource) { in getDevicesForRoleAndCapturePreset()
/frameworks/av/media/utils/fuzzers/
DServiceUtilitiesFuzz.cpp51 audio_source_t source = static_cast<audio_source_t>(data_provider in LLVMFuzzerTestOneInput()
52 .ConsumeIntegral<std::underlying_type_t<audio_source_t>>()); in LLVMFuzzerTestOneInput()
/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/services/audiopolicy/
DAudioPolicyInterface.h233 virtual bool isSourceActive(audio_source_t source) const = 0;
332 virtual status_t setDevicesRoleForCapturePreset(audio_source_t audioSource,
336 virtual status_t addDevicesRoleForCapturePreset(audio_source_t audioSource,
341 audio_source_t audioSource, device_role_t role,
344 virtual status_t clearDevicesRoleForCapturePreset(audio_source_t audioSource,
347 virtual status_t getDevicesForRoleAndCapturePreset(audio_source_t audioSource,
466 audio_source_t source,
532 audio_source_t source) = 0;
/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.h330 audio_source_t source);
338 audio_source_t source);
409 static bool isVirtualSource(audio_source_t source);
416 static bool isAppOpSource(audio_source_t source);
579 audio_source_t source);
684 audio_source_t mSource;
751 audio_source_t source,
805 audio_source_t source);
850 audio_source_t source);
/frameworks/av/media/libaudioclient/include/media/
DAudioPolicy.h70 AudioMixMatchCriterion(audio_usage_t usage, audio_source_t source, uint32_t rule);
77 audio_source_t mSource;
DAudioSystem.h56 audio_source_t source;
78 audio_source_t source);
133 static status_t isSourceActive(audio_source_t source, bool *state);
487 static status_t setDevicesRoleForCapturePreset(audio_source_t audioSource,
490 static status_t addDevicesRoleForCapturePreset(audio_source_t audioSource,
494 audio_source_t audioSource, device_role_t role,
498 audio_source_t audioSource, device_role_t role);
500 static status_t getDevicesForRoleAndCapturePreset(audio_source_t audioSource,
DAudioRecord.h211 AudioRecord(audio_source_t inputSource,
229 AudioRecord(audio_source_t inputSource,
269 status_t set(audio_source_t inputSource,
289 status_t set(audio_source_t inputSource,
329 audio_source_t inputSource() const { return mAttributes.source; } in inputSource()
/frameworks/av/services/audiopolicy/tests/
DAudioPolicyTestClient.h50 audio_source_t /*source*/, in openInput() argument
86 audio_source_t source __unused) override { } in onRecordingConfigurationUpdate()
/frameworks/av/services/audiopolicy/fuzzer/
Daudiopolicy_fuzzer.cpp135 static const std::vector<audio_source_t> kAudioSources = [] { in __anon6238bcf20702()
136 std::vector<audio_source_t> result; in __anon6238bcf20702()
138 audio_source_t audioSourceHal; in __anon6238bcf20702()
519 using PolicyMixTuple = std::tuple<audio_usage_t, audio_source_t, uint32_t>;
646 getValueFromVector<audio_source_t>(mFdp, kAudioSources), in AudioPolicyManagerFuzzerDPPlaybackReRouting()
680 audio_source_t source = getValueFromVector<audio_source_t>(mFdp, kAudioSources); in initialize()
708 attr.source = getValueFromVector<audio_source_t>(mFdp, kAudioSources); in playBackReRouting()
758 getValueFromVector<audio_source_t>(mFdp, kAudioSources), in AudioPolicyManagerFuzzerDPMixRecordInjection()
821 attr.source = getValueFromVector<audio_source_t>(mFdp, kAudioSources); in recordingInjection()
912 attr.source = getValueFromVector<audio_source_t>(mFdp, kAudioSources); in fuzzGetDirectPlaybackSupport()
[all …]
/frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/plugin/
DInputSource.h46 audio_source_t mId; /**< input source identifier to link with audio.h. */
/frameworks/av/media/utils/
DServiceUtilities.cpp71 int32_t getOpForSource(audio_source_t source) { in getOpForSource()
116 const String16& msg, bool start, audio_source_t source) { in checkRecordingInternal()
151 bool recordingAllowed(const AttributionSourceState& attributionSource, audio_source_t source) { in recordingAllowed()
156 audio_source_t source) { in startRecording()
160 void finishRecording(const AttributionSourceState& attributionSource, audio_source_t source) { in finishRecording()
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioInputDescriptor.cpp54 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()
534 bool AudioInputCollection::isSourceActive(audio_source_t source) const in isSourceActive()
/frameworks/av/media/libaudioclient/
DAudioPolicy.cpp28 audio_source_t source, in AudioMixMatchCriterion()
50 mValue.mSource = (audio_source_t) parcel->readInt32(); in readFromParcel()
/frameworks/av/media/libeffects/config/include/media/
DEffectsConfig.h72 using InputStream = Stream<audio_source_t>;

1234