Home
last modified time | relevance | path

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

/aosp12/frameworks/av/media/libaudiofoundation/
H A 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()
46 static const DeviceTypeSet audioDeviceOutAllUsbSet = DeviceTypeSet( in getAudioDeviceOutAllUsbSet()
52 const DeviceTypeSet& getAudioDeviceInAllSet() { in getAudioDeviceInAllSet()
53 static const DeviceTypeSet audioDeviceInAllSet = DeviceTypeSet( in getAudioDeviceInAllSet()
59 const DeviceTypeSet& getAudioDeviceInAllUsbSet() { in getAudioDeviceInAllUsbSet()
[all …]
H A DAudioDeviceTypeAddr.cpp125 DeviceTypeSet getAudioDeviceTypes(const AudioDeviceTypeAddrVector& deviceTypeAddrs) { in getAudioDeviceTypes()
126 DeviceTypeSet deviceTypes; in getAudioDeviceTypes()
/aosp12/frameworks/av/media/libaudiofoundation/include/media/
H A DAudioContainers.h31 using DeviceTypeSet = std::set<audio_devices_t>; variable
37 const DeviceTypeSet& getAudioDeviceOutAllSet();
38 const DeviceTypeSet& getAudioDeviceOutAllA2dpSet();
39 const DeviceTypeSet& getAudioDeviceOutAllScoSet();
40 const DeviceTypeSet& getAudioDeviceOutAllUsbSet();
41 const DeviceTypeSet& getAudioDeviceInAllSet();
42 const DeviceTypeSet& getAudioDeviceInAllUsbSet();
82 static inline bool isSingleDeviceType(const DeviceTypeSet& deviceTypes, in isSingleDeviceType()
116 DeviceTypeSet deviceTypes; in deviceTypesFromBitMask()
135 std::string dumpDeviceTypes(const DeviceTypeSet& deviceTypes);
[all …]
H A DAudioDeviceTypeAddr.h76 DeviceTypeSet getAudioDeviceTypes(const AudioDeviceTypeAddrVector& deviceTypeAddrs);
/aosp12/frameworks/av/services/audiopolicy/engine/common/include/
H A DProductStrategy.h85 void setDeviceTypes(const DeviceTypeSet& devices) in setDeviceTypes()
90 DeviceTypeSet getDeviceTypes() const { return mApplicableDevices; } in getDeviceTypes()
117 DeviceTypeSet mApplicableDevices;
153 DeviceTypeSet getDeviceTypesForProductStrategy(product_strategy_t strategy) const;
H A DVolumeCurve.h94 virtual int getVolumeIndex(const DeviceTypeSet& deviceTypes) const in getVolumeIndex()
/aosp12/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
H A DIOProfile.h106 bool supportsDeviceTypes(const DeviceTypeSet& deviceTypes) const in supportsDeviceTypes()
119 std::string getTag(const DeviceTypeSet& deviceTypes) const in getTag()
139 return supportsDeviceTypes(DeviceTypeSet({device->type()}));
144 bool devicesSupportEncodedFormats(DeviceTypeSet deviceTypes) const in devicesSupportEncodedFormats()
H A DDeviceDescriptor.h130 DeviceTypeSet types() const { return mDeviceTypes; }
136 DeviceVector getDevicesFromTypes(const DeviceTypeSet& types) const;
179 bool containsDeviceAmongTypes(const DeviceTypeSet& deviceTypes) const {
292 DeviceTypeSet mDeviceTypes;
H A DAudioOutputDescriptor.h160 virtual bool isFixedVolume(const DeviceTypeSet& deviceTypes);
163 const DeviceTypeSet& deviceTypes,
340 virtual bool devicesSupportEncodedFormats(const DeviceTypeSet& deviceTypes);
345 virtual bool isFixedVolume(const DeviceTypeSet& deviceTypes);
357 const DeviceTypeSet& device,
442 const DeviceTypeSet& deviceTypes,
H A DIVolumeCurves.h37 virtual int getVolumeIndex(const DeviceTypeSet& device) const = 0;
/aosp12/frameworks/av/services/audiopolicy/common/include/
H A DVolume.h88 static audio_devices_t getDeviceForVolume(const android::DeviceTypeSet& deviceTypes) in getDeviceForVolume()
117 static device_category getDeviceCategory(const android::DeviceTypeSet& deviceTypes) in getDeviceCategory()
H A Dpolicy.h211 const android::DeviceTypeSet& deviceTypes) { in apm_extract_one_audio_device()
/aosp12/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DAudioOutputDescriptor.cpp36 static const DeviceTypeSet& getAllOutRemoteDevices() { in getAllOutRemoteDevices()
37 static const DeviceTypeSet allOutRemoteDevices = {AUDIO_DEVICE_OUT_REMOTE_SUBMIX}; in getAllOutRemoteDevices()
153 bool AudioOutputDescriptor::isFixedVolume(const DeviceTypeSet& deviceTypes __unused) in isFixedVolume()
161 const DeviceTypeSet& deviceTypes, in setVolume()
360 bool SwAudioOutputDescriptor::devicesSupportEncodedFormats(const DeviceTypeSet& deviceTypes) in devicesSupportEncodedFormats()
399 bool SwAudioOutputDescriptor::isFixedVolume(const DeviceTypeSet& deviceTypes) in isFixedVolume()
440 const DeviceTypeSet& deviceTypes, in setVolume()
703 const DeviceTypeSet& deviceTypes, in setVolume()
H A DDeviceDescriptor.cpp369 DeviceVector DeviceVector::getDevicesFromTypes(const DeviceTypeSet& types) const in getDevicesFromTypes()
/aosp12/frameworks/av/services/audiopolicy/managerdefault/
H A DAudioPolicyManager.h182 const DeviceTypeSet& deviceTypes) const;
489 const DeviceTypeSet& deviceTypes);
499 DeviceTypeSet deviceTypes,
504 const DeviceTypeSet& deviceTypes,
520 DeviceTypeSet deviceTypes = DeviceTypeSet());
535 DeviceTypeSet deviceTypes = DeviceTypeSet());
H A DAudioPolicyManager.cpp2730 DeviceTypeSet deviceTypes = {device}; in getStreamVolumeIndex()
2760 DeviceTypeSet curSrcDevices; in setVolumeIndexForAttributes()
2785 DeviceTypeSet curDevices = desc->devices().types(); in setVolumeIndexForAttributes()
2893 DeviceTypeSet deviceTypes = {device}; in getVolumeIndexForAttributes()
2895 DeviceTypeSet deviceTypes = mEngine->getOutputDevicesForAttributes( in getVolumeIndexForAttributes()
6601 const DeviceTypeSet& deviceTypes) in computeVolume()
6681 DeviceTypeSet musicDevice = in computeVolume()
6747 DeviceTypeSet deviceTypes, in checkAndSetVolume()
6805 const DeviceTypeSet& deviceTypes, in applyStreamVolumes()
6822 DeviceTypeSet deviceTypes) in setStrategyMute()
[all …]
/aosp12/frameworks/av/services/audiopolicy/engineconfigurable/src/
H A DEngine.cpp218 DeviceTypeSet availableOutputDevicesTypes = availableOutputDevices.types(); in getDevicesForProductStrategy()
230 DeviceTypeSet deviceTypes; in getDevicesForProductStrategy()
/aosp12/frameworks/av/services/audiopolicy/engine/common/src/
H A DProductStrategy.cpp248 DeviceTypeSet ProductStrategyMap::getDeviceTypesForProductStrategy( in getDeviceTypesForProductStrategy()
/aosp12/frameworks/av/services/audioflinger/
H A DThreads.h372 const DeviceTypeSet outDeviceTypes() const { in outDeviceTypes()
376 DeviceTypeSet getDeviceTypes() const { in getDeviceTypes()
377 return isOutput() ? outDeviceTypes() : DeviceTypeSet({inDeviceType()}); in getDeviceTypes()
H A DAudioFlinger.h780 DeviceTypeSet primaryOutputDevice_l() const;
H A DAudioFlinger.cpp3371 DeviceTypeSet AudioFlinger::primaryOutputDevice_l() const in primaryOutputDevice_l()
3376 return DeviceTypeSet(); in primaryOutputDevice_l()
H A DThreads.cpp775 const DeviceTypeSet oldDevices = getDeviceTypes(); in processConfigEvents_l()
779 const DeviceTypeSet newDevices = getDeviceTypes(); in processConfigEvents_l()
785 const DeviceTypeSet oldDevices = getDeviceTypes(); in processConfigEvents_l()
789 const DeviceTypeSet newDevices = getDeviceTypes(); in processConfigEvents_l()