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.h113 DeviceTypeSet types() const { return mDeviceTypes; } in types()
119 DeviceVector getDevicesFromTypes(const DeviceTypeSet& types) const;
149 bool containsDeviceAmongTypes(const DeviceTypeSet& deviceTypes) const { in containsDeviceAmongTypes()
253 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,
333 virtual bool devicesSupportEncodedFormats(const DeviceTypeSet& deviceTypes);
336 virtual bool isFixedVolume(const DeviceTypeSet& deviceTypes);
348 const DeviceTypeSet& device,
422 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.h179 const DeviceTypeSet& deviceTypes) const;
436 const DeviceTypeSet& deviceTypes);
446 DeviceTypeSet deviceTypes,
451 const DeviceTypeSet& deviceTypes,
467 DeviceTypeSet deviceTypes = DeviceTypeSet());
482 DeviceTypeSet deviceTypes = DeviceTypeSet());
DAudioPolicyManager.cpp2460 DeviceTypeSet deviceTypes = {device}; in getStreamVolumeIndex()
2490 DeviceTypeSet curSrcDevices; in setVolumeIndexForAttributes()
2515 DeviceTypeSet curDevices = desc->devices().types(); in setVolumeIndexForAttributes()
2623 DeviceTypeSet deviceTypes = {device}; in getVolumeIndexForAttributes()
2625 DeviceTypeSet deviceTypes = mEngine->getOutputDevicesForAttributes( in getVolumeIndexForAttributes()
2633 const DeviceTypeSet& deviceTypes) const in getVolumeIndex()
4604 applyStreamVolumes(outputDesc, DeviceTypeSet(), 0 /* delayMs */, true /* force */); in addOutput()
5451 setVolumeSourceMute(ttsVolumeSource, mute/*on*/, desc, 0 /*delay*/, DeviceTypeSet()); in setBeaconMute()
5770 const DeviceTypeSet& deviceTypes) in computeVolume()
5849 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() argument
341 bool SwAudioOutputDescriptor::devicesSupportEncodedFormats(const DeviceTypeSet& deviceTypes) in devicesSupportEncodedFormats()
370 bool SwAudioOutputDescriptor::isFixedVolume(const DeviceTypeSet& deviceTypes) in isFixedVolume()
412 const DeviceTypeSet& deviceTypes, in setVolume()
654 const DeviceTypeSet& deviceTypes, in setVolume()
DDeviceDescriptor.cpp298 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.h318 const DeviceTypeSet outDeviceTypes() const { in outDeviceTypes()
322 DeviceTypeSet getDeviceTypes() const { in getDeviceTypes()
323 return isOutput() ? outDeviceTypes() : DeviceTypeSet({inDeviceType()}); in getDeviceTypes()
DAudioFlinger.h739 DeviceTypeSet primaryOutputDevice_l() const;
DAudioFlinger.cpp3223 DeviceTypeSet AudioFlinger::primaryOutputDevice_l() const in primaryOutputDevice_l()
3228 return DeviceTypeSet(); in primaryOutputDevice_l()
DThreads.cpp697 const DeviceTypeSet oldDevices = getDeviceTypes(); in processConfigEvents_l()
701 const DeviceTypeSet newDevices = getDeviceTypes(); in processConfigEvents_l()
707 const DeviceTypeSet oldDevices = getDeviceTypes(); in processConfigEvents_l()
711 const DeviceTypeSet newDevices = getDeviceTypes(); in processConfigEvents_l()