Home
last modified time | relevance | path

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

/frameworks/av/media/libaudiofoundation/
DAudioContainers.cpp24 const DeviceTypeSet& getAudioDeviceOutAllSet() { in getAudioDeviceOutAllSet()
25 static const DeviceTypeSet audioDeviceOutAllSet = DeviceTypeSet( in getAudioDeviceOutAllSet()
31 const DeviceTypeSet& getAudioDeviceOutAllA2dpSet() { in getAudioDeviceOutAllA2dpSet()
32 static const DeviceTypeSet audioDeviceOutAllA2dpSet = DeviceTypeSet( in getAudioDeviceOutAllA2dpSet()
38 const DeviceTypeSet& getAudioDeviceOutAllScoSet() { in getAudioDeviceOutAllScoSet()
39 static const DeviceTypeSet audioDeviceOutAllScoSet = DeviceTypeSet( in getAudioDeviceOutAllScoSet()
45 const DeviceTypeSet& getAudioDeviceOutAllUsbSet() { in getAudioDeviceOutAllUsbSet()
46 static const DeviceTypeSet audioDeviceOutAllUsbSet = DeviceTypeSet( in getAudioDeviceOutAllUsbSet()
52 const DeviceTypeSet& getAudioDeviceInAllSet() { in getAudioDeviceInAllSet()
53 static const DeviceTypeSet audioDeviceInAllSet = DeviceTypeSet( in getAudioDeviceInAllSet()
[all …]
DAudioDeviceTypeAddr.cpp131 DeviceTypeSet getAudioDeviceTypes(const AudioDeviceTypeAddrVector& deviceTypeAddrs) { in getAudioDeviceTypes()
132 DeviceTypeSet deviceTypes; in getAudioDeviceTypes()
/frameworks/av/media/libaudiofoundation/include/media/
DAudioContainers.h32 using DeviceTypeSet = std::set<audio_devices_t>; variable
41 const DeviceTypeSet& getAudioDeviceOutAllSet();
42 const DeviceTypeSet& getAudioDeviceOutAllA2dpSet();
43 const DeviceTypeSet& getAudioDeviceOutAllScoSet();
44 const DeviceTypeSet& getAudioDeviceOutAllUsbSet();
45 const DeviceTypeSet& getAudioDeviceInAllSet();
46 const DeviceTypeSet& getAudioDeviceInAllUsbSet();
47 const DeviceTypeSet& getAudioDeviceOutAllBleSet();
48 const DeviceTypeSet& getAudioDeviceOutLeAudioUnicastSet();
49 const DeviceTypeSet& getAudioDeviceOutLeAudioBroadcastSet();
[all …]
DAudioDeviceTypeAddr.h77 DeviceTypeSet getAudioDeviceTypes(const AudioDeviceTypeAddrVector& deviceTypeAddrs);
/frameworks/av/services/audiopolicy/engineconfigurable/wrapper/include/
DParameterManagerWrapper.h110 status_t setAvailableInputDevices(const DeviceTypeSet &inputDeviceTypes);
119 status_t setAvailableOutputDevices(const DeviceTypeSet &outputDeviceTypes);
145 uint64_t convertDeviceTypesToCriterionValue(const DeviceTypeSet &types) const;
147 DeviceTypeSet convertDeviceCriterionValueToDeviceTypes(
/frameworks/av/services/audiopolicy/engine/common/include/
DProductStrategy.h80 void setDeviceTypes(const DeviceTypeSet& devices) in setDeviceTypes()
85 DeviceTypeSet getDeviceTypes() const { return mApplicableDevices; } in getDeviceTypes()
109 DeviceTypeSet mApplicableDevices;
145 DeviceTypeSet getDeviceTypesForProductStrategy(product_strategy_t strategy) const;
DVolumeCurve.h94 virtual int getVolumeIndex(const DeviceTypeSet& deviceTypes) const in getVolumeIndex()
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DIOProfile.h133 bool supportsDeviceTypes(const DeviceTypeSet& deviceTypes) const in supportsDeviceTypes()
146 std::string getTag(const DeviceTypeSet& deviceTypes) const in getTag()
166 return supportsDeviceTypes(DeviceTypeSet({device->type()}));
171 bool devicesSupportEncodedFormats(DeviceTypeSet deviceTypes) const in devicesSupportEncodedFormats()
DAudioOutputDescriptor.h164 virtual bool isFixedVolume(const DeviceTypeSet& deviceTypes);
167 const DeviceTypeSet& deviceTypes,
370 virtual bool devicesSupportEncodedFormats(const DeviceTypeSet& deviceTypes);
375 virtual bool isFixedVolume(const DeviceTypeSet& deviceTypes);
398 const DeviceTypeSet& device, uint32_t delayMs);
402 const DeviceTypeSet& device,
518 const DeviceTypeSet& deviceTypes,
628 bool isAnyDeviceTypeActive(const DeviceTypeSet& deviceTypes) const;
DDeviceDescriptor.h130 DeviceTypeSet types() const { return mDeviceTypes; } in types()
136 DeviceVector getDevicesFromTypes(const DeviceTypeSet& types) const;
179 bool containsDeviceAmongTypes(const DeviceTypeSet& deviceTypes) const { in containsDeviceAmongTypes()
296 DeviceTypeSet mDeviceTypes;
DIVolumeCurves.h37 virtual int getVolumeIndex(const DeviceTypeSet& device) const = 0;
/frameworks/av/services/audiopolicy/common/include/
DVolume.h88 static audio_devices_t getDeviceForVolume(const android::DeviceTypeSet& deviceTypes) in getDeviceForVolume()
117 static device_category getDeviceCategory(const android::DeviceTypeSet& deviceTypes) in getDeviceCategory()
Dpolicy.h219 const android::DeviceTypeSet& deviceTypes) { in apm_extract_one_audio_device()
/frameworks/av/services/audiopolicy/engineconfigurable/wrapper/
DParameterManagerWrapper.cpp314 status_t ParameterManagerWrapper::setAvailableInputDevices(const DeviceTypeSet &types) in setAvailableInputDevices()
327 status_t ParameterManagerWrapper::setAvailableOutputDevices(const DeviceTypeSet &types) in setAvailableOutputDevices()
365 const DeviceTypeSet &types) const { in convertDeviceTypesToCriterionValue()
373 DeviceTypeSet ParameterManagerWrapper::convertDeviceCriterionValueToDeviceTypes( in convertDeviceCriterionValueToDeviceTypes()
375 DeviceTypeSet deviceTypes; in convertDeviceCriterionValueToDeviceTypes()
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.h191 const DeviceTypeSet& deviceTypes) const;
600 int index, const DeviceTypeSet& deviceTypes,
611 DeviceTypeSet deviceTypes,
624 const DeviceTypeSet& deviceTypes,
630 const DeviceTypeSet& deviceTypes,
646 DeviceTypeSet deviceTypes = DeviceTypeSet());
661 DeviceTypeSet deviceTypes = DeviceTypeSet());
961 bool isAnyDeviceTypeActive(const DeviceTypeSet& deviceTypes) const;
1399 const DeviceTypeSet &deviceTypes);
DAudioPolicyManager.cpp632 DeviceTypeSet audioDeviceSet; in getHwOffloadFormatsSupportedForBluetoothMedia()
2361 bool AudioPolicyManager::isAnyDeviceTypeActive(const DeviceTypeSet& deviceTypes) const { in isAnyDeviceTypeActive()
3440 DeviceTypeSet deviceTypes = {device}; in getStreamVolumeIndex()
3475 DeviceTypeSet curSrcDevices; in setVolumeIndexForAttributes()
3501 DeviceTypeSet curDevices = desc->devices().types(); in setVolumeIndexForAttributes()
3628 DeviceTypeSet deviceTypes = {device}; in getVolumeIndexForAttributes()
3638 const DeviceTypeSet& deviceTypes) const in getVolumeIndex()
6694 applyStreamVolumes(outputDesc, DeviceTypeSet(), 0 /* delayMs */, true /* force */); in addOutput()
7663 setVolumeSourceMute(ttsVolumeSource, mute/*on*/, desc, 0 /*delay*/, DeviceTypeSet()); in setBeaconMute()
8039 const DeviceTypeSet &deviceTypes) in adjustDeviceAttenuationForAbsVolume()
[all …]
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioOutputDescriptor.cpp39 static const DeviceTypeSet& getAllOutRemoteDevices() { in getAllOutRemoteDevices()
40 static const DeviceTypeSet allOutRemoteDevices = {AUDIO_DEVICE_OUT_REMOTE_SUBMIX}; in getAllOutRemoteDevices()
156 bool AudioOutputDescriptor::isFixedVolume(const DeviceTypeSet& deviceTypes __unused) in isFixedVolume()
164 const DeviceTypeSet& deviceTypes, in setVolume()
414 bool SwAudioOutputDescriptor::devicesSupportEncodedFormats(const DeviceTypeSet& deviceTypes) in devicesSupportEncodedFormats()
457 bool SwAudioOutputDescriptor::isFixedVolume(const DeviceTypeSet& deviceTypes) in isFixedVolume()
498 const DeviceTypeSet& deviceTypes, uint32_t delayMs) { in setSwMute()
519 const DeviceTypeSet& deviceTypes, in setVolume()
835 const DeviceTypeSet& deviceTypes, in setVolume()
998 bool SwAudioOutputCollection::isAnyDeviceTypeActive(const DeviceTypeSet& deviceTypes) const { in isAnyDeviceTypeActive()
DDeviceDescriptor.cpp381 DeviceVector DeviceVector::getDevicesFromTypes(const DeviceTypeSet& types) const in getDevicesFromTypes()
/frameworks/av/services/audiopolicy/engineconfigurable/src/
DEngine.cpp316 DeviceTypeSet deviceTypes = getProductStrategies().getDeviceTypesForProductStrategy(strategy); in disableDevicesForStrategy()
338 DeviceTypeSet availableOutputDevicesTypes = availableOutputDevices.types(); in getDevicesForProductStrategy()
358 DeviceTypeSet deviceTypes; in getDevicesForProductStrategy()
510 DeviceTypeSet types = in setDeviceTypesForProductStrategy()
518 DeviceTypeSet types = mPolicyParameterMgr->convertDeviceCriterionValueToDeviceTypes( in setDeviceForInputSource()
/frameworks/av/services/audiopolicy/engine/common/src/
DProductStrategy.cpp216 DeviceTypeSet ProductStrategyMap::getDeviceTypesForProductStrategy( in getDeviceTypesForProductStrategy()
/frameworks/av/services/audioflinger/
DIAfThread.h231 virtual const DeviceTypeSet outDeviceTypes_l() const REQUIRES(mutex()) = 0;
233 virtual DeviceTypeSet getDeviceTypes_l() const REQUIRES(mutex()) = 0;
DThreads.h372 const DeviceTypeSet outDeviceTypes_l() const final REQUIRES(mutex()) { in outDeviceTypes_l()
378 DeviceTypeSet getDeviceTypes_l() const final REQUIRES(mutex()) { in getDeviceTypes_l()
379 return isOutput() ? outDeviceTypes_l() : DeviceTypeSet({inDeviceType_l()}); in getDeviceTypes_l()
DAudioFlinger.h579 DeviceTypeSet primaryOutputDevice_l() const REQUIRES(mutex());
DThreads.cpp898 const DeviceTypeSet oldDevices = getDeviceTypes_l(); in processConfigEvents_l()
902 const DeviceTypeSet newDevices = getDeviceTypes_l(); in processConfigEvents_l()
909 const DeviceTypeSet oldDevices = getDeviceTypes_l(); in processConfigEvents_l()
913 const DeviceTypeSet newDevices = getDeviceTypes_l(); in processConfigEvents_l()
DAudioFlinger.cpp3832 DeviceTypeSet AudioFlinger::primaryOutputDevice_l() const in primaryOutputDevice_l()