Home
last modified time | relevance | path

Searched refs:DeviceTypeSet (Results 1 – 22 of 22) 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.cpp59 DeviceTypeSet getAudioDeviceTypes(const AudioDeviceTypeAddrVector& deviceTypeAddrs) { in getAudioDeviceTypes()
60 DeviceTypeSet deviceTypes; in getAudioDeviceTypes()
/frameworks/av/media/libaudiofoundation/include/media/
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();
73 static inline bool isSingleDeviceType(const DeviceTypeSet& deviceTypes, in isSingleDeviceType()
79 static inline bool isSingleDeviceType(const DeviceTypeSet& deviceTypes, in isSingleDeviceType()
84 static inline bool areAllOfSameDeviceType(const DeviceTypeSet& deviceTypes, in areAllOfSameDeviceType()
[all …]
DAudioDeviceTypeAddr.h59 DeviceTypeSet getAudioDeviceTypes(const AudioDeviceTypeAddrVector& deviceTypeAddrs);
/frameworks/av/services/audiopolicy/engine/common/include/
DProductStrategy.h82 void setDeviceTypes(const DeviceTypeSet& devices) in setDeviceTypes()
87 DeviceTypeSet getDeviceTypes() const { return mApplicableDevices; } in getDeviceTypes()
114 DeviceTypeSet mApplicableDevices;
149 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/
DDeviceDescriptor.h117 DeviceTypeSet types() const { return mDeviceTypes; } in types()
123 DeviceVector getDevicesFromTypes(const DeviceTypeSet& types) const;
153 bool containsDeviceAmongTypes(const DeviceTypeSet& deviceTypes) const { in containsDeviceAmongTypes()
257 DeviceTypeSet mDeviceTypes;
DIOProfile.h106 bool supportsDeviceTypes(const DeviceTypeSet& deviceTypes) const in supportsDeviceTypes()
126 return supportsDeviceTypes(DeviceTypeSet({device->type()}));
131 bool devicesSupportEncodedFormats(DeviceTypeSet deviceTypes) const in devicesSupportEncodedFormats()
DAudioOutputDescriptor.h160 virtual bool isFixedVolume(const DeviceTypeSet& deviceTypes);
163 const DeviceTypeSet& deviceTypes,
339 virtual bool devicesSupportEncodedFormats(const DeviceTypeSet& deviceTypes);
342 virtual bool isFixedVolume(const DeviceTypeSet& deviceTypes);
354 const DeviceTypeSet& device,
428 const DeviceTypeSet& deviceTypes,
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.h211 const android::DeviceTypeSet& deviceTypes) { in apm_extract_one_audio_device()
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.h180 const DeviceTypeSet& deviceTypes) const;
446 const DeviceTypeSet& deviceTypes);
456 DeviceTypeSet deviceTypes,
461 const DeviceTypeSet& deviceTypes,
477 DeviceTypeSet deviceTypes = DeviceTypeSet());
492 DeviceTypeSet deviceTypes = DeviceTypeSet());
DAudioPolicyManager.cpp2511 DeviceTypeSet deviceTypes = {device}; in getStreamVolumeIndex()
2541 DeviceTypeSet curSrcDevices; in setVolumeIndexForAttributes()
2566 DeviceTypeSet curDevices = desc->devices().types(); in setVolumeIndexForAttributes()
2674 DeviceTypeSet deviceTypes = {device}; in getVolumeIndexForAttributes()
2676 DeviceTypeSet deviceTypes = mEngine->getOutputDevicesForAttributes( in getVolumeIndexForAttributes()
2684 const DeviceTypeSet& deviceTypes) const in getVolumeIndex()
4732 applyStreamVolumes(outputDesc, DeviceTypeSet(), 0 /* delayMs */, true /* force */); in addOutput()
5649 setVolumeSourceMute(ttsVolumeSource, mute/*on*/, desc, 0 /*delay*/, DeviceTypeSet()); in setBeaconMute()
5970 const DeviceTypeSet& deviceTypes) in computeVolume()
6049 DeviceTypeSet musicDevice = in computeVolume()
[all …]
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioOutputDescriptor.cpp36 static const DeviceTypeSet& getAllOutRemoteDevices() { in getAllOutRemoteDevices()
37 static const DeviceTypeSet allOutRemoteDevices = {AUDIO_DEVICE_OUT_REMOTE_SUBMIX}; in getAllOutRemoteDevices()
147 bool AudioOutputDescriptor::isFixedVolume(const DeviceTypeSet& deviceTypes __unused) in isFixedVolume()
155 const DeviceTypeSet& deviceTypes, in setVolume()
347 bool SwAudioOutputDescriptor::devicesSupportEncodedFormats(const DeviceTypeSet& deviceTypes) in devicesSupportEncodedFormats()
376 bool SwAudioOutputDescriptor::isFixedVolume(const DeviceTypeSet& deviceTypes) in isFixedVolume()
418 const DeviceTypeSet& deviceTypes, in setVolume()
660 const DeviceTypeSet& deviceTypes, in setVolume()
DDeviceDescriptor.cpp324 DeviceVector DeviceVector::getDevicesFromTypes(const DeviceTypeSet& types) const in getDevicesFromTypes()
/frameworks/av/services/audiopolicy/engineconfigurable/src/
DEngine.cpp218 DeviceTypeSet availableOutputDevicesTypes = availableOutputDevices.types(); in getDevicesForProductStrategy()
230 DeviceTypeSet deviceTypes; in getDevicesForProductStrategy()
/frameworks/av/services/audiopolicy/engine/common/src/
DProductStrategy.cpp248 DeviceTypeSet ProductStrategyMap::getDeviceTypesForProductStrategy( in getDeviceTypesForProductStrategy()
/frameworks/av/services/audioflinger/
DThreads.h319 const DeviceTypeSet outDeviceTypes() const { in outDeviceTypes()
323 DeviceTypeSet getDeviceTypes() const { in getDeviceTypes()
324 return isOutput() ? outDeviceTypes() : DeviceTypeSet({inDeviceType()}); in getDeviceTypes()
DAudioFlinger.h752 DeviceTypeSet primaryOutputDevice_l() const;
DAudioFlinger.cpp3270 DeviceTypeSet AudioFlinger::primaryOutputDevice_l() const in primaryOutputDevice_l()
3275 return DeviceTypeSet(); in primaryOutputDevice_l()
DThreads.cpp732 const DeviceTypeSet oldDevices = getDeviceTypes(); in processConfigEvents_l()
736 const DeviceTypeSet newDevices = getDeviceTypes(); in processConfigEvents_l()
742 const DeviceTypeSet oldDevices = getDeviceTypes(); in processConfigEvents_l()
746 const DeviceTypeSet newDevices = getDeviceTypes(); in processConfigEvents_l()